/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).

/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 = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1038.2-2425_weekly_bin945
RA = 159.559, Dec = -24.4239
tmin = 810518401, tmax = 811123201
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='38297337', job_status='RUN', time_executed='2026-09-15 07:50:48.102293', time_epoch_executed='1789483848.1' WHERE source_name='4FGL J1038.2-2425' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38297337

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38297337/ft1_4FGL_J1038.2-2425_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38297337/ft1_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297337/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits ra=159.559 dec=-24.4239 rad=12.0 tmin=810518401.0 tmax=811123201.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 6.50
user 5.51
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.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/38297337/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.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.92
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1360

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATAnumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1038.2-2425_weekly_bin945
RA = 159.559, Dec = -24.4239
tmin = 810518401, tmax = 811123201
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='38297335', job_status='RUN', time_executed='2026-09-15 07:50:46.595158', time_epoch_executed='1789483846.6' WHERE source_name='4FGL J1038.2-2425' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38297335

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38297335/ft1_4FGL_J1038.2-2425_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38297335/ft1_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297335/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits ra=159.559 dec=-24.4239 rad=12.0 tmin=810518401.0 tmax=811123201.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 6.41
user 5.08
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.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/38297335/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.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.10
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 1360

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATAnumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1038.2-2425_weekly_bin945
RA = 159.559, Dec = -24.4239
tmin = 810518401, tmax = 811123201
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='38297481', job_status='RUN', time_executed='2026-09-15 07:51:08.981923', time_epoch_executed='1789483868.98' WHERE source_name='4FGL J1038.2-2425' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38297481

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38297481/ft1_4FGL_J1038.2-2425_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38297481/ft1_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297481/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits ra=159.559 dec=-24.4239 rad=12.0 tmin=810518401.0 tmax=811123201.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 7.32
user 5.33
sys 0.38

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.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/38297481/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.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.26
user 0.24
sys 0.15

