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


Performing analysis on: 4FGL_J1312.8-0425_daily_bin2169
RA = 198.217, Dec = -4.4196
tmin = 801532801, tmax = 801792001
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='27460614', job_status='RUN', time_executed='2026-05-30 10:55:26.201317', time_epoch_executed='1780163726.2' WHERE source_name='4FGL J1312.8-0425' and cadence='daily' and bin_id='2169'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27460614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27460614/ft1_4FGL_J1312.8-0425_daily_bin2169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27460614/ft1_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460614/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin2169.fits ra=198.217 dec=-4.4196 rad=12.0 tmin=801532801.0 tmax=801792001.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 2.61
user 2.04
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.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/27460614/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.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.65
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" out/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 = 7437
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1312.8-0425_daily_bin2169
RA = 198.217, Dec = -4.4196
tmin = 801532801, tmax = 801792001
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='27460698', job_status='RUN', time_executed='2026-05-30 10:56:13.953856', time_epoch_executed='1780163773.95' WHERE source_name='4FGL J1312.8-0425' and cadence='daily' and bin_id='2169'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27460698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27460698/ft1_4FGL_J1312.8-0425_daily_bin2169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27460698/ft1_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460698/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin2169.fits ra=198.217 dec=-4.4196 rad=12.0 tmin=801532801.0 tmax=801792001.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 2.18
user 1.78
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.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/27460698/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.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.61
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" oufile=/lscratch/kocevski/27460614/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits
.....................!
real 8.70
user 8.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27460614/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460614/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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/27460614/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
.....................!
real 71.24
user 66.08
sys 4.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J1312.8-0425 @ 198.217 -4.4196

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460614/cmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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=198.217 yref=-4.4196 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.76
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460614/cmap_HighResolution_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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=198.217 yref=-4.4196 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.75
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27460614/Model_4FGL_J1312.8-0425_daily_bin2169.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_tfile=/lscratch/kocevski/27460698/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits
.....................!
real 7.62
user 6.98
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27460698/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460698/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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/27460698/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
.....................!
real 60.62
user 56.25
sys 3.61

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

