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

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1225.6-7313_daily_bin2124
RA = 186.408, Dec = -73.2323
tmin = 789868801, tmax = 790128001
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='18996943', job_status='RUN', time_executed='2026-01-15 00:41:03.454536', time_epoch_executed='1768466463.45' WHERE source_name='4FGL J1225.6-7313' and cadence='daily' and bin_id='2124'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18996943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18996943/ft1_4FGL_J1225.6-7313_daily_bin2124.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18996943/ft1_4FGL_J1225.6-7313_daily_bin2124.fits outfile=/lscratch/kocevski/18996943/ft1_filteredMKT_4FGL_J1225.6-7313_daily_bin2124.fits ra=186.408 dec=-73.2323 rad=12.0 tmin=789868801.0 tmax=790128001.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 1.78
user 1.27
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.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/18996943/ft1_filteredMKT_4FGL_J1225.6-7313_daily_bin2124.fits evtable="EVENTS" outfile="/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.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.74
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 4676

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18996943/ltcube_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.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/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits
.....................!
real 7.72
user 7.01
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits evtable="EVENTS" scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18996943/ltcube_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits outfile=/lscratch/kocevski/18996943/expmap_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.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/18996943/ltcube_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits
.....................!
real 59.77
user 55.55
sys 3.57

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 FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Extended source HESS J1303-631 in ROI with RadialGaussian spatial model.
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Added 301 point sources and 13 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 J1225.6-7313 @ 186.408 -73.2323

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits outfile=/lscratch/kocevski/18996943/cmap_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.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=186.408 yref=-73.2323 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.98
user 0.23
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits outfile=/lscratch/kocevski/18996943/cmap_HighResolution_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.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=186.408 yref=-73.2323 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.93
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits evtable="EVENTS" scfile=/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18996943/Model_4FGL_J1225.6-7313_daily_bin2124.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source FGES J1409.1-6121
adding source FHES J1501.0-6310
adding source G296.5+10.0
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source MSH 15-52
adding source RCW 86
adding source Westerlund 2
Working on...
/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits.....................!
real 251.81
user 249.34
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits', '/lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits', expMap='/lscratch/kocevski/18996943/expmap_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits', expCube='/lscratch/kocevski/18996943/ltcube_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18996943/Model_4FGL_J1225.6-7313_daily_bin2124.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.6-7313'

4FGL J1225.6-7313
   Spectrum: PowerLaw
487    Prefactor:  5.635e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
488        Index:  2.167e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
489        Scale:  2.577e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18996943/ft1_filtered_4FGL_J1225.6-7313_daily_bin2124.fits
Spacecraft file(s): /lscratch/kocevski/18996943/ft2_4FGL_J1225.6-7313_daily_bin2124.fits
Exposure map: /lscratch/kocevski/18996943/expmap_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits
Exposure cube: /lscratch/kocevski/18996943/ltcube_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18996943/Model_4FGL_J1225.6-7313_daily_bin2124.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) = 42644.7388476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.124       1.0000          .0000       .10000E+07
     2 'norm      '    .97400E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    55.179       1.0000          .0000       .10000E+07
     4 'norm      '    4.7416       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.6789       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27537E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    12.855       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.892       1.0000          .0000       .10000E+07
     9 'Prefactor '    41.816       1.0000          .0000       .10000E+07
    10 'norm      '    .11706E-04   1.0000          .0000       .10000E+07
    11 'norm      '    21.811       1.0000          .0000       .10000E+07
    12 'norm      '    1.6432       1.0000          .0000       .10000E+07
    13 'Normalizat'    .94477       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .96146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1128E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42644.73     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      961 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.290        66.865        .17910E-06   -.37382E-03
   2  norm           .0000        .56696        .45515E-07** at limit **
   3  Prefactor     55.197        17.493       -.31761E-07   -.47552E-01
   4  norm          4.7242        5.7219       -.20874E-06    .49078E-03
   5  Prefactor     5.6778        3.9005       -.16326E-06    .37124E-03
   6  Prefactor     .11102E-09    20.161        .16027E-05** at limit **
   7  Prefactor     12.693        11.883       -.32909E-06    .58254E-03
   8  Prefactor     13.885        13.380       -.79159E-07    .10341E-01
   9  Prefactor     41.731        12.880       -.13499E-06   -.25749E-02
  10  norm           .0000        8.1146       -.29896E-06** at limit **
  11  norm          21.821        6.9859       -.20271E-07    .50424E-01
  12  norm          1.6484        2.7006        .75944E-07   -.45379E-03
  13  Normalizat    .94552        .18231        .51898E-05   -.12566E-04
  14  Prefactor     .96146        .25663E-01   -.53916E-06    .60111E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.2899
  norm       = 0
  Prefactor  = 55.1972
  norm       = 4.72423
  Prefactor  = 5.67784
  Prefactor  = 1.11022e-10
  Prefactor  = 12.693
  Prefactor  = 13.8851
  Prefactor  = 41.7308
  norm       = 0
  norm       = 21.8214
  norm       = 1.64844
  Normalizat = 0.945519
  Prefactor  = 0.961459
 **********
 **   18 **HESSE 
 **********

 FCN=   42644.73     FROM HESSE     STATUS=OK           198 CALLS     1159 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.290        67.368        .14888E-03   -1.5576    
   2  norm           .0000        .56676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     55.197        23.215        .13463E-03   -1.5559    
   4  norm          4.7242        5.7576        .46184E-03   -1.5664    
   5  Prefactor     5.6778        3.9136        .42128E-03   -1.5660    
   6  Prefactor     .11102E-09    20.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.693        11.923        .27912E-03   -1.5637    
   8  Prefactor     13.885        21.536        .26847E-03   -1.5633    
   9  Prefactor     41.731        13.101        .15466E-03   -1.5579    
  10  norm           .0000        8.0620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          21.821        19.805        .21418E-03   -1.5615    
  12  norm          1.6484        2.7324        .82380E-03   -1.5682    
  13  Normalizat    .94552        .18686        .19493       -.94879    
  14  Prefactor     .96146        .25625E-01    .26795E-01   -.94025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76711e-06