Number of photons that the gtmktime cut: 1360

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DAT" outfile=/lscratch/kocevski/38297337/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 18.98
user 18.07
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38297337/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297337/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297337/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 70.41
user 65.45
sys 3.87

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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1038.2-2425 @ 159.559 -24.4239

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297337/cmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.95
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297337/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.00
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38297337/Model_4FGL_J1038.2-2425_weekly_bin945.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 s" outfile=/lscratch/kocevski/38297335/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 20.64
user 19.38
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38297335/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297335/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297335/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 78.17
user 72.79
sys 4.39

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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1038.2-2425 @ 159.559 -24.4239

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297335/cmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297335/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.07
user 0.22
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38297335/Model_4FGL_J1038.2-2425_weekly_bin945.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 snumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1038.2-2425_weekly_bin945
RA = 159.559, Dec = -24.4239
tmin = 810518401, tmax = 811123201
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='38298133', job_status='RUN', time_executed='2026-09-15 07:53:13.224794', time_epoch_executed='1789483993.22' WHERE source_name='4FGL J1038.2-2425' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38298133

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38298133/ft1_4FGL_J1038.2-2425_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38298133/ft1_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38298133/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits ra=159.559 dec=-24.4239 rad=12.0 tmin=810518401.0 tmax=811123201.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 7.24
user 5.74
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.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/38298133/ft1_filteredMKT_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.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.60
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1360

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATource GAL_V02
Working on...
/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits....................!
real 55.04
user 53.07
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits', '/lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits', expMap='/lscratch/kocevski/38297337/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', expCube='/lscratch/kocevski/38297337/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38297337/Model_4FGL_J1038.2-2425_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1038.2-2425'

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  2.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38297337/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38297337/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38297337/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38297337/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38297337/Model_4FGL_J1038.2-2425_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14957.431457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4709       1.0000          .0000       .10000E+07
     2 'norm      '    1.4808       1.0000          .0000       .10000E+07
     3 'norm      '    5.8218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32733       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8060       1.0000          .0000       .10000E+07
     6 'norm      '    23.877       1.0000          .0000       .10000E+07
     7 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14783E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8479       1.0000          .0000       .10000E+07
    10 'norm      '    .81829E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58029E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8259       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63460E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21061E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7078       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2540       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1533       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1214 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5080        6.2508        .99496E-07    .55530E-03
   2  norm          1.4829        .88997       -.30824E-08    .21427E-05
   3  norm          5.8212        5.1850        .16009E-06   -.33280E-03
   4  Prefactor     .38858E-09    202.12        .46649E-06** at limit **
   5  Prefactor     5.8651        5.7334       -.14803E-06   -.25722E-03
   6  norm          23.937        8.0955        .36520E-07   -.83638E-03
   7  norm           .0000        1.6639       -.56537E-07** at limit **
   8  Prefactor      .0000        2.0745       -.43706E-08** at limit **
   9  Prefactor     4.2701        15.395        .11089E-05   -.50030E-03
  10  norm           .0000        2.8587        .65975E-07** at limit **
  11  Prefactor      .0000        10.273       -.29370E-06** at limit **
  12  Prefactor     1.9591        4.3909       -.62823E-06   -.86056E-03
  13  Prefactor      .0000        8.2822        .61513E-06** at limit **
  14  Prefactor      .0000        2.5659        .48567E-07** at limit **
  15  Prefactor     1.2941        111.52       -.19158E-05    .18215E-03
  16  Prefactor     20.532        76.905        .80523E-06   -.49684E-04
  17  Prefactor     4.2465        6.7437        .23178E-06   -.30229E-03
  18  Normalizat    1.1521        .17756        .13656E-05   -.62993E-04
  19  Prefactor     1.0135        .97931E-01    .27356E-06   -.89390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50803
  norm       = 1.48289
  norm       = 5.82124
  Prefactor  = 3.88578e-10
  Prefactor  = 5.8651
  norm       = 23.9368
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.27014
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.95907
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.29409
  Prefactor  = 20.5317
  Prefactor  = 4.24654
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK           316 CALLS     1530 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5080        6.2359        .47596E-03   -1.5665    
   2  norm          1.4829        .90178        .88166E-03   -1.5684    
   3  norm          5.8212        5.1911        .41600E-03   -1.5660    
   4  Prefactor     .38858E-09    8.3875        .11783E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8651        5.7460        .41657E-03   -1.5660    
   6  norm          23.937        8.1579        .20470E-03   -1.5610    
   7  norm           .0000        1.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2701        17.055        .45664E-03   -1.5667    
  10  norm           .0000        2.8614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9591        4.8409        .77224E-03   -1.5680    
  13  Prefactor      .0000        8.1996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2941        125.36        .61874E-03   -1.5685    
  16  Prefactor     20.532        80.122        .28463E-03   -1.5617    
  17  Prefactor     4.2465        6.7522        .48828E-03   -1.5667    
  18  Normalizat    1.1521        .15129        .72571E-01   -.88095    
  19  Prefactor     1.0135        .82699E-01    .42877E-01   -.92280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2634e-08
Minuit parameter uncertainties:
  1  6.23589
  2  0.901784
  3  5.19107
  4  0.000114223
  5  5.74598
  6  8.15791
  7  2.59904e-07
  8  8.2929e-07
  9  17.0553
  10  1.66129e-06
  11  1.19479e-05
  12  4.84092
  13  1.20172e-05
  14  9.33312e-07
  15  25.4745
  16  80.1263
  17  6.75221
  18  0.151349
  19  0.0827093