Setting source of interest to:
4FGL J1312.8-0425 @ 198.217 -4.4196

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460698/cmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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=198.217 yref=-4.4196 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.67
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits outfile=/lscratch/kocevski/27460698/cmap_HighResolution_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.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=198.217 yref=-4.4196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27460698/Model_4FGL_J1312.8-0425_daily_bin2169.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALV02
Working on...
/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits.....................!
real 22.28
user 20.85
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits', '/lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits', expMap='/lscratch/kocevski/27460614/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits', expCube='/lscratch/kocevski/27460614/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27460614/Model_4FGL_J1312.8-0425_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.8-0425'

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  7.815e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27460614/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27460614/ft2_4FGL_J1312.8-0425_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27460614/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27460614/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27460614/Model_4FGL_J1312.8-0425_daily_bin2169.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) = 6252.369664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8730       1.0000          .0000       .10000E+07
     2 'Prefactor '    43.495       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13385E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    32.593       1.0000          .0000       .10000E+07
     5 'norm      '    .12196E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .47468       1.0000          .0000       .10000E+07
     7 'Prefactor '    47.641       1.0000          .0000       .10000E+07
     8 'norm      '    3.0118       1.0000          .0000       .10000E+07
     9 'norm      '    2.6323       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.3611       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37987E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.9193       1.0000          .0000       .10000E+07
    13 'Prefactor '    34.679       1.0000          .0000       .10000E+07
    14 'norm      '    .60373       1.0000          .0000       .10000E+07
    15 'norm      '    8.0952       1.0000          .0000       .10000E+07
    16 'norm      '    9.9071       1.0000          .0000       .10000E+07
    17 'norm      '    .55106E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72369       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17701E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2446       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6252.357     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1669 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8691        6.9815       -.30599E-05    .14449E-02
   2  Prefactor     42.975        2.7325        .40387E-06   -.16967E-02
   3  Prefactor     .55511E-10    3.4310        .12050E-06** at limit **
   4  Prefactor     32.085        21.970       -.13937E-05    .88691E-01
   5  norm          .14877E-07    8.1360        .13599E-05** at limit **
   6  norm          .47533        .24440       -.43464E-07    .60018E-02
   7  Prefactor     47.639        1.2743       -.94571E-07    .28676E-01
   8  norm          3.0425        6.3077       -.33561E-05   -.45831E-01
   9  norm          2.6370        3.3824       -.16341E-05    .11254E-01
  10  Prefactor     7.3942        2.8405        .72004E-08    .63974E-01
  11  Prefactor     .17208E-08    6.7298       -.28143E-06** at limit **
  12  Prefactor     3.8805        5.6824        .63357E-06   -.19384E-02
  13  Prefactor     34.062        24.764       -.13022E-05   -.69472E-01
  14  norm          .60339        .92564       -.12041E-06    .16816E-02
  15  norm          8.1194        5.7636       -.30291E-07   -.11525E-01
  16  norm          9.9256        2.5375        .48699E-06    .39120E-01
  17  norm          .85487E-08    9.7939       -.66640E-07** at limit **
  18  Prefactor     .71432        2.8034        .29373E-05   -.37103E-01
  19  Prefactor     .22204E-09    17.008        .84523E-05** at limit **
  20  Normalizat    1.2457        .27838       -.42078E-04   -.90616E-04
  21  Prefactor     .99751        .19373        .19154E-04   -.12827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86915
  Prefactor  = 42.9753
  Prefactor  = 5.55112e-11
  Prefactor  = 32.0855
  norm       = 1.4877e-08
  norm       = 0.475329
  Prefactor  = 47.6388
  norm       = 3.0425
  norm       = 2.63704
  Prefactor  = 7.39421
  Prefactor  = 1.72085e-09
  Prefactor  = 3.8805
  Prefactor  = 34.0616
  norm       = 0.603385
  norm       = 8.11939
  norm       = 9.92557
  norm       = 8.54872e-09
  Prefactor  = 0.714318
  Prefactor  = 2.22045e-10
  Normalizat = 1.2457
  Prefactor  = 0.99751
 **********
 **   18 **HESSE 
 **********

 FCN=   6252.357     FROM HESSE     STATUS=OK           367 CALLS     2036 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8691        7.0291        .59942E-03   -1.5674    
   2  Prefactor     42.975        19.404        .15164E-03   -1.5577    
   3  Prefactor     .55511E-10    3.4291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.085        35.141        .17519E-03   -1.5595    
   5  norm          .14877E-07    8.2729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .47533        .25524        .59778E-03   -1.5694    
   7  Prefactor     47.639        71.114        .14489E-03   -1.5570    
   8  norm          3.0425        9.3662        .58457E-03   -1.5673    
   9  norm          2.6370        10.009        .62824E-03   -1.5675    
  10  Prefactor     7.3942        11.919        .36944E-03   -1.5654    
  11  Prefactor     .17208E-08    6.7513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8805        5.7067        .50935E-03   -1.5669    
  13  Prefactor     34.062        31.710        .16983E-03   -1.5591    
  14  norm          .60339        .94585        .68895E-03   -1.5692    
  15  norm          8.1194        7.1643        .35214E-03   -1.5651    
  16  norm          9.9256        9.0235        .31812E-03   -1.5645    
  17  norm          .85487E-08    9.8573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .71432        8.1483        .58806E-03   -1.5691    
  19  Prefactor     .22204E-09    17.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2457        .23740        .70309E-01   -.85202    
  21  Prefactor     .99751        .16574        .46233E-01   -.92813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02075e-07
Minuit parameter uncertainties:
  1  7.02912
  2  19.4037
  3  1.99055e-05
  4  35.1414
  5  0.000701022
  6  0.255244
  7  71.115
  8  9.36625
  9  10.0095
  10  11.9194
  11  0.000214164
  12  5.70667
  13  31.7097
  14  0.945851
  15  7.16435
  16  9.02355
  17  0.000581012
  18  4.82514
  19  0.000124244
  20  0.237608
  21  0.165824
Done.

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

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  3.043e+00  9.366e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  9.975e-01  1.658e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.246e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 198.217 -4.420
Photon Flux Upper Limit: 9.69200154952e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59275687724e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27460614/likelihoodResults_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6251.51903066
delta logL = 0.838079521146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6251.50330028
delta logL = 0.853809896481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9780       1.0000          .0000       .10000E+07
     2 'alpha     '    4.3764       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6251.503     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9757        39.245        .73675E-03    .51103E-02
   2  alpha         4.3772        2.8342        .50000        .31231E-04
   3  Normalizat    1.1307        .83521E-01    .73214E-01    .95020E-05
   4  Prefactor     1.0479        .58503E-01    .40032E-01    .10712E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97572
  alpha      = 4.37721
  Normalizat = 1.13066
  Prefactor  = 1.04795
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.503     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9757        62.086        .85175E-05   -1.5680    
   2  alpha         4.3772        2.5436        .30576E-01    .84940    
   3  Normalizat    1.1307        .25904        .32400E-03   -.88773    
   4  Prefactor     1.0479        .18110        .23264E-03   -.91148    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.50905e-07
