the self.output_handle closes after going out of scope, i.e., after it is...
the self.output_handle closes after going out of scope, i.e., after it is established in init, not sure quite why this is happening, but have replaced it with slow opening and closing file every update