A" outfile=/lscratch/kocevski/38297481/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 20.01
user 18.62
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38297481/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297481/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38297481/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 75.03
user 69.64
sys 4.26

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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1038.2-2425 @ 159.559 -24.4239

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297481/cmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38297481/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.03
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38297481/Model_4FGL_J1038.2-2425_weekly_bin945.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 ource GAL_V02
Working on...
/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits....................!
real 61.60
user 57.90
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits', '/lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits', expMap='/lscratch/kocevski/38297335/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', expCube='/lscratch/kocevski/38297335/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38297335/Model_4FGL_J1038.2-2425_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1038.2-2425'

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  2.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38297335/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38297335/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38297335/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38297335/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38297335/Model_4FGL_J1038.2-2425_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14957.431457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4709       1.0000          .0000       .10000E+07
     2 'norm      '    1.4808       1.0000          .0000       .10000E+07
     3 'norm      '    5.8218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32733       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8060       1.0000          .0000       .10000E+07
     6 'norm      '    23.877       1.0000          .0000       .10000E+07
     7 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14783E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8479       1.0000          .0000       .10000E+07
    10 'norm      '    .81829E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58029E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8259       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63460E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21061E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7078       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2540       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1533       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1214 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5080        6.2508        .99496E-07    .55530E-03
   2  norm          1.4829        .88997       -.30824E-08    .21427E-05
   3  norm          5.8212        5.1850        .16009E-06   -.33280E-03
   4  Prefactor     .38858E-09    202.12        .46649E-06** at limit **
   5  Prefactor     5.8651        5.7334       -.14803E-06   -.25722E-03
   6  norm          23.937        8.0955        .36520E-07   -.83638E-03
   7  norm           .0000        1.6639       -.56537E-07** at limit **
   8  Prefactor      .0000        2.0745       -.43706E-08** at limit **
   9  Prefactor     4.2701        15.395        .11089E-05   -.50030E-03
  10  norm           .0000        2.8587        .65975E-07** at limit **
  11  Prefactor      .0000        10.273       -.29370E-06** at limit **
  12  Prefactor     1.9591        4.3909       -.62823E-06   -.86056E-03
  13  Prefactor      .0000        8.2822        .61513E-06** at limit **
  14  Prefactor      .0000        2.5659        .48567E-07** at limit **
  15  Prefactor     1.2941        111.52       -.19158E-05    .18215E-03
  16  Prefactor     20.532        76.905        .80523E-06   -.49684E-04
  17  Prefactor     4.2465        6.7437        .23178E-06   -.30229E-03
  18  Normalizat    1.1521        .17756        .13656E-05   -.62993E-04
  19  Prefactor     1.0135        .97931E-01    .27356E-06   -.89390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50803
  norm       = 1.48289
  norm       = 5.82124
  Prefactor  = 3.88578e-10
  Prefactor  = 5.8651
  norm       = 23.9368
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.27014
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.95907
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.29409
  Prefactor  = 20.5317
  Prefactor  = 4.24654
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK           316 CALLS     1530 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5080        6.2359        .47596E-03   -1.5665    
   2  norm          1.4829        .90178        .88166E-03   -1.5684    
   3  norm          5.8212        5.1911        .41600E-03   -1.5660    
   4  Prefactor     .38858E-09    8.3875        .11783E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8651        5.7460        .41657E-03   -1.5660    
   6  norm          23.937        8.1579        .20470E-03   -1.5610    
   7  norm           .0000        1.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2701        17.055        .45664E-03   -1.5667    
  10  norm           .0000        2.8614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9591        4.8409        .77224E-03   -1.5680    
  13  Prefactor      .0000        8.1996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2941        125.36        .61874E-03   -1.5685    
  16  Prefactor     20.532        80.122        .28463E-03   -1.5617    
  17  Prefactor     4.2465        6.7522        .48828E-03   -1.5667    
  18  Normalizat    1.1521        .15129        .72571E-01   -.88095    
  19  Prefactor     1.0135        .82699E-01    .42877E-01   -.92280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2634e-08
Minuit parameter uncertainties:
  1  6.23589
  2  0.901784
  3  5.19107
  4  0.000114223
  5  5.74598
  6  8.15791
  7  2.59904e-07
  8  8.2929e-07
  9  17.0553
  10  1.66129e-06
  11  1.19479e-05
  12  4.84092
  13  1.20172e-05
  14  9.33312e-07
  15  25.4745
  16  80.1263
  17  6.75221
  18  0.151349
  19  0.0827093
