wrong default name for the weight image, fixed
Use the system install of cfitsio