changed pyfits import to astropy
removed check for CALCOS in cos/misc.py, something was getting a fatal error upon import