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


Performing analysis on: 4FGL_J1226.8-1329_weekly_bin946
RA = 186.719, Dec = -13.494
tmin = 811123201, tmax = 811728001
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='38798711', job_status='RUN', time_executed='2026-09-22 09:44:26.012263', time_epoch_executed='1790095466.01' WHERE source_name='4FGL J1226.8-1329' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38798711

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38798711/ft1_4FGL_J1226.8-1329_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38798711/ft1_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798711/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits ra=186.719 dec=-13.494 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.53
user 3.79
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.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/38798711/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.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.69
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA"/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 = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1226.8-1329_weekly_bin946
RA = 186.719, Dec = -13.494
tmin = 811123201, tmax = 811728001
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='38798715', job_status='RUN', time_executed='2026-09-22 09:44:39.985388', time_epoch_executed='1790095479.99' WHERE source_name='4FGL J1226.8-1329' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38798715

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38798715/ft1_4FGL_J1226.8-1329_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38798715/ft1_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798715/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits ra=186.719 dec=-13.494 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.81
user 4.07
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.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/38798715/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.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.71
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38798649/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 19.08
user 18.21
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798649/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798649/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798649/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 68.61
user 63.83
sys 4.07

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798649/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.70
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798649/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.65
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798649/Model_4FGL_J1226.8-1329_weekly_bin946.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_V02
Working on...
/lscratch/kocevski/38798581/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 38.71
user 37.16
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798581/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798581/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798581/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798581/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798581/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798581/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798581/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798581/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798581/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798581/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
e GAL_V02
Working on...
/lscratch/kocevski/38798591/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 39.43
user 37.58
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798591/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798591/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798591/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798591/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798591/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798591/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798591/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798591/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798591/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798591/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1226.8-1329_weekly_bin946
RA = 186.719, Dec = -13.494
tmin = 811123201, tmax = 811728001
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='38798781', job_status='RUN', time_executed='2026-09-22 09:45:51.643388', time_epoch_executed='1790095551.64' WHERE source_name='4FGL J1226.8-1329' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38798781

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38798781/ft1_4FGL_J1226.8-1329_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38798781/ft1_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798781/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits ra=186.719 dec=-13.494 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.59
user 3.99
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.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/38798781/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.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.73
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38798655/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 23.66
user 22.48
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798655/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798655/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798655/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 83.52
user 77.46
sys 4.64

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798655/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798655/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.88
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798655/Model_4FGL_J1226.8-1329_weekly_bin946.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 sourc outfile=/lscratch/kocevski/38798679/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 20.34
user 19.51
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798679/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798679/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798679/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 73.11
user 68.03
sys 4.29

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798679/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798679/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.79
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798679/Model_4FGL_J1226.8-1329_weekly_bin946.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_V02
Working on...
/lscratch/kocevski/38798597/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 39.39
user 37.41
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798597/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798597/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798597/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798597/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798597/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798597/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798597/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798597/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798597/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798597/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 outfile=/lscratch/kocevski/38798711/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 18.60
user 17.90
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798711/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798711/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798711/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 67.21
user 62.62
sys 3.94

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798711/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.61
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798711/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.63
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798711/Model_4FGL_J1226.8-1329_weekly_bin946.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_V02
Working on...
/lscratch/kocevski/38798616/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 39.25
user 37.32
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798616/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798616/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798616/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798616/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798616/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798616/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798616/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798616/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798616/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798616/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1226.8-1329_weekly_bin946
RA = 186.719, Dec = -13.494
tmin = 811123201, tmax = 811728001
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='38798839', job_status='RUN', time_executed='2026-09-22 09:46:46.108203', time_epoch_executed='1790095606.11' WHERE source_name='4FGL J1226.8-1329' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38798839

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38798839/ft1_4FGL_J1226.8-1329_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38798839/ft1_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798839/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits ra=186.719 dec=-13.494 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.77
user 4.09
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.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/38798839/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.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.68
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 outfile=/lscratch/kocevski/38798715/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 19.64
user 18.94
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798715/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798715/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798715/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 70.64
user 65.70
sys 4.19

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798715/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798715/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.84
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798715/Model_4FGL_J1226.8-1329_weekly_bin946.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_V02
Working on...
/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 37.94
user 36.00
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798649/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798649/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798649/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798649/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798649/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798649/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798649/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798649/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798581/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798581/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:50:11.901063', job_id='38798581', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095811.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:50:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798591/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798591/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:50:21.458682', job_id='38798591', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095821.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:50:21 PDT 2026

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


Performing analysis on: 4FGL_J1226.8-1329_weekly_bin946
RA = 186.719, Dec = -13.494
tmin = 811123201, tmax = 811728001
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='38798856', job_status='RUN', time_executed='2026-09-22 09:47:14.706197', time_epoch_executed='1790095634.71' WHERE source_name='4FGL J1226.8-1329' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38798856

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38798856/ft1_4FGL_J1226.8-1329_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38798856/ft1_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798856/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits ra=186.719 dec=-13.494 rad=12.0 tmin=811123201.0 tmax=811728001.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 5.02
user 4.00
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.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/38798856/ft1_filteredMKT_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.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.89
user 0.28
sys 0.10