Minuit parameter uncertainties:
  1  22.1512
  2  7.90704
  3  0.25933
  4  0.181208
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) = 6251.50330019
delta logL = 0.853809987922

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  1.976e+00  2.215e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  4.377e+00  7.907e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.048e+00  1.812e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.131e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 198.217 -4.420
Photon Index (Free Index): 4.38 +/- 7.91
Photon Flux (Free Index): 9.97e-08 +/- 8.52e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27460614/cmap_HighResolution_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', comment='SUCCESS', energy_flux2='1.48e-05', dlogl='8.54e-01', photon_flux2='9.97e-08', job_status='DONE', time_completed='2026-05-30 11:00:00.216492', photon_index_error2='7.91', photon_index2='4.38', ts='0.14', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.69e-08', energy_flux_error2='1.75e-05', EG='1.25', time_epoch_completed='1780164000.22', return_code='0', job_id='27460614', GAL2='1.05', EG2='1.13', return_code2='102', photon_flux_error2='8.52e-08', ts2='2.00', photon_index='2.21' WHERE bin_id='2169' AND source_name='4FGL J1312.8-0425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 11:00:00 PDT 2026

_V02
Working on...
/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits.....................!
real 18.94
user 17.39
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits', '/lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits', expMap='/lscratch/kocevski/27460698/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits', expCube='/lscratch/kocevski/27460698/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27460698/Model_4FGL_J1312.8-0425_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.8-0425'

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  7.815e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27460698/ft1_filtered_4FGL_J1312.8-0425_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27460698/ft2_4FGL_J1312.8-0425_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27460698/expmap_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27460698/ltcube_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27460698/Model_4FGL_J1312.8-0425_daily_bin2169.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) = 6252.369664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8730       1.0000          .0000       .10000E+07
     2 'Prefactor '    43.495       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13385E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    32.593       1.0000          .0000       .10000E+07
     5 'norm      '    .12196E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .47468       1.0000          .0000       .10000E+07
     7 'Prefactor '    47.641       1.0000          .0000       .10000E+07
     8 'norm      '    3.0118       1.0000          .0000       .10000E+07
     9 'norm      '    2.6323       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.3611       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37987E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.9193       1.0000          .0000       .10000E+07
    13 'Prefactor '    34.679       1.0000          .0000       .10000E+07
    14 'norm      '    .60373       1.0000          .0000       .10000E+07
    15 'norm      '    8.0952       1.0000          .0000       .10000E+07
    16 'norm      '    9.9071       1.0000          .0000       .10000E+07
    17 'norm      '    .55106E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72369       1.0000          .0000       .10000E+07
    19 'Prefactor '    .17701E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2446       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99728       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6252.357     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1669 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8691        6.9815       -.30599E-05    .14449E-02
   2  Prefactor     42.975        2.7325        .40387E-06   -.16967E-02
   3  Prefactor     .55511E-10    3.4310        .12050E-06** at limit **
   4  Prefactor     32.085        21.970       -.13937E-05    .88691E-01
   5  norm          .14877E-07    8.1360        .13599E-05** at limit **
   6  norm          .47533        .24440       -.43464E-07    .60018E-02
   7  Prefactor     47.639        1.2743       -.94571E-07    .28676E-01
   8  norm          3.0425        6.3077       -.33561E-05   -.45831E-01
   9  norm          2.6370        3.3824       -.16341E-05    .11254E-01
  10  Prefactor     7.3942        2.8405        .72004E-08    .63974E-01
  11  Prefactor     .17208E-08    6.7298       -.28143E-06** at limit **
  12  Prefactor     3.8805        5.6824        .63357E-06   -.19384E-02
  13  Prefactor     34.062        24.764       -.13022E-05   -.69472E-01
  14  norm          .60339        .92564       -.12041E-06    .16816E-02
  15  norm          8.1194        5.7636       -.30291E-07   -.11525E-01
  16  norm          9.9256        2.5375        .48699E-06    .39120E-01
  17  norm          .85487E-08    9.7939       -.66640E-07** at limit **
  18  Prefactor     .71432        2.8034        .29373E-05   -.37103E-01
  19  Prefactor     .22204E-09    17.008        .84523E-05** at limit **
  20  Normalizat    1.2457        .27838       -.42078E-04   -.90616E-04
  21  Prefactor     .99751        .19373        .19154E-04   -.12827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86915
  Prefactor  = 42.9753
  Prefactor  = 5.55112e-11
  Prefactor  = 32.0855
  norm       = 1.4877e-08
  norm       = 0.475329
  Prefactor  = 47.6388
  norm       = 3.0425
  norm       = 2.63704
  Prefactor  = 7.39421
  Prefactor  = 1.72085e-09
  Prefactor  = 3.8805
  Prefactor  = 34.0616
  norm       = 0.603385
  norm       = 8.11939
  norm       = 9.92557
  norm       = 8.54872e-09
  Prefactor  = 0.714318
  Prefactor  = 2.22045e-10
  Normalizat = 1.2457
  Prefactor  = 0.99751
 **********
 **   18 **HESSE 
 **********

 FCN=   6252.357     FROM HESSE     STATUS=OK           367 CALLS     2036 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8691        7.0291        .59942E-03   -1.5674    
   2  Prefactor     42.975        19.404        .15164E-03   -1.5577    
   3  Prefactor     .55511E-10    3.4291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.085        35.141        .17519E-03   -1.5595    
   5  norm          .14877E-07    8.2729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .47533        .25524        .59778E-03   -1.5694    
   7  Prefactor     47.639        71.114        .14489E-03   -1.5570    
   8  norm          3.0425        9.3662        .58457E-03   -1.5673    
   9  norm          2.6370        10.009        .62824E-03   -1.5675    
  10  Prefactor     7.3942        11.919        .36944E-03   -1.5654    
  11  Prefactor     .17208E-08    6.7513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8805        5.7067        .50935E-03   -1.5669    
  13  Prefactor     34.062        31.710        .16983E-03   -1.5591    
  14  norm          .60339        .94585        .68895E-03   -1.5692    
  15  norm          8.1194        7.1643        .35214E-03   -1.5651    
  16  norm          9.9256        9.0235        .31812E-03   -1.5645    
  17  norm          .85487E-08    9.8573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .71432        8.1483        .58806E-03   -1.5691    
  19  Prefactor     .22204E-09    17.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2457        .23740        .70309E-01   -.85202    
  21  Prefactor     .99751        .16574        .46233E-01   -.92813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02075e-07
