merge_fits now works! it appends the tables to a list and then takes that list and stacks all the fits files. it then saves those fits files. I also found that you can easily paste code into ipython with the magic %paste command.`