I would like to understand how to use Fermipy to simultaneously fit both the shape and spectrum parameters of a single source. Specifically, can this be achieved using localize()? When update=True, does localize() also update the spectrum parameters, or does it only adjust the position of the source?
Additionally, if I set free_background=True, is it possible to free the shape parameters of other sources and fit them using localize() to adjust the coordinates of multiple sources simultaneously?
Dear Fermipy developers,
localize()
? Whenupdate=True
, doeslocalize()
also update the spectrum parameters, or does it only adjust the position of the source?free_background=True
, is it possible to free the shape parameters of other sources and fit them usinglocalize()
to adjust the coordinates of multiple sources simultaneously?Thank you in advance for your assistance.