Added logger to flux_analysis/analysis.py