Done.

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

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.195e-05  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  8.271e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 159.559 -24.424
Photon Flux Upper Limit: 6.18431070992e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00477254812513 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38297337/likelihoodResults_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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): 0
logL (Free Index) = 14956.7462379
delta logL = 0.402906704356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14956.5354112
delta logL = 0.613733437071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25693E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.3946       1.0000          .0000       10.000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      558 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13933E-07    9.4252        .12022E-03** at limit **
   2  Index         2.1826        7.5573        1.2724        .46031E-08
   3  Normalizat    1.1521        .17303        .32114E-03    .21099E-04
   4  Prefactor     1.0135        .97047E-01    .18938E-03   -.30496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39333e-08
  Index      = 2.18264
  Normalizat = 1.15213
  Prefactor  = 1.01351
A" outfile=/lscratch/kocevski/38298133/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 21.33
user 19.98
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38298133/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38298133/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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/38298133/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
.....................!
real 73.40
user 68.24
sys 4.12

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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J1038.2-2425 @ 159.559 -24.4239

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38298133/cmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.99
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits outfile=/lscratch/kocevski/38298133/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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=159.559 yref=-24.4239 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.10
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38298133/Model_4FGL_J1038.2-2425_weekly_bin945.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  **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK            27 CALLS      585 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13933E-07    9.4252        .12022E-03   -504.23    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1826        7.5573        1.2724       -.26685E+07
   3  Normalizat    1.1521        .17299        .12846E-04   -132.83    
   4  Prefactor     1.0135        .97028E-01    .75752E-05   -115.32    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98045e-09
Minuit parameter uncertainties:
  1  0.000724429
  2  4.4445
  3  0.173077
  4  0.0970443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14957.1491446
delta logL = -8.54925019667e-10

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  1.393e-08  7.244e-04  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.183e+00  4.445e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  9.704e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 159.559 -24.424

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/38297337/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2026-09-15 08:02:48.133755', job_id='38297337', GAL2='1.01', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1789484568.13', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-8.55e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='945' AND source_name='4FGL J1038.2-2425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 08:02:48 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.195e-05  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  8.271e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 159.559 -24.424
Photon Flux Upper Limit: 6.18431070992e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00477254812513 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38297335/likelihoodResults_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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): 0
logL (Free Index) = 14956.7462379
delta logL = 0.402906704356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14956.5354112
delta logL = 0.613733437071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25693E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.3946       1.0000          .0000       10.000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      558 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13933E-07    9.4252        .12022E-03** at limit **
   2  Index         2.1826        7.5573        1.2724        .46031E-08
   3  Normalizat    1.1521        .17303        .32114E-03    .21099E-04
   4  Prefactor     1.0135        .97047E-01    .18938E-03   -.30496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39333e-08
  Index      = 2.18264
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK            27 CALLS      585 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13933E-07    9.4252        .12022E-03   -504.23    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1826        7.5573        1.2724       -.26685E+07
   3  Normalizat    1.1521        .17299        .12846E-04   -132.83    
   4  Prefactor     1.0135        .97028E-01    .75752E-05   -115.32    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98045e-09
Minuit parameter uncertainties:
  1  0.000724429
  2  4.4445
  3  0.173077
  4  0.0970443
