Angel Pagan hit a tiebreaking home run leading off the eighthinning to give San Francisco a win in what might have been TimLincecum's final outing with the club, and the Giants beat the LosAngeles Dodgers 3-2 on Thursday night.