/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848391', job_status='RUN', time_executed='2026-05-19 03:20:17.418373', time_epoch_executed='1779186017.42' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848391

Creating custom pfile directory:
/lscratch/kocevski/26848391/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848391/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848391/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848391/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.98
user 4.30
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848391/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.94
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DAT/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848409', job_status='RUN', time_executed='2026-05-19 03:21:22.428002', time_epoch_executed='1779186082.43' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848409

Creating custom pfile directory:
/lscratch/kocevski/26848409/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848409/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848409/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848409/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.82
user 4.95
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848409/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.48
user 0.26
sys 0.14

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848405', job_status='RUN', time_executed='2026-05-19 03:21:22.639065', time_epoch_executed='1779186082.64' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848405

Creating custom pfile directory:
/lscratch/kocevski/26848405/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848405/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848405/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848405/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.79
user 4.98
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848405/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.06
user 0.25
sys 0.13

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26848391/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 17.83
user 17.14
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848391/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848391/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848391/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 63.88
user 59.43
sys 3.66

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848391/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.71
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848391/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848503', job_status='RUN', time_executed='2026-05-19 03:22:16.933631', time_epoch_executed='1779186136.93' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848503

Creating custom pfile directory:
/lscratch/kocevski/26848503/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848503/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848503/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848503/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.21
user 4.59
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848503/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.68
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26848409/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 21.21
user 20.26
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848409/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848409/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848409/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 75.85
user 70.39
sys 4.33

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848409/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.96
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848409/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
A" outfile=/lscratch/kocevski/26848405/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 20.53
user 19.50
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848405/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848405/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848405/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 76.53
user 70.34
sys 4.60

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848405/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.06
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848405/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bDone.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848521', job_status='RUN', time_executed='2026-05-19 03:23:16.363255', time_epoch_executed='1779186196.36' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848521

Creating custom pfile directory:
/lscratch/kocevski/26848521/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848521/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848521/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848521/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.45
user 4.67
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848521/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.79
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0413.1-5332_weekly_bin928
RA = 63.2773, Dec = -53.5483
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26848597', job_status='RUN', time_executed='2026-05-19 03:24:16.971077', time_epoch_executed='1779186256.97' WHERE source_name='4FGL J0413.1-5332' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26848597

Creating custom pfile directory:
/lscratch/kocevski/26848597/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26848597/ft1_4FGL_J0413.1-5332_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26848597/ft1_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848597/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits ra=63.2773 dec=-53.5483 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.84
user 4.18
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26848597/ft1_filteredMKT_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.72
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1715

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26848503/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 19.15
user 18.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848503/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848503/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848503/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 71.30
user 66.61
sys 3.92

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848503/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848503/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bA" outfile=/lscratch/kocevski/26848521/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 19.31
user 18.45
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848521/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848521/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848521/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 70.76
user 65.78
sys 4.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848521/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848521/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bA" outfile=/lscratch/kocevski/26848597/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 17.28
user 16.49
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26848597/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848597/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26848597/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
.....................!
real 64.37
user 59.70
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 198 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0413.1-5332 @ 63.2773 -53.5483

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848597/cmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits outfile=/lscratch/kocevski/26848597/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.85
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848391/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 3765.16
user 3739.20
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848391/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848391/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848391/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848391/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848391/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848391/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848391/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848391/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
in928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848503/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 3761.82
user 3737.70
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848503/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848503/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848503/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848503/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848503/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848503/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848503/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848503/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848391/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848391/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:35:34.050822', job_id='26848391', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779190534.05', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:35:34 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
in928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.97
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848597/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 3840.47
user 3813.93
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848597/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848597/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848597/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848597/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848597/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848597/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848597/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848597/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848503/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848503/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:37:48.245088', job_id='26848503', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779190668.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:37:48 PDT 2026


    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
in928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848521/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 3980.37
user 3954.60
sys 1.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848521/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848521/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848521/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848521/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848521/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848521/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848521/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848521/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
in928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.91
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848409/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 4148.29
user 4124.28
sys 1.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848409/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848409/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848409/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848409/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848409/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848409/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848409/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848409/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848597/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848597/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:40:45.346603', job_id='26848597', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779190845.35', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:40:45 PDT 2026


    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
