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

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
number of points = 7683
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.4+2436_daily_bin2211
RA = 186.116, Dec = 24.6142
tmin = 812419201, tmax = 812678401
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='39812555', job_status='RUN', time_executed='2026-10-03 21:12:08.645382', time_epoch_executed='1791087128.65' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39812555

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39812555/ft1_4FGL_J1224.4+2436_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39812555/ft1_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812555/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits ra=186.116 dec=24.6142 rad=12.0 tmin=812419201.0 tmax=812678401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.48
user 1.80
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.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/39812555/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" outfile="/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.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.88
user 0.17
sys 0.12

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" ou/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).

Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812394/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812394/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:15:00.226372', job_id='39812394', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087300.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:15:00 PDT 2026

_V02
Working on...
/lscratch/kocevski/39812434/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 23.54
user 21.94
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812434/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812434/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812434/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812434/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812434/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812434/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812434/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812434/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812434/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812434/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
_V02
Working on...
/lscratch/kocevski/39812426/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 24.58
user 22.93
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812426/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812426/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812426/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812426/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812426/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812426/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812426/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812426/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812426/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812426/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
number of points = 7683
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.4+2436_daily_bin2211
RA = 186.116, Dec = 24.6142
tmin = 812419201, tmax = 812678401
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='39812601', job_status='RUN', time_executed='2026-10-03 21:13:10.132166', time_epoch_executed='1791087190.13' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39812601

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39812601/ft1_4FGL_J1224.4+2436_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39812601/ft1_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812601/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits ra=186.116 dec=24.6142 rad=12.0 tmin=812419201.0 tmax=812678401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.74
user 2.04
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.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/39812601/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" outfile="/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812434/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812434/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:15:58.694342', job_id='39812434', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087358.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:15:59 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812426/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812426/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:16:07.326815', job_id='39812426', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087367.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:16:07 PDT 2026

tfile=/lscratch/kocevski/39812555/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 7.67
user 6.95
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39812555/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812555/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812555/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 59.96
user 55.61
sys 3.65

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812555/cmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 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.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812555/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 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.80
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39812555/Model_4FGL_J1224.4+2436_daily_bin2211.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 GALnumber of points = 7683
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.4+2436_daily_bin2211
RA = 186.116, Dec = 24.6142
tmin = 812419201, tmax = 812678401
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='39812616', job_status='RUN', time_executed='2026-10-03 21:13:55.123348', time_epoch_executed='1791087235.12' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39812616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39812616/ft1_4FGL_J1224.4+2436_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39812616/ft1_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812616/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits ra=186.116 dec=24.6142 rad=12.0 tmin=812419201.0 tmax=812678401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.71
user 2.09
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.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/39812616/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" outfile="/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.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.72
user 0.21
sys 0.11

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 21.24
user 19.69
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812555/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812555/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812555/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812555/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812555/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812555/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812555/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812555/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
number of points = 7683
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.4+2436_daily_bin2211
RA = 186.116, Dec = 24.6142
tmin = 812419201, tmax = 812678401
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='39812693', job_status='RUN', time_executed='2026-10-03 21:14:55.387267', time_epoch_executed='1791087295.39' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='2211'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39812693

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39812693/ft1_4FGL_J1224.4+2436_daily_bin2211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39812693/ft1_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812693/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits ra=186.116 dec=24.6142 rad=12.0 tmin=812419201.0 tmax=812678401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.68
user 2.10
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.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/39812693/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" outfile="/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.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.67
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39812601/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 8.37
user 7.59
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39812601/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812601/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812601/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 67.60
user 63.11
sys 3.73

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812601/cmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812601/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 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.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39812601/Model_4FGL_J1224.4+2436_daily_bin2211.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 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812555/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812555/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:17:48.878727', job_id='39812555', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087468.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:17:49 PDT 2026

tfile=/lscratch/kocevski/39812616/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 8.38
user 7.76
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39812616/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812616/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812616/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 69.14
user 64.33
sys 3.95

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812616/cmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812616/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 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.82
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39812616/Model_4FGL_J1224.4+2436_daily_bin2211.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/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 23.70
user 22.23
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812601/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812601/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812601/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812601/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812601/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812601/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812601/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812601/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
tfile=/lscratch/kocevski/39812693/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 8.55
user 7.88
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39812693/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812693/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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/39812693/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
.....................!
real 68.89
user 64.38
sys 3.87

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

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812693/cmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 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.77
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits outfile=/lscratch/kocevski/39812693/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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.116 yref=24.6142 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits evtable="EVENTS" scfile=/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39812693/Model_4FGL_J1224.4+2436_daily_bin2211.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 GALDone.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812601/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812601/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:19:16.809384', job_id='39812601', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087556.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:19:17 PDT 2026

_V02
Working on...
/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 24.03
user 22.49
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812616/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812616/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812616/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812616/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812616/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812616/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812616/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812616/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812616/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812616/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:20:01.622932', job_id='39812616', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087601.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:20:01 PDT 2026

