Fixed bug where unicode strings were being forced to floats. Temporarily removed mean_flux as output parameter because it was often not pickle-able.