in928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=63.2773 yref=-53.5483 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.91
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26848405/Model_4FGL_J0413.1-5332_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source Fornax A
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits.....................!
real 4199.63
user 4147.57
sys 5.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits', '/lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits', expMap='/lscratch/kocevski/26848405/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', expCube='/lscratch/kocevski/26848405/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26848405/Model_4FGL_J0413.1-5332_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0413.1-5332'

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  4.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26848405/ft1_filtered_4FGL_J0413.1-5332_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26848405/ft2_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26848405/expmap_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26848405/ltcube_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26848405/Model_4FGL_J0413.1-5332_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5593703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5194735

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28466E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11811E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.1519       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7883       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8848       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.379       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4561       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11386E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7523       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11101E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0370       1.0000          .0000       .10000E+07
    13 'norm      '    5.2675       1.0000          .0000       .10000E+07
    14 'norm      '    2.6396       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22234E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .69417       1.0000          .0000       .10000E+07
    17 'norm      '    32.435       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15215E-02   1.0000          .0000       .10000E+07
    19 'norm      '    3.7316       1.0000          .0000       .10000E+07
    20 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    11.560       1.0000          .0000       .10000E+07
    22 'norm      '    1.7445       1.0000          .0000       .10000E+07
    23 'Prefactor '    14.871       1.0000          .0000       .10000E+07
    24 'norm      '    .84838E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1791 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .83381        .31555E-07** at limit **
   2  Prefactor     .15837E-06    5.3237       -.94395E-07** at limit **
   3  norm          1.1526        .60256       -.26934E-07    .14712E-02
   4  Prefactor     .49682E-07    5.7721       -.62524E-07** at limit **
   5  Prefactor     1.8107        3.5615        .78633E-07   -.83899E-04
   6  Prefactor     1.9050        1.0594        .11450E-08    .85306E-03
   7  Prefactor     10.423        1.5855       -.30921E-08   -.27194E-01
   8  Prefactor     1.4386        3.1686        .49654E-08    .18335E-03
   9  Prefactor     .18319E-08    21.482       -.25479E-06** at limit **
  10  Prefactor     2.7591        6.1385        .39331E-07    .41873E-04
  11  Prefactor      .0000        5.4849       -.19369E-06** at limit **
  12  Prefactor     8.0361        1.2529        .42655E-08    .54256E-02
  13  norm          5.2751        2.2370       -.47896E-07    .65463E-04
  14  norm          2.6534        2.6957        .41417E-08   -.34743E-04
  15  Prefactor     .26634E-06    6.7431       -.64696E-07** at limit **
  16  Prefactor     .69281        1.5583       -.29538E-07   -.40661E-03
  17  norm          32.436        7.7894        .98678E-08    .64376E-02
  18  Prefactor     .16687E-06    9.5840        .49141E-08** at limit **
  19  norm          3.7314        .97870       -.76215E-08    .41923E-03
  20  Prefactor      .0000        .55464       -.30080E-07** at limit **
  21  Prefactor     11.606        6.9515        .93111E-08   -.52743E-03
  22  norm          1.7403        2.1329        .16564E-07    .30099E-03
  23  Prefactor     14.886        1.7749        .40830E-08    .22351E-01
  24  norm           .0000        3.7405       -.96432E-07** at limit **
  25  Normalizat    1.1995        .11522        .21093E-05   -.11645E-04
  26  Prefactor     .72192        .11581       -.26790E-05    .23812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.58373e-07
  norm       = 1.15255
  Prefactor  = 4.96825e-08
  Prefactor  = 1.81071
  Prefactor  = 1.90498
  Prefactor  = 10.4233
  Prefactor  = 1.43858
  Prefactor  = 1.83187e-09
  Prefactor  = 2.75914
  Prefactor  = 0
  Prefactor  = 8.03612
  norm       = 5.27508
  norm       = 2.65343
  Prefactor  = 2.66343e-07
  Prefactor  = 0.692809
  norm       = 32.4363
  Prefactor  = 1.66867e-07
  norm       = 3.73145
  Prefactor  = 0
  Prefactor  = 11.6063
  norm       = 1.74026
  Prefactor  = 14.8857
  norm       = 0
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848521/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848521/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:42:22.789159', job_id='26848521', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779190942.79', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:42:23 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   18431.52     FROM HESSE     STATUS=OK           516 CALLS     2307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .83453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15837E-06    7.9575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1526        .61159        .10772E-02   -1.5686    
   4  Prefactor     .49682E-07    6.6733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8107        3.6010        .78196E-03   -1.5681    
   6  Prefactor     1.9050        14.811        .75783E-03   -1.5680    
   7  Prefactor     10.423        9.7352        .31077E-03   -1.5643    
   8  Prefactor     1.4386        3.1894        .89186E-03   -1.5684    
   9  Prefactor     .18319E-08    21.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7591        6.1678        .61335E-03   -1.5675    
  11  Prefactor      .0000        5.5130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0361        11.194        .35343E-03   -1.5651    
  13  norm          5.2751        2.2388        .43770E-03   -1.5662    
  14  norm          2.6534        2.7145        .62730E-03   -1.5675    
  15  Prefactor     .26634E-06    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69281        1.5964        .61183E-03   -1.5691    
  17  norm          32.436        7.9898        .17561E-03   -1.5594    
  18  Prefactor     .16687E-06    11.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7314        .97928        .52247E-03   -1.5669    
  20  Prefactor      .0000        .55260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.606        7.0354        .29439E-03   -1.5640    
  22  norm          1.7403        2.1761        .79382E-03   -1.5682    
  23  Prefactor     14.886        8.4316        .25947E-03   -1.5631    
  24  norm           .0000        3.6889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1995        .99826E-01    .34899E-01   -.86619    
  26  Prefactor     .72192        .99759E-01    .62234E-01   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82561e-06
