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

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

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

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

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


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2200
RA = 204.756, Dec = -24.0085
tmin = 809568001, tmax = 809827201
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='36565554', job_status='RUN', time_executed='2026-08-31 12:29:38.695666', time_epoch_executed='1788204578.7' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36565554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36565554/ft1_4FGL_J1339.0-2400_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36565554/ft1_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565554/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2200.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=809568001.0 tmax=809827201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.09
user 3.23
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.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/36565554/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.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.96
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 998

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits sctable="SC_DATA" o
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

utfile=/lscratch/kocevski/36565554/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits
.....................!
real 9.25
user 8.40
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36565554/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565554/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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/36565554/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
.....................!
real 74.60
user 68.94
sys 4.16

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

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565554/cmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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=204.756 yref=-24.0085 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565554/cmap_HighResolution_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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=204.756 yref=-24.0085 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.12
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200number of points = 7527
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2200
RA = 204.756, Dec = -24.0085
tmin = 809568001, tmax = 809827201
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='36565636', job_status='RUN', time_executed='2026-08-31 12:31:52.441166', time_epoch_executed='1788204712.44' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2200'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36565636

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36565636/ft1_4FGL_J1339.0-2400_daily_bin2200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36565636/ft1_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565636/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2200.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=809568001.0 tmax=809827201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.34
user 3.42
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.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/36565636/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" outfile="/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.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.07
user 0.25
sys 0.13

Number of photons that the gtmktime cut: 998

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36565636/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits
.....................!
real 10.57
user 9.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36565636/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565636/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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/36565636/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
.....................!
real 77.89
user 71.95
sys 4.56

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

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565636/cmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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=204.756 yref=-24.0085 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.09
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits outfile=/lscratch/kocevski/36565636/cmap_HighResolution_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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=204.756 yref=-24.0085 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.13
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits evtable="EVENTS" scfile=/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin22.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36565554/Model_4FGL_J1339.0-2400_daily_bin2200.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits.....................!
real 73.69
user 70.50
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits', '/lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits', expMap='/lscratch/kocevski/36565554/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits', expCube='/lscratch/kocevski/36565554/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36565554/Model_4FGL_J1339.0-2400_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36565554/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36565554/ft2_4FGL_J1339.0-2400_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36565554/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36565554/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36565554/Model_4FGL_J1339.0-2400_daily_bin2200.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3475       1.0000          .0000       .10000E+07
     2 'Prefactor '    51.564       1.0000          .0000       .10000E+07
     3 'norm      '    2.6267       1.0000          .0000       .10000E+07
     4 'norm      '    5.4297       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57490E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.2283       1.0000          .0000       .10000E+07
     7 'norm      '    2.8882       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .60169E-06   1.0000          .0000       .10000E+07
    10 'norm      '    31.848       1.0000          .0000       .10000E+07
    11 'Prefactor '    .64108E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.1646       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41751E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43755E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .26767E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22737E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .59573E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .27082E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6971       1.0000          .0000       .10000E+07
    20 'Prefactor '    100.18       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11147E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15731E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.8605       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74346       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10369.26     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1982 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3473        .92250        .16076E-07    .73795E-02
   2  Prefactor     51.533        3.1669       -.95857E-08    .12578    
   3  norm          2.6312        4.1483       -.29294E-07   -.18235E-02
   4  norm          5.4389        4.7590       -.10537E-06   -.11124E-01
   5  Prefactor      .0000        1.9286        .13977E-07** at limit **
   6  norm          2.2292        1.3890        .20807E-07    .77914E-02
   7  norm          2.8953        4.6109        .76543E-08    .81361E-04
   8  Prefactor     .10403E-06    4.2986        .75967E-09** at limit **
   9  norm          .55511E-10    1.4027        .32900E-07** at limit **
  10  norm          31.886        6.5385        .58589E-08    .95020E-02
  11  Prefactor     .24425E-06    2.8685        .12471E-07** at limit **
  12  Prefactor     7.1588        2.6534       -.38849E-08   -.36121E-01
  13  Prefactor      .0000        8.6976        .25237E-06** at limit **
  14  Prefactor     .25369E-07    2.5798        .69540E-07** at limit **
  15  norm          .55511E-10    2.3062        .50964E-07** at limit **
  16  Prefactor     .15293E-06    28.419       -.15700E-06** at limit **
  17  norm          .20539E-08    6.6259        .12571E-06** at limit **
  18  norm          .38192E-07    2.9014        .70772E-07** at limit **
  19  Prefactor     3.6988        3.5244       -.58034E-07   -.70481E-02
  20  Prefactor     100.09        5.0454       -.93776E-08    .26447    
  21  Prefactor     .49216E-06    35.189       -.33271E-06** at limit **
  22  Prefactor     .10852E-06    3.5681        .11202E-07** at limit **
  23  Normalizat    1.8604        .26053       -.12199E-05   -.27405E-03
  24  Prefactor     .74341        .11178        .66509E-06   -.24912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34734
  Prefactor  = 51.5326
  norm       = 2.63124
  norm       = 5.43891
  Prefactor  = 0
  norm       = 2.22915
  norm       = 2.89529
  Prefactor  = 1.04028e-07
  norm       = 5.55112e-11
  norm       = 31.8858
  Prefactor  = 2.44249e-07
  Prefactor  = 7.15884
  Prefactor  = 0
  Prefactor  = 2.53686e-08
  norm       = 5.55112e-11
  Prefactor  = 1.52933e-07
  norm       = 2.05391e-09
  norm       = 3.81917e-08
  Prefactor  = 3.69885
  Prefactor  = 100.088
  Prefactor  = 4.92162e-07
  Prefactor  = 1.08524e-07
  Normalizat = 1.86045
  Prefactor  = 0.743412
 **********
 **   18 **HESSE 
 **********

 FCN=   10369.26     FROM HESSE     STATUS=OK           439 CALLS     2421 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3473        .92367        .94264E-03   -1.5685    
   2  Prefactor     51.533        77.053        .13927E-03   -1.5564    
   3  norm          2.6312        4.1609        .62896E-03   -1.5676    
   4  norm          5.4389        5.9897        .43100E-03   -1.5661    
   5  Prefactor      .0000        1.9277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2292        1.3846        .68845E-03   -1.5678    
   7  norm          2.8953        4.6243        .59773E-03   -1.5674    
   8  Prefactor     .10403E-06    5.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    1.4001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.886        9.2884        .17722E-03   -1.5595    
  11  Prefactor     .24425E-06    5.0267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.1588        16.038        .37452E-03   -1.5654    
  13  Prefactor      .0000        8.8578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .25369E-07    3.6658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    2.3024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15293E-06    28.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20539E-08    7.1469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .38192E-07    3.7213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6988        3.5276        .52499E-03   -1.5669    
  20  Prefactor     100.09        58.112        .99916E-04   -1.5508    
  21  Prefactor     .49216E-06    35.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10852E-06    4.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8604        .21748        .70693E-01   -.68096    
  24  Prefactor     .74341        .92952E-01    .42977E-01   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57568e-06
