Pep Guardiola celebrated a 3-0 win in his 1,000th match as a manager as City cut the gap on Premier League leaders Arsenal to four points.