Rory McIlroy ended on high after carding a final round 69 to finish one-over-par for the tournament at Bethpage Black.