source GAL_V02
Working on...
/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits....................!
real 55.91
user 53.38
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits', '/lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits', expMap='/lscratch/kocevski/38297481/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', expCube='/lscratch/kocevski/38297481/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38297481/Model_4FGL_J1038.2-2425_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1038.2-2425'

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  2.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38297481/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38297481/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38297481/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38297481/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38297481/Model_4FGL_J1038.2-2425_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14957.431457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4709       1.0000          .0000       .10000E+07
     2 'norm      '    1.4808       1.0000          .0000       .10000E+07
     3 'norm      '    5.8218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32733       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8060       1.0000          .0000       .10000E+07
     6 'norm      '    23.877       1.0000          .0000       .10000E+07
     7 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14783E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8479       1.0000          .0000       .10000E+07
    10 'norm      '    .81829E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58029E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8259       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63460E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21061E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7078       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2540       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1533       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1214 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5080        6.2508        .99496E-07    .55530E-03
   2  norm          1.4829        .88997       -.30824E-08    .21427E-05
   3  norm          5.8212        5.1850        .16009E-06   -.33280E-03
   4  Prefactor     .38858E-09    202.12        .46649E-06** at limit **
   5  Prefactor     5.8651        5.7334       -.14803E-06   -.25722E-03
   6  norm          23.937        8.0955        .36520E-07   -.83638E-03
   7  norm           .0000        1.6639       -.56537E-07** at limit **
   8  Prefactor      .0000        2.0745       -.43706E-08** at limit **
   9  Prefactor     4.2701        15.395        .11089E-05   -.50030E-03
  10  norm           .0000        2.8587        .65975E-07** at limit **
  11  Prefactor      .0000        10.273       -.29370E-06** at limit **
  12  Prefactor     1.9591        4.3909       -.62823E-06   -.86056E-03
  13  Prefactor      .0000        8.2822        .61513E-06** at limit **
  14  Prefactor      .0000        2.5659        .48567E-07** at limit **
  15  Prefactor     1.2941        111.52       -.19158E-05    .18215E-03
  16  Prefactor     20.532        76.905        .80523E-06   -.49684E-04
  17  Prefactor     4.2465        6.7437        .23178E-06   -.30229E-03
  18  Normalizat    1.1521        .17756        .13656E-05   -.62993E-04
  19  Prefactor     1.0135        .97931E-01    .27356E-06   -.89390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50803
  norm       = 1.48289
  norm       = 5.82124
  Prefactor  = 3.88578e-10
  Prefactor  = 5.8651
  norm       = 23.9368
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.27014
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.95907
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.29409
  Prefactor  = 20.5317
  Prefactor  = 4.24654
  Normalizat = 1.15213
  Prefactor  = 1.01351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14957.1491446
delta logL = -8.54925019667e-10

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  1.393e-08  7.244e-04  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.183e+00  4.445e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  9.704e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 159.559 -24.424

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/38297335/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2026-09-15 08:03:48.975614', job_id='38297335', GAL2='1.01', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1789484628.98', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-8.55e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='945' AND source_name='4FGL J1038.2-2425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 08:03:49 PDT 2026

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

 FCN=   14957.15     FROM HESSE     STATUS=OK           316 CALLS     1530 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5080        6.2359        .47596E-03   -1.5665    
   2  norm          1.4829        .90178        .88166E-03   -1.5684    
   3  norm          5.8212        5.1911        .41600E-03   -1.5660    
   4  Prefactor     .38858E-09    8.3875        .11783E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8651        5.7460        .41657E-03   -1.5660    
   6  norm          23.937        8.1579        .20470E-03   -1.5610    
   7  norm           .0000        1.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2701        17.055        .45664E-03   -1.5667    
  10  norm           .0000        2.8614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9591        4.8409        .77224E-03   -1.5680    
  13  Prefactor      .0000        8.1996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2941        125.36        .61874E-03   -1.5685    
  16  Prefactor     20.532        80.122        .28463E-03   -1.5617    
  17  Prefactor     4.2465        6.7522        .48828E-03   -1.5667    
  18  Normalizat    1.1521        .15129        .72571E-01   -.88095    
  19  Prefactor     1.0135        .82699E-01    .42877E-01   -.92280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2634e-08
Minuit parameter uncertainties:
  1  6.23589
  2  0.901784
  3  5.19107
  4  0.000114223
  5  5.74598
  6  8.15791
  7  2.59904e-07
  8  8.2929e-07
  9  17.0553
  10  1.66129e-06
  11  1.19479e-05
  12  4.84092
  13  1.20172e-05
  14  9.33312e-07
  15  25.4745
  16  80.1263
  17  6.75221
  18  0.151349
  19  0.0827093