Minuit parameter uncertainties:
  1  67.3691
  2  4.38625e-07
  3  23.2155
  4  5.7576
  5  3.91362
  6  9.38472e-05
  7  11.9226
  8  21.5364
  9  13.1005
  10  1.50038e-05
  11  19.8054
  12  2.73236
  13  0.18699
  14  0.0256255
Done.

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

Extracting fit parameters...

4FGL J1225.6-7313
   Spectrum: PowerLaw
487    Prefactor:  1.110e-10  9.385e-05  0.000e+00  1.000e+06 ( 1.000e-14)
488        Index:  2.167e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
489        Scale:  2.577e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1104    Prefactor:  9.615e-01  2.563e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1105        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1106        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1081   Normalization:  9.455e-01  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.408 -73.232
Photon Flux Upper Limit: 5.03018118137e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00382293866484 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18996943/likelihoodResults_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.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) = 42644.7517209
delta logL = -0.0242607470063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 42644.7274602
delta logL = -1.28566171043e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94924E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4060       1.0000          .0000       10.000    
     3 'Normalizat'    .94552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1128E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42644.73     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      210 TOTAL
                     EDM=   .10E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.182       -.79391E-06** at limit **
   2  Index         1.9753        3.1478        .97266E-05     .0000    
   3  Normalizat    .94552        .17241       -.83509E-06    .51520E-05
   4  Prefactor     .96146        .24074E-01   -.23533E-06   -.17678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.97528
  Normalizat = 0.945519
  Prefactor  = 0.961459
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   42644.73     FROM HESSE     STATUS=FAILED        11 CALLS      221 TOTAL
                     EDM=   .10E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        23.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .41659        1.7027        .97266E-05   -.64970    
   3  Normalizat    .94552        1.2785       -.83509E-06   -.94879    
   4  Prefactor     .96146        1.3030       -.23533E-06   -.94025    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.00576e-13
Minuit parameter uncertainties:
  1  3.36579e-06
  2  1.2334
  3  1.32369
  4  1.34966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

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

Extracting fit parameters...

4FGL J1225.6-7313
   Spectrum: PowerLaw
487    Prefactor:  0.000e+00  3.366e-06  0.000e+00  1.000e+06 ( 1.000e-14)
488        Index:  1.975e+00  1.233e+00  0.000e+00  1.000e+01 (-1.000e+00)
489        Scale:  2.577e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1104    Prefactor:  9.615e-01  1.350e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1105        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1106        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1081   Normalization:  9.455e-01  1.324e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.408 -73.232

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/18996943/cmap_HighResolution_789868801_790128001_4FGL_J1225.6-7313_daily_bin2124.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-03', job_status='DONE', photon_flux_upper_limit='5.03e-08', time_completed='2026-01-15 01:03:01.317390', job_id='18996943', GAL2='0.96', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1768467781.32', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='2124' AND source_name='4FGL J1225.6-7313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 15 01:03:01 PST 2026