Number of photons that the gtmktime cut: 1045

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798597/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798597/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:50:32.395089', job_id='38798597', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095832.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:50:32 PDT 2026

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

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798616/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 outfile=/lscratch/kocevski/38798781/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 19.49
user 18.74
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798781/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798781/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798781/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 70.27
user 65.30
sys 4.18

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798781/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798781/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.68
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798781/Model_4FGL_J1226.8-1329_weekly_bin946.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798616/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:50:55.040162', job_id='38798616', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095855.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:50:55 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 40.41
user 38.50
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798679/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798679/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798679/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798679/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798679/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798679/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798679/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798679/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
e GAL_V02
Working on...
/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 37.96
user 36.30
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798711/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798711/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798711/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798711/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798711/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798711/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798711/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798711/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
e GAL_V02
Working on...
/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 45.87
user 43.50
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798655/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798655/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798655/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798655/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798655/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798655/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798655/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798655/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798649/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798649/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:51:49.338307', job_id='38798649', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095909.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:51:49 PDT 2026

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

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 outfile=/lscratch/kocevski/38798839/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 20.06
user 19.23
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798839/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798839/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798839/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 72.96
user 68.02
sys 4.24

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798839/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798839/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.79
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798839/Model_4FGL_J1226.8-1329_weekly_bin946.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
e GAL_V02
Working on...
/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 38.92
user 37.05
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798715/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798715/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798715/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798715/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798715/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798715/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798715/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798715/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
 outfile=/lscratch/kocevski/38798856/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 22.16
user 21.21
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38798856/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798856/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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/38798856/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
.....................!
real 79.38
user 73.71
sys 4.54

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

Setting source of interest to:
4FGL J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798856/cmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.78
user 0.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits outfile=/lscratch/kocevski/38798856/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.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.719 yref=-13.494 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.74
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38798856/Model_4FGL_J1226.8-1329_weekly_bin946.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 sourcDone.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798679/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798679/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:53:07.651158', job_id='38798679', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790095987.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:53:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798711/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
e GAL_V02
Working on...
/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 38.80
user 36.98
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798781/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798781/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798781/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798781/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798781/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798781/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798781/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798781/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798711/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:53:24.748549', job_id='38798711', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096004.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:53:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798655/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798655/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:53:47.208494', job_id='38798655', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096027.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:53:47 PDT 2026

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

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798715/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798715/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:53:57.114494', job_id='38798715', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096037.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:53:57 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 39.66
user 37.89
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798839/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798839/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798839/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798839/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798839/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798839/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798839/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798839/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798781/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798781/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:55:05.500738', job_id='38798781', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096105.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:55:05 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits.....................!
real 45.45
user 43.19
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits', '/lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits', expMap='/lscratch/kocevski/38798856/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', expCube='/lscratch/kocevski/38798856/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38798856/Model_4FGL_J1226.8-1329_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38798856/ft1_filtered_4FGL_J1226.8-1329_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38798856/ft2_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38798856/expmap_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38798856/ltcube_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38798856/Model_4FGL_J1226.8-1329_weekly_bin946.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) = 11967.4688607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.722       1.0000          .0000       .10000E+07
     2 'norm      '    .51237E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8394       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.498       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19230E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .81374E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5476       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99997E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.359       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.2368       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35031E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.7873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.8619       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.4256       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8057       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37608E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.424       1.0000          .0000       .10000E+07
    19 'norm      '    .63325       1.0000          .0000       .10000E+07
    20 'norm      '    .16212       1.0000          .0000       .10000E+07
    21 'norm      '    .11286E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1736       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0213       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11967.44     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1855 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.571        3.3150        .21013E-07   -.11609    
   2  norm          .13600E-07    9.7973       -.19502E-07** at limit **
   3  Prefactor     4.8534        4.6736        .27091E-07   -.77841E-04
   4  Prefactor     35.517        2.0486       -.92525E-08    .62108E-01
   5  Prefactor      .0000        4.5595        .22437E-07** at limit **
   6  norm          .12212E-08    3.2181       -.10787E-06** at limit **
   7  Prefactor     3.5546        1.9233       -.21583E-07    .19091E-01
   8  Prefactor     .24425E-08    19.030       -.17004E-06** at limit **
   9  Prefactor     17.678        12.696       -.14196E-06    .48167E-01
  10  Prefactor     3.0855        91.174        .84352E-06    .13847E-02
  11  Prefactor     .13822E-07    3.2075       -.48137E-07** at limit **
  12  Prefactor     7.7866        2.0481       -.26673E-06   -.12037E-02
  13  Prefactor     .82157E-08    8.4371        .17942E-07** at limit **
  14  Prefactor     10.030        6.8538        .16767E-07   -.28546E-01
  15  Prefactor     8.3675        7.2231        .50805E-07    .24980E-01
  16  Prefactor     6.7986        2.3904        .33250E-07   -.30566E-01
  17  Prefactor     .23426E-07    27.393       -.42710E-06** at limit **
  18  Prefactor     25.603        10.826       -.85667E-07   -.79798E-01
  19  norm          .63323        .23196       -.22216E-09   -.71512E-03
  20  norm          .15280        18.392       -.20308E-06** at limit **
  21  norm          .20595E-07    3.3005        .34693E-07** at limit **
  22  Normalizat    1.1736        .22286       -.13447E-05   -.75247E-05
  23  Prefactor     1.0214        .11970        .77884E-06    .83745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.571
  norm       = 1.36002e-08
  Prefactor  = 4.8534
  Prefactor  = 35.5167
  Prefactor  = 0
  norm       = 1.22125e-09
  Prefactor  = 3.55458
  Prefactor  = 2.44249e-09
  Prefactor  = 17.6783
  Prefactor  = 3.08554
  Prefactor  = 1.38223e-08
  Prefactor  = 7.78662
  Prefactor  = 8.21565e-09
  Prefactor  = 10.0302
  Prefactor  = 8.36753
  Prefactor  = 6.79859
  Prefactor  = 2.34257e-08
  Prefactor  = 25.6025
  norm       = 0.633233
  norm       = 0.152803
  norm       = 2.05946e-08
  Normalizat = 1.17361
  Prefactor  = 1.0214
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798839/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798839/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:56:17.374271', job_id='38798839', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096177.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:56:17 PDT 2026

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

 FCN=   11967.44     FROM HESSE     STATUS=OK           424 CALLS     2279 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.571        23.780        .16733E-03   -1.5589    
   2  norm          .13600E-07    9.8321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8534        4.8361        .45705E-03   -1.5664    
   4  Prefactor     35.517        17.657        .16786E-03   -1.5589    
   5  Prefactor      .0000        4.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .12212E-08    3.2017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5546        26.653        .53639E-03   -1.5670    
   8  Prefactor     .24425E-08    19.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.678        18.419        .24012E-03   -1.5624    
  10  Prefactor     3.0855        107.99        .48929E-03   -1.5673    
  11  Prefactor     .13822E-07    3.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7866        2.0508        .35923E-02   -1.5150    
  13  Prefactor     .82157E-08    8.4902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.030        6.9007        .31885E-03   -1.5645    
  15  Prefactor     8.3675        7.2852        .34512E-03   -1.5650    
  16  Prefactor     6.7986        17.245        .38437E-03   -1.5656    
  17  Prefactor     .23426E-07    27.306        .16073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.603        47.661        .19836E-03   -1.5607    
  19  norm          .63323        .23472        .66301E-03   -1.5692    
  20  norm          .15280        1.9672        .80951E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20595E-07    3.3493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1736        .19144        .79474E-01   -.87422    
  23  Prefactor     1.0214        .10177        .42010E-01   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88063e-07
