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


Performing analysis on: 4FGL_J1224.7-8313_daily_bin2114
RA = 186.199, Dec = -83.2259
tmin = 787276801, tmax = 787536001
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='17372206', job_status='RUN', time_executed='2025-12-16 00:59:12.999135', time_epoch_executed='1765875553.0' WHERE source_name='4FGL J1224.7-8313' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17372206

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17372206/ft1_4FGL_J1224.7-8313_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17372206/ft1_4FGL_J1224.7-8313_daily_bin2114.fits outfile=/lscratch/kocevski/17372206/ft1_filteredMKT_4FGL_J1224.7-8313_daily_bin2114.fits ra=186.199 dec=-83.2259 rad=12.0 tmin=787276801.0 tmax=787536001.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.55
user 1.78
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.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/17372206/ft1_filteredMKT_4FGL_J1224.7-8313_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.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.76
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1305

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17372206/ltcube_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.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/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits
.....................!
real 8.82
user 7.99
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17372206/ltcube_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits outfile=/lscratch/kocevski/17372206/expmap_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.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/17372206/ltcube_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits
.....................!
real 66.81
user 61.78
sys 3.91

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 FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Added 216 point sources and 4 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 J1224.7-8313 @ 186.199 -83.2259

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits outfile=/lscratch/kocevski/17372206/cmap_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.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.199 yref=-83.2259 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.90
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits outfile=/lscratch/kocevski/17372206/cmap_HighResolution_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.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.199 yref=-83.2259 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.86
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17372206/Model_4FGL_J1224.7-8313_daily_bin2114.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 J1213.3-6240
adding source FHES J1501.0-6310
adding source GAL_V02
adding source HESS J1303-631
adding source HESS J1356-645
Working on...
/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits.....................!
real 64.37
user 62.65
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits', '/lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits', expMap='/lscratch/kocevski/17372206/expmap_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits', expCube='/lscratch/kocevski/17372206/ltcube_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17372206/Model_4FGL_J1224.7-8313_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.7-8313'

4FGL J1224.7-8313
   Spectrum: PowerLaw
308    Prefactor:  2.420e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.702e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17372206/ft1_filtered_4FGL_J1224.7-8313_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17372206/ft2_4FGL_J1224.7-8313_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17372206/expmap_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17372206/ltcube_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17372206/Model_4FGL_J1224.7-8313_daily_bin2114.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) = 13123.2621244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36082E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .61784E-07   1.0000          .0000       .10000E+07
     4 'norm      '    2.5743       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.7274       1.0000          .0000       .10000E+07
     6 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17381E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1414       1.0000          .0000       .10000E+07
     9 'norm      '    9.5363       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33502E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .15408E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.308       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4355       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .93021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13123.19     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1296 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.6937        .20739E-07** at limit **
   2  Prefactor      .0000        18.757        .10433E-06** at limit **
   3  Prefactor      .0000        16.434       -.12353E-06** at limit **
   4  norm          2.5743        3.1530       -.34828E-07   -.20053E-03
   5  Prefactor     7.7267        5.0500       -.47504E-08    .13182E-03
   6  Prefactor      .0000        36.412        .86584E-08** at limit **
   7  Prefactor      .0000        15.541        .13209E-06** at limit **
   8  Prefactor     2.0735        147.58       -.84835E-07   -.10108E-03
   9  norm          9.5131        26.699       -.35676E-07   -.36529E-04
  10  Prefactor     .89536E-02    166.77       -.26577E-06** at limit **
  11  Prefactor      .0000        3.8236        .18439E-07** at limit **
  12  norm           .0000        1.5189       -.15790E-06** at limit **
  13  Prefactor     16.330        22.367       -.90833E-07    .35744E-03
  14  Normalizat    1.4358        .27649       -.55861E-05   -.38480E-04
  15  Prefactor     .93014        .71928E-01    .15495E-05   -.21644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.57429
  Prefactor  = 7.72667
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.07354
  norm       = 9.51314
  Prefactor  = 0.00895361
  Prefactor  = 0
  norm       = 0
  Prefactor  = 16.3296
  Normalizat = 1.43583
  Prefactor  = 0.930138
 **********
 **   18 **HESSE 
 **********

 FCN=   13123.19     FROM HESSE     STATUS=OK           190 CALLS     1486 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.7037        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        18.825        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        16.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5743        3.1509        .21883E-04   -1.5676    
   5  Prefactor     7.7267        5.0416        .14420E-04   -1.5652    
   6  Prefactor      .0000        36.487        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        15.627        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0735        146.38        .28161E-04   -1.5679    
   9  norm          9.5131        26.694        .12971E-04   -1.5646    
  10  Prefactor     .89536E-02    2.1215        .48808E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.8293        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.5244        .14711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.330        22.339        .99099E-05   -1.5627    
  14  Normalizat    1.4358        .27963        .43965E-03   -.79598    
  15  Prefactor     .93014        .73070E-01    .14271E-03   -.95096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31214e-10
