masking of FITS file