source GAL_V02
Working on...
/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits....................!
real 55.68
user 53.15
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits', '/lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits', expMap='/lscratch/kocevski/38298133/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', expCube='/lscratch/kocevski/38298133/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38298133/Model_4FGL_J1038.2-2425_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1038.2-2425'

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  2.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38298133/ft1_filtered_4FGL_J1038.2-2425_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38298133/ft2_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38298133/expmap_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38298133/ltcube_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38298133/Model_4FGL_J1038.2-2425_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 14957.431457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4709       1.0000          .0000       .10000E+07
     2 'norm      '    1.4808       1.0000          .0000       .10000E+07
     3 'norm      '    5.8218       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32733       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8060       1.0000          .0000       .10000E+07
     6 'norm      '    23.877       1.0000          .0000       .10000E+07
     7 'norm      '    .20928E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14783E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8479       1.0000          .0000       .10000E+07
    10 'norm      '    .81829E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58029E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8259       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63460E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21061E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7078       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2540       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1533       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1214 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5080        6.2508        .99496E-07    .55530E-03
   2  norm          1.4829        .88997       -.30824E-08    .21427E-05
   3  norm          5.8212        5.1850        .16009E-06   -.33280E-03
   4  Prefactor     .38858E-09    202.12        .46649E-06** at limit **
   5  Prefactor     5.8651        5.7334       -.14803E-06   -.25722E-03
   6  norm          23.937        8.0955        .36520E-07   -.83638E-03
   7  norm           .0000        1.6639       -.56537E-07** at limit **
   8  Prefactor      .0000        2.0745       -.43706E-08** at limit **
   9  Prefactor     4.2701        15.395        .11089E-05   -.50030E-03
  10  norm           .0000        2.8587        .65975E-07** at limit **
  11  Prefactor      .0000        10.273       -.29370E-06** at limit **
  12  Prefactor     1.9591        4.3909       -.62823E-06   -.86056E-03
  13  Prefactor      .0000        8.2822        .61513E-06** at limit **
  14  Prefactor      .0000        2.5659        .48567E-07** at limit **
  15  Prefactor     1.2941        111.52       -.19158E-05    .18215E-03
  16  Prefactor     20.532        76.905        .80523E-06   -.49684E-04
  17  Prefactor     4.2465        6.7437        .23178E-06   -.30229E-03
  18  Normalizat    1.1521        .17756        .13656E-05   -.62993E-04
  19  Prefactor     1.0135        .97931E-01    .27356E-06   -.89390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50803
  norm       = 1.48289
  norm       = 5.82124
  Prefactor  = 3.88578e-10
  Prefactor  = 5.8651
  norm       = 23.9368
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.27014
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.95907
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.29409
  Prefactor  = 20.5317
  Prefactor  = 4.24654
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK           316 CALLS     1530 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5080        6.2359        .47596E-03   -1.5665    
   2  norm          1.4829        .90178        .88166E-03   -1.5684    
   3  norm          5.8212        5.1911        .41600E-03   -1.5660    
   4  Prefactor     .38858E-09    8.3875        .11783E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8651        5.7460        .41657E-03   -1.5660    
   6  norm          23.937        8.1579        .20470E-03   -1.5610    
   7  norm           .0000        1.6600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.0817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2701        17.055        .45664E-03   -1.5667    
  10  norm           .0000        2.8614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        10.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9591        4.8409        .77224E-03   -1.5680    
  13  Prefactor      .0000        8.1996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2941        125.36        .61874E-03   -1.5685    
  16  Prefactor     20.532        80.122        .28463E-03   -1.5617    
  17  Prefactor     4.2465        6.7522        .48828E-03   -1.5667    
  18  Normalizat    1.1521        .15129        .72571E-01   -.88095    
  19  Prefactor     1.0135        .82699E-01    .42877E-01   -.92280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2634e-08