Minuit parameter uncertainties:
  1  7.02912
  2  19.4037
  3  1.99055e-05
  4  35.1414
  5  0.000701022
  6  0.255244
  7  71.115
  8  9.36625
  9  10.0095
  10  11.9194
  11  0.000214164
  12  5.70667
  13  31.7097
  14  0.945851
  15  7.16435
  16  9.02355
  17  0.000581012
  18  4.82514
  19  0.000124244
  20  0.237608
  21  0.165824
Done.

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

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  3.043e+00  9.366e+00  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  9.975e-01  1.658e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.246e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 198.217 -4.420
Photon Flux Upper Limit: 9.69200154952e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59275687724e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27460698/likelihoodResults_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6251.51903066
delta logL = 0.838079521146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6251.50330028
delta logL = 0.853809896481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9780       1.0000          .0000       .10000E+07
     2 'alpha     '    4.3764       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6251.503     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      229 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9757        39.245        .73675E-03    .51103E-02
   2  alpha         4.3772        2.8342        .50000        .31231E-04
   3  Normalizat    1.1307        .83521E-01    .73214E-01    .95020E-05
   4  Prefactor     1.0479        .58503E-01    .40032E-01    .10712E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97572
  alpha      = 4.37721
  Normalizat = 1.13066
  Prefactor  = 1.04795
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.503     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9757        62.086        .85175E-05   -1.5680    
   2  alpha         4.3772        2.5436        .30576E-01    .84940    
   3  Normalizat    1.1307        .25904        .32400E-03   -.88773    
   4  Prefactor     1.0479        .18110        .23264E-03   -.91148    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.50905e-07
Minuit parameter uncertainties:
  1  22.1512
  2  7.90704
  3  0.25933
  4  0.181208
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) = 6251.50330019
delta logL = 0.853809987922

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  1.976e+00  2.215e+01  0.000e+00  1.000e+06 ( 1.000e-12)
312        alpha:  4.377e+00  7.907e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  1.653e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.048e+00  1.812e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.131e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 198.217 -4.420
Photon Index (Free Index): 4.38 +/- 7.91
Photon Flux (Free Index): 9.97e-08 +/- 8.52e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27460698/cmap_HighResolution_801532801_801792001_4FGL_J1312.8-0425_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', comment='SUCCESS', energy_flux2='1.48e-05', dlogl='8.54e-01', photon_flux2='9.97e-08', job_status='DONE', time_completed='2026-05-30 11:00:45.507121', photon_index_error2='7.91', photon_index2='4.38', ts='0.14', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.69e-08', energy_flux_error2='1.75e-05', EG='1.25', time_epoch_completed='1780164045.51', return_code='0', job_id='27460698', GAL2='1.05', EG2='1.13', return_code2='102', photon_flux_error2='8.52e-08', ts2='2.00', photon_index='2.21' WHERE bin_id='2169' AND source_name='4FGL J1312.8-0425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 11:00:45 PDT 2026

