Multi-Agent Workflow
The Master Agent analyzes your prompt, consults the FermiPy documentation, and writes the YAML configuration and the Python script (analysis.py) with the selected model.
The Validation Agent reviews them when you press Validate: it repairs the YAML where needed, checks the script for safety, correct FermiPy use and fidelity to your request, and proposes changes for you to accept or decline. Run Pipeline then executes exactly the reviewed files, through these levels:
- Pre-flight (L1–L2): the YAML parses and FermiPy builds the analysis (target and ROI model found).
- L3 Setup:
gta.setup() on real Fermi-LAT data, or gta.load_roi() when a task continues a saved fit.
- L4 Fit:
gta.optimize() + gta.fit(), with science checks (target TS, flux vs the 4FGL catalog).
- L5 Products: SED, light curve, maps… The SED and light curve are checked: bins as you asked, usable fluxes and upper limits.
A failed check is reported and explained; when you ask for a fix, the next task continues from the saved fit where possible.