Bryce Harper also connected for the Nationals, who reduced their magic number to three. They have a four-game lead over Atlanta with six to play.
Gonzalez (21-8) settled down after a shaky start and lasted six innings, allowing three runs and six hits. He’s the first NL lefty to win more than 20 games since Dontrelle Willis won 22 for the Florida Marlins in 2005.
Gonzalez and Mets knuckleballer R.A. Dickey (20-6) are considered the leading candidates for the NL Cy Young Award.
The Phillies closed out their home schedule with a loss that left them on the brink of postseason elimination.
They trail St. Louis by six games for the second wild-card spot with six games remaining. They finished 40-41 at home, their first losing record at 9-year-old Citizens Bank Park.
The Nationals already are the first major league team in the nation’s capital to reach the postseason in 79 years. They’re looking for their first division crown since moving to Washington and the second in franchise history.