Modified insert_xrayflux_data to work the same as solarsoft