Confinement of antihydrogen for 1,000 seconds