Minuit parameter uncertainties:
  1  23.78
  2  0.000731321
  3  4.83606
  4  17.6567
  5  1.08799e-05
  6  0.000125703
  7  19.4669
  8  0.00043361
  9  18.4195
  10  36.5081
  11  0.000424059
  12  2.05085
  13  0.000528301
  14  6.90074
  15  7.28516
  16  17.2454
  17  0.00159985
  18  47.6613
  19  0.234722
  20  1.09653
  21  0.000525476
  22  0.191555
  23  0.10179
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.382e-08  4.241e-04  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.021e+00  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.174e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 6.08969031596e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00456659758078 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38798856/likelihoodResults_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11967.4454161
delta logL = -0.000550508062588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11967.3642743
delta logL = 0.0805913247441

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11967.36     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55788E-01    1.0988        .10098E-02** at limit **
   2  Index         3.6511        2.1941        .11483        .28231E-03
   3  Normalizat    1.1476        .21514E-01    .80248E-01    .30845E-04
   4  Prefactor     1.0287        .11657E-01    .41364E-01    .98122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0557878
  Index      = 3.65106
  Normalizat = 1.1476
  Prefactor  = 1.02869
 **********
 **   18 **HESSE 
 **********

 FCN=   11967.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      317 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55788E-01    14.803        .50162E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6511        5.7221        .11322E-01   -.27317    
   3  Normalizat    1.1476        .11351        .35525E-03   -.88238    
   4  Prefactor     1.0287        .61106E-01    .20105E-03   -.91779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.16431e-06
Minuit parameter uncertainties:
  1  1.81749
  2  10.9566
  3  0.113531
  4  0.0611101
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) = 11967.3642737
delta logL = 0.0805918834303

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.579e-02  1.817e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  3.651e+00  1.096e+01  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.029e+00  6.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.148e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/38798856/cmap_HighResolution_811123201_811728001_4FGL_J1226.8-1329_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2026-09-22 09:57:51.103122', job_id='38798856', GAL2='1.03', fit_tolerance='1e-08', EG2='1.15', EG='1.17', time_epoch_completed='1790096271.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.06e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='946' AND source_name='4FGL J1226.8-1329' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 09:57:51 PDT 2026

