Tim Lincecum allowed 11 baserunners over five, arduous innings but held the Phillies to just two runs, as the Giants took the series with a 5-2 victory.