Minuit parameter uncertainties:
  1  0.923666
  2  77.0544
  3  4.16091
  4  5.98971
  5  7.09986e-06
  6  1.38459
  7  4.62428
  8  0.00154735
  9  1.3754e-05
  10  9.28843
  11  0.0022161
  12  16.0385
  13  2.22506e-05
  14  0.000609901
  15  2.67856e-05
  16  0.00418722
  17  0.000242027
  18  0.000754165
  19  3.52759
  20  58.1124
  21  0.00834866
  22  0.0013829
  23  0.217593
  24  0.0929711
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.159e+00  1.604e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.434e-01  9.297e-02  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.860e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 8.48991000234e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00651659535669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36565554/likelihoodResults_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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) = 10369.0531707
delta logL = 0.204525671837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10368.9892025
delta logL = 0.268493819112

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10368.99     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      282 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43069        7.6847        .86041E-03    .27949E-01
   2  Index         4.5687        2.7912        .13105        .20835E-03
   3  Normalizat    1.7909        .43696E-01    .71758E-01   -.15623E-04
   4  Prefactor     .76431        .19041E-01    .43252E-01    .46234E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.430689
  Index      = 4.56871
  Normalizat = 1.79092
  Prefactor  = 0.764308
 **********
 **   18 **HESSE 
 **********

 FCN=   10368.99     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      315 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43069        26.991        .73810E-05   -1.5695    
   2  Index         4.5687        7.2769        .79174E-02   -.86366E-01
   3  Normalizat    1.7909        .19703        .31745E-03   -.69901    
   4  Prefactor     .76431        .83407E-01    .99769E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09762e-06