Minuit parameter uncertainties:
  1  2.90166e-06
  2  0.00224539
  3  0.611586
  4  0.00115176
  5  3.60096
  6  10.6237
  7  9.73518
  8  3.18936
  9  0.000396529
  10  6.16784
  11  2.211e-05
  12  11.1936
  13  2.23875
  14  2.71449
  15  0.00332726
  16  1.5964
  17  7.98985
  18  0.00282009
  19  0.979284
  20  3.48105e-08
  21  7.03537
  22  2.17614
  23  8.43165
  24  5.81362e-06
  25  0.0998421
  26  0.0997841
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848409/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848409/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:43:57.684086', job_id='26848409', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779191037.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:43:57 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 18431.5191671

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.211e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  9.978e-02  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  9.984e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 63.277 -53.548
Photon Flux Upper Limit: 2.98741048124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231025110416 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26848405/likelihoodResults_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5194716
delta logL = -0.00030450707709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18431.5191671
delta logL = -6.80302036926e-09

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1911       1.0000          .0000       10.000    
     3 'Normalizat'    1.1995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      248 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4165        .42118E-03** at limit **
   2  Index         1.8593        1.3284        .12380E-04     .0000    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.67275E-06
   4  Prefactor     .72192        1.0716        .20975E-06   -.22601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.85926
  Normalizat = 1.19947
  Prefactor  = 0.721925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   18431.52     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .66E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .35970        1.6883        .12380E-04   -.67917    
   3  Normalizat    1.1995        1.1065       -.10598E-05   -.86619    
   4  Prefactor     .72192        1.0716        .20975E-06   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.6315e-13
Minuit parameter uncertainties:
  1  3.64933e-06
  2  1.35563
  3  1.1293
  4  1.10491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 18431.5191671
delta logL = 0.0

Extracting fit parameters...

4FGL J0413.1-5332
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.859e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.015e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  7.219e-01  1.105e+00  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.199e+00  1.129e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 63.277 -53.548

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26848405/cmap_HighResolution_800236801_800841601_4FGL_J0413.1-5332_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2026-05-19 04:44:48.007883', job_id='26848405', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1779191088.01', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='928' AND source_name='4FGL J0413.1-5332' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 04:44:48 PDT 2026

