updated the flux_analysis test code to run without scipy / numpy and minimal error messages