Minuit parameter uncertainties:
  1  6.81898
  2  7.77943
  3  0.197114
  4  0.0834207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10368.9892009
delta logL = 0.268495459033

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  4.307e-01  6.819e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  4.569e+00  7.779e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.643e-01  8.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.791e+00  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.756 -24.009

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/36565554/cmap_HighResolution_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2026-08-31 12:38:54.458704', job_id='36565554', GAL2='0.76', fit_tolerance='1e-08', EG2='1.79', EG='1.86', time_epoch_completed='1788205134.46', return_code2='102', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.68e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2200' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 12:38:54 PDT 2026

00.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36565636/Model_4FGL_J1339.0-2400_daily_bin2200.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits.....................!
real 77.05
user 73.06
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits', '/lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits', expMap='/lscratch/kocevski/36565636/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits', expCube='/lscratch/kocevski/36565636/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36565636/Model_4FGL_J1339.0-2400_daily_bin2200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36565636/ft1_filtered_4FGL_J1339.0-2400_daily_bin2200.fits
Spacecraft file(s): /lscratch/kocevski/36565636/ft2_4FGL_J1339.0-2400_daily_bin2200.fits
Exposure map: /lscratch/kocevski/36565636/expmap_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
Exposure cube: /lscratch/kocevski/36565636/ltcube_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36565636/Model_4FGL_J1339.0-2400_daily_bin2200.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3475       1.0000          .0000       .10000E+07
     2 'Prefactor '    51.564       1.0000          .0000       .10000E+07
     3 'norm      '    2.6267       1.0000          .0000       .10000E+07
     4 'norm      '    5.4297       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57490E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.2283       1.0000          .0000       .10000E+07
     7 'norm      '    2.8882       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .60169E-06   1.0000          .0000       .10000E+07
    10 'norm      '    31.848       1.0000          .0000       .10000E+07
    11 'Prefactor '    .64108E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.1646       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41751E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43755E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .26767E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22737E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .59573E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .27082E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6971       1.0000          .0000       .10000E+07
    20 'Prefactor '    100.18       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11147E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15731E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.8605       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74346       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10369.26     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1982 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3473        .92250        .16076E-07    .73795E-02
   2  Prefactor     51.533        3.1669       -.95857E-08    .12578    
   3  norm          2.6312        4.1483       -.29294E-07   -.18235E-02
   4  norm          5.4389        4.7590       -.10537E-06   -.11124E-01
   5  Prefactor      .0000        1.9286        .13977E-07** at limit **
   6  norm          2.2292        1.3890        .20807E-07    .77914E-02
   7  norm          2.8953        4.6109        .76543E-08    .81361E-04
   8  Prefactor     .10403E-06    4.2986        .75967E-09** at limit **
   9  norm          .55511E-10    1.4027        .32900E-07** at limit **
  10  norm          31.886        6.5385        .58589E-08    .95020E-02
  11  Prefactor     .24425E-06    2.8685        .12471E-07** at limit **
  12  Prefactor     7.1588        2.6534       -.38849E-08   -.36121E-01
  13  Prefactor      .0000        8.6976        .25237E-06** at limit **
  14  Prefactor     .25369E-07    2.5798        .69540E-07** at limit **
  15  norm          .55511E-10    2.3062        .50964E-07** at limit **
  16  Prefactor     .15293E-06    28.419       -.15700E-06** at limit **
  17  norm          .20539E-08    6.6259        .12571E-06** at limit **
  18  norm          .38192E-07    2.9014        .70772E-07** at limit **
  19  Prefactor     3.6988        3.5244       -.58034E-07   -.70481E-02
  20  Prefactor     100.09        5.0454       -.93776E-08    .26447    
  21  Prefactor     .49216E-06    35.189       -.33271E-06** at limit **
  22  Prefactor     .10852E-06    3.5681        .11202E-07** at limit **
  23  Normalizat    1.8604        .26053       -.12199E-05   -.27405E-03
  24  Prefactor     .74341        .11178        .66509E-06   -.24912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.34734
  Prefactor  = 51.5326
  norm       = 2.63124
  norm       = 5.43891
  Prefactor  = 0
  norm       = 2.22915
  norm       = 2.89529
  Prefactor  = 1.04028e-07
  norm       = 5.55112e-11
  norm       = 31.8858
  Prefactor  = 2.44249e-07
  Prefactor  = 7.15884
  Prefactor  = 0
  Prefactor  = 2.53686e-08
  norm       = 5.55112e-11
  Prefactor  = 1.52933e-07
  norm       = 2.05391e-09
  norm       = 3.81917e-08
  Prefactor  = 3.69885
  Prefactor  = 100.088
  Prefactor  = 4.92162e-07
  Prefactor  = 1.08524e-07
  Normalizat = 1.86045
  Prefactor  = 0.743412
 **********
 **   18 **HESSE 
 **********

 FCN=   10369.26     FROM HESSE     STATUS=OK           439 CALLS     2421 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3473        .92367        .94264E-03   -1.5685    
   2  Prefactor     51.533        77.053        .13927E-03   -1.5564    
   3  norm          2.6312        4.1609        .62896E-03   -1.5676    
   4  norm          5.4389        5.9897        .43100E-03   -1.5661    
   5  Prefactor      .0000        1.9277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2292        1.3846        .68845E-03   -1.5678    
   7  norm          2.8953        4.6243        .59773E-03   -1.5674    
   8  Prefactor     .10403E-06    5.7537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    1.4001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.886        9.2884        .17722E-03   -1.5595    
  11  Prefactor     .24425E-06    5.0267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.1588        16.038        .37452E-03   -1.5654    
  13  Prefactor      .0000        8.8578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .25369E-07    3.6658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    2.3024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15293E-06    28.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20539E-08    7.1469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .38192E-07    3.7213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6988        3.5276        .52499E-03   -1.5669    
  20  Prefactor     100.09        58.112        .99916E-04   -1.5508    
  21  Prefactor     .49216E-06    35.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10852E-06    4.4065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8604        .21748        .70693E-01   -.68096    
  24  Prefactor     .74341        .92952E-01    .42977E-01   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57568e-06
