re-write of FITS output comparison