creating lta and trying to output anomalies

i was attempting to output the anomalies in the create lta code, but
there was no easy way to write out to a tif file without arcpy