removed pyfits import to astropy.io