At some point in the code (probably the conversion from string to astropy.Time) the seconds get set to 0 for all events. That shouldn't happen. Doesn't really impact anything significant but is annoying, so should be fixed.
There is a memory leak somewhere in the code. I don't think it can be matplotlib plots stacking up in the buffer because I call plt.clf() and plt.close('all') numerous times through the code. Also now do a gc.collect() at the end of each event in the loop. None of that fixes the issue.
I have noticed that somewhere I get a warning from PyTables about the size of the table. I think it's referring to the JEDI catalog pandas DataFrame.