modified to use x1d from stistools rather than from pyraf
modified to explicitly set path for wavecal in run_calstis_part2, explicitly set oref as an environment variable, and use laptop paths
dividing background fit by exptime when adding into x1d file