Minuit parameter uncertainties:
  1  0.923666
  2  77.0544
  3  4.16091
  4  5.98971
  5  7.09986e-06
  6  1.38459
  7  4.62428
  8  0.00154735
  9  1.3754e-05
  10  9.28843
  11  0.0022161
  12  16.0385
  13  2.22506e-05
  14  0.000609901
  15  2.67856e-05
  16  0.00418722
  17  0.000242027
  18  0.000754165
  19  3.52759
  20  58.1124
  21  0.00834866
  22  0.0013829
  23  0.217593
  24  0.0929711
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.159e+00  1.604e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.434e-01  9.297e-02  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.860e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 8.48991000234e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00651659535669 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36565636/likelihoodResults_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.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) = 10369.0531707
delta logL = 0.204525671837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10368.9892025
delta logL = 0.268493819112

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10368.99     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      282 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43069        7.6847        .86041E-03    .27949E-01
   2  Index         4.5687        2.7912        .13105        .20835E-03
   3  Normalizat    1.7909        .43696E-01    .71758E-01   -.15623E-04
   4  Prefactor     .76431        .19041E-01    .43252E-01    .46234E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.430689
  Index      = 4.56871
  Normalizat = 1.79092
  Prefactor  = 0.764308
 **********
 **   18 **HESSE 
 **********

 FCN=   10368.99     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      315 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43069        26.991        .73810E-05   -1.5695    
   2  Index         4.5687        7.2769        .79174E-02   -.86366E-01
   3  Normalizat    1.7909        .19703        .31745E-03   -.69901    
   4  Prefactor     .76431        .83407E-01    .99769E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09762e-06
Minuit parameter uncertainties:
  1  6.81898
  2  7.77943
  3  0.197114
  4  0.0834207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10368.9892009
delta logL = 0.268495459033

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  4.307e-01  6.819e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  4.569e+00  7.779e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  7.643e-01  8.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.791e+00  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.756 -24.009

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/36565636/cmap_HighResolution_809568001_809827201_4FGL_J1339.0-2400_daily_bin2200.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2026-08-31 12:41:32.958233', job_id='36565636', GAL2='0.76', fit_tolerance='1e-08', EG2='1.79', EG='1.86', time_epoch_completed='1788205292.96', return_code2='102', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.68e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2200' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 31 12:41:33 PDT 2026