_V02
Working on...
/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits.....................!
real 23.83
user 22.39
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits', '/lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits', expMap='/lscratch/kocevski/39812693/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', expCube='/lscratch/kocevski/39812693/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39812693/Model_4FGL_J1224.4+2436_daily_bin2211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39812693/ft1_filtered_4FGL_J1224.4+2436_daily_bin2211.fits
Spacecraft file(s): /lscratch/kocevski/39812693/ft2_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure map: /lscratch/kocevski/39812693/expmap_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
Exposure cube: /lscratch/kocevski/39812693/ltcube_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39812693/Model_4FGL_J1224.4+2436_daily_bin2211.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) = 6653.47703525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4582       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34153E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10358E-06   1.0000          .0000       .10000E+07
     4 'norm      '    7.9425       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10274E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5944       1.0000          .0000       .10000E+07
     8 'norm      '    6.1679       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90694E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22421E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7277       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25717E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .13384E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.920       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7862       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31248E-04   1.0000          .0000       .10000E+07
    17 'norm      '    21.732       1.0000          .0000       .10000E+07
    18 'norm      '    7.2557       1.0000          .0000       .10000E+07
    19 'norm      '    21.445       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1283 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4086        1.8849        .63986E-08    .25407E-01
   2  Prefactor      .0000        3.9146        .10294E-07** at limit **
   3  Prefactor      .0000        .27251        .85837E-08** at limit **
   4  norm          7.9423        1.8478        .11522E-07   -.15636E-02
   5  Prefactor     5.1928        4.0103        .76243E-08   -.47796E-03
   6  Prefactor      .0000        1.1056       -.29677E-07** at limit **
   7  Prefactor     1.5909        1.9021       -.30995E-07    .16259E-03
   8  norm          6.1928        3.2576       -.91299E-09   -.32921E-03
   9  Prefactor      .0000        2.1977        .48210E-07** at limit **
  10  Prefactor      .0000        1.7165       -.18681E-07** at limit **
  11  Prefactor     5.7276        2.7577       -.15753E-07    .27839E-03
  12  Prefactor     .55511E-10    8.1576       -.14734E-06** at limit **
  13  norm           .0000        .16750        .69514E-08** at limit **
  14  norm          13.928        5.9112        .17863E-08   -.39137E-02
  15  Prefactor     1.6840        1.0862       -.44659E-08   -.77453E-03
  16  Prefactor      .0000        2.7574        .53682E-07** at limit **
  17  norm          21.706        1.3650       -.69566E-09   -.17097E-01
  18  norm          7.2667        4.9242        .10086E-07   -.16367E-03
  19  norm          21.333        18.686       -.96311E-07    .35275E-02
  20  Normalizat    .78279        .21414       -.12360E-06   -.33379E-04
  21  Prefactor     1.3775        .23587        .18819E-05   -.42402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4086
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.94227
  Prefactor  = 5.19282
  Prefactor  = 0
  Prefactor  = 1.59092
  norm       = 6.19282
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.72761
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 13.9277
  Prefactor  = 1.68399
  Prefactor  = 0
  norm       = 21.7057
  norm       = 7.26667
  norm       = 21.333
  Normalizat = 0.782786
  Prefactor  = 1.37752
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK           367 CALLS     1650 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4086        11.548        .32562E-03   -1.5647    
   2  Prefactor      .0000        3.9189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .27424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9423        1.8565        .35554E-03   -1.5652    
   5  Prefactor     5.1928        4.0194        .44277E-03   -1.5662    
   6  Prefactor      .0000        1.1018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5909        1.9148        .83976E-03   -1.5683    
   8  norm          6.1928        3.2772        .40399E-03   -1.5658    
   9  Prefactor      .0000        2.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7276        2.8215        .41945E-03   -1.5660    
  12  Prefactor     .55511E-10    8.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .96874E-01    .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.928        5.9740        .26820E-03   -1.5633    
  15  Prefactor     1.6840        12.230        .78251E-03   -1.5682    
  16  Prefactor      .0000        2.7676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.706        7.8110        .21457E-03   -1.5615    
  18  norm          7.2667        4.9334        .37214E-03   -1.5654    
  19  norm          21.333        18.864        .21600E-03   -1.5616    
  20  Normalizat    .78279        .18519        .68674E-01   -1.0071    
  21  Prefactor     1.3775        .20042        .59839E-01   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7026e-07
Minuit parameter uncertainties:
  1  11.5478
  2  8.20551e-07
  3  3.66458e-07
  4  1.8565
  5  4.01942
  6  7.87749e-07
  7  1.91476
  8  3.27715
  9  8.19781e-06
  10  3.16139e-06
  11  2.82153
  12  3.96341e-05
  13  4.84131e-08
  14  5.97396
  15  9.07652
  16  1.33913e-05
  17  7.811
  18  4.93342
  19  18.8637
  20  0.185336
  21  0.200531
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  5.551e-11  3.963e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 5.58359716025e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00416107175781 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39812693/likelihoodResults_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.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) = 6652.69529945
delta logL = -0.0751613222574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.62013819
delta logL = -5.5830241763e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22504E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3097       1.0000          .0000       10.000    
     3 'Normalizat'    .78274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6652.620     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49960E-09    90.810        .42118E-03** at limit **
   2  Index         2.0852        8.7001        .50000        .18190E-09
   3  Normalizat    .78278        .16741E-01    .68674E-01   -.50048E-03
   4  Prefactor     1.3775        .18828E-01    .59839E-01   -.47532E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.996e-10
  Index      = 2.08515
  Normalizat = 0.782778
  Prefactor  = 1.37753
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.620     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49960E-09    7.1676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0852        6.0375        .50000       -.62238    
   3  Normalizat    .78278        .20790        .30387E-03   -1.0071    
   4  Prefactor     1.3775        .23416        .26461E-03   -.81030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51202e-09
Minuit parameter uncertainties:
  1  0.000122613
  2  4.11308
  3  0.208107
  4  0.234338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6652.62013813
delta logL = -7.5942807598e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  4.996e-10  1.226e-04  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  2.085e+00  4.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.378e+00  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  7.828e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/39812693/cmap_HighResolution_812419201_812678401_4FGL_J1224.4+2436_daily_bin2211.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2026-10-03 21:21:03.145743', job_id='39812693', GAL2='1.38', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1791087663.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-7.59e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='2211' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  3 21:21:03 PDT 2026

