SAN FRANCISCO — Angel Pagan hit a tiebreaking home run leading off the eighth inning to give San Francisco a 3-2 win over the Los Angeles Dodgers on Thursday in what might have been Tim Lincecum's final outing with the club.
Pagan's fifth home run in an injury-shortened season was surrendered by losing pitcher Paco Rodriguez (3-3).
Lincecum struck out Yasiel Puig three times among his six Ks but missed a win against the NL West champion Dodgers. Santiago Casilla (7-2) earned the victory with a 1-2-3 eighth, while Sergio Romo pitched the ninth for his 38th save.
Lincecum is wrapping up a $40.5 million, two-year contract that paid him $22 million this season. The 29-year-old right-hander allowed two runs and three hits in seven impressive innings.
The Giants took the season series with their rivals 11-8, earning just their third series win at home in the second half in 13 tries.
Braves 7, Phillies 1
At Atlanta, Jason Heyward had a career-high five hits, including a leadoff home run, and Atlanta rode a five-run first inning to a victory over Philadelphia.
Padres 3, Diamondbacks 2,11 innings
At San Diego, Alexi Amarista hit an RBI single in the 11th inning for San Diego.
Arizona's Trevor Cahill, who had won five straight starts, worked 62/3 innings, allowing two runs and five hits.
Brewers 4, Mets 2
At New York, Scooter Gennett capped a four-run second inning with a two-run single and Milwaukee overcame some wild pitching that included the beaning of David Wright.
Royals 3, White Sox 2
At Chicago, Ashland native Jeremy Guthrie pitched seven strong innings, and David Lough hit a two-run homer to lead Kansas City to victory over Chicago.
One day after being eliminated from the postseason, the Royals earned their 84th win, their most since 1993.
Guthrie (15-12) became the Royals' third 15-game winner since 1997. He gave up two runs and four hits, striking out four and allowing one walk. Guthrie already surpassed his career best win total when he won his 12th on Aug. 5 against the Twins.
Indians 6, Twins 5
At Minneapolis, reliever Joe Smith struck out pinch-hitter Oswaldo Arcia to end a ninth-inning rally and Cleveland won its seventh straight game, holding off Minnesota to keep pace in the AL wild-card race.
The Twins scored four runs in the ninth and had runners on first and second before Smith got the final out.
Rangers 6, Angels 5
At Arlington, Texas, pinch-hitter Jurickson Profar homered leading off the ninth inning and Texas overcame a four-error inning to beat Los Angeles and stay in the playoff chase.
Orioles 3, Blue Jays 2
At Baltimore, Miguel Gonzalez pitched seven innings of two-hit ball, Matt Wieters homered and drove in two runs, and Baltimore beat Toronto.
Nick Markakis had two hits and an RBI for the Orioles, who won the season series 10-9. Baltimore is 13-5 at Camden Yards against the Blue Jays since the start of the 2012 season.