Minuit parameter uncertainties:
  1  6.23589
  2  0.901784
  3  5.19107
  4  0.000114223
  5  5.74598
  6  8.15791
  7  2.59904e-07
  8  8.2929e-07
  9  17.0553
  10  1.66129e-06
  11  1.19479e-05
  12  4.84092
  13  1.20172e-05
  14  9.33312e-07
  15  25.4745
  16  80.1263
  17  6.75221
  18  0.151349
  19  0.0827093
Done.

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

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.195e-05  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  8.271e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 159.559 -24.424
Photon Flux Upper Limit: 6.18431070992e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00477254812513 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38297481/likelihoodResults_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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): 0
logL (Free Index) = 14956.7462379
delta logL = 0.402906704356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14956.5354112
delta logL = 0.613733437071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25693E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.3946       1.0000          .0000       10.000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      558 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13933E-07    9.4252        .12022E-03** at limit **
   2  Index         2.1826        7.5573        1.2724        .46031E-08
   3  Normalizat    1.1521        .17303        .32114E-03    .21099E-04
   4  Prefactor     1.0135        .97047E-01    .18938E-03   -.30496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39333e-08
  Index      = 2.18264
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK            27 CALLS      585 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13933E-07    9.4252        .12022E-03   -504.23    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1826        7.5573        1.2724       -.26685E+07
   3  Normalizat    1.1521        .17299        .12846E-04   -132.83    
   4  Prefactor     1.0135        .97028E-01    .75752E-05   -115.32    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98045e-09
Minuit parameter uncertainties:
  1  0.000724429
  2  4.4445
  3  0.173077
  4  0.0970443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14957.1491446
delta logL = -8.54925019667e-10

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  1.393e-08  7.244e-04  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.183e+00  4.445e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  9.704e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 159.559 -24.424

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/38297481/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2026-09-15 08:05:24.274828', job_id='38297481', GAL2='1.01', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1789484724.27', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-8.55e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='945' AND source_name='4FGL J1038.2-2425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 08:05:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.195e-05  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  8.271e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 159.559 -24.424
Photon Flux Upper Limit: 6.18431070992e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00477254812513 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38298133/likelihoodResults_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.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): 0
logL (Free Index) = 14956.7462379
delta logL = 0.402906704356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14956.5354112
delta logL = 0.613733437071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25693E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.3946       1.0000          .0000       10.000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14957.15     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      558 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13933E-07    9.4252        .12022E-03** at limit **
   2  Index         2.1826        7.5573        1.2724        .46031E-08
   3  Normalizat    1.1521        .17303        .32114E-03    .21099E-04
   4  Prefactor     1.0135        .97047E-01    .18938E-03   -.30496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39333e-08
  Index      = 2.18264
  Normalizat = 1.15213
  Prefactor  = 1.01351
 **********
 **   18 **HESSE 
 **********

 FCN=   14957.15     FROM HESSE     STATUS=OK            27 CALLS      585 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13933E-07    9.4252        .12022E-03   -504.23    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1826        7.5573        1.2724       -.26685E+07
   3  Normalizat    1.1521        .17299        .12846E-04   -132.83    
   4  Prefactor     1.0135        .97028E-01    .75752E-05   -115.32    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98045e-09
Minuit parameter uncertainties:
  1  0.000724429
  2  4.4445
  3  0.173077
  4  0.0970443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14957.1491446
delta logL = -8.54925019667e-10

Extracting fit parameters...

4FGL J1038.2-2425
   Spectrum: PowerLaw
315    Prefactor:  1.393e-08  7.244e-04  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.183e+00  4.445e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.203e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  1.014e+00  9.704e-02  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.152e+00  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 159.559 -24.424

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/38298133/cmap_HighResolution_810518401_811123201_4FGL_J1038.2-2425_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2026-09-15 08:06:35.518224', job_id='38298133', GAL2='1.01', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1789484795.52', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-8.55e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='945' AND source_name='4FGL J1038.2-2425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 08:06:36 PDT 2026