Minuit parameter uncertainties:
  1  3.77294e-06
  2  3.09497e-05
  3  2.77219e-06
  4  3.15089
  5  5.04163
  6  4.0397e-06
  7  2.53635e-05
  8  34.8448
  9  26.6939
  10  0.275643
  11  2.84244e-06
  12  6.27215e-06
  13  22.3394
  14  0.279932
  15  0.0730774
Done.

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

Extracting fit parameters...

4FGL J1224.7-8313
   Spectrum: PowerLaw
308    Prefactor:  7.727e+00  5.042e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  6.702e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  9.301e-01  7.308e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.436e+00  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.14
Ra Dec: 186.199 -83.226
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 7.15e-08 +/- 4.66e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.18e-05

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) = 13123.0696872
delta logL = 0.120930069354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13123.0644296
delta logL = 0.126187724434

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13123.06     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      269 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0359        144.91        .33354E-03    .99644E-03
   2  Index         2.3470        6.1578        .24123        .69113E-04
   3  Normalizat    1.4525        .11988        .98771E-01    .43636E-04
   4  Prefactor     .92756        .25963E-01    .32337E-01   -.43227E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.03595
  Index      = 2.34704
  Normalizat = 1.45251
  Prefactor  = 0.927555
 **********
 **   18 **HESSE 
 **********

 FCN=   13123.06     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0359        6.2732        .13342E-04   -1.5648    
   2  Index         2.3470        .57243        .10343E-01   -.55930    
   3  Normalizat    1.4525        .26955        .43757E-03   -.79122    
   4  Prefactor     .92756        .72225E-01    .14288E-03   -.95185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.18229e-12
Minuit parameter uncertainties:
  1  6.2732
  2  0.57419
  3  0.269815
  4  0.0722323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13123.06441
delta logL = 0.126207294619

Extracting fit parameters...

4FGL J1224.7-8313
   Spectrum: PowerLaw
308    Prefactor:  9.036e+00  6.273e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  2.347e+00  5.742e-01  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  6.702e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  9.276e-01  7.223e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  1.453e+00  2.698e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.38
Ra Dec: 186.199 -83.226
Photon Index (Free Index): 2.35 +/- 0.57
Photon Flux (Free Index): 5.83e-08 +/- 4.83e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.55e-05

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/17372206/cmap_HighResolution_787276801_787536001_4FGL_J1224.7-8313_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.15e-08', energy_flux2='2.06e-05', photon_flux_error='4.66e-08', dlogl='1.26e-01', energy_flux='1.81e-05', photon_flux2='5.83e-08', job_status='DONE', time_completed='2025-12-16 01:07:02.462712', photon_index_error2='0.57', photon_index2='2.35', ts='4.14', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.44', time_epoch_completed='1765876022.46', return_code='0', job_id='17372206', GAL2='0.93', EG2='1.45', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.83e-08', ts2='4.38', photon_index='2.64' WHERE bin_id='2114' AND source_name='4FGL J1224.7-8313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:07:03 PST 2025

