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

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
/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
/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.


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.43WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41) 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)
/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 (v
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.43) and linked library (v3.41).3.41).



tfile=/lscratch/kocevski/27896662/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 9.95
user 9.51
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27896662/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896662/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896662/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 59.85
user 55.49
sys 3.60

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

Setting source of interest to:
4FGL J1224.9+2122 @ 186.228 21.3814

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

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

This is gtbin version HEAD
real 0.65
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits scfile=/lscratch/kocevski/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896662/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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.228 yref=21.3814 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.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27896662/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.46801892

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896277/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896277/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:17:43.864715', job_id='27896277', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676263.86', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:17:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896224/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
_V02
Working on...
/lscratch/kocevski/27896567/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 22.11
user 20.88
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896567/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896567/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896567/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896567/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896567/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896567/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896567/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896567/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896567/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896567/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896224/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:17:50.876454', job_id='27896224', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676270.88', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:17:51 PDT 2026

tfile=/lscratch/kocevski/27896713/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896713/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 8.54
user 7.95
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27896713/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896713/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27896713/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896713/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896713/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 65.62
user 61.47
sys 3.53

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

Setting source of interest to:
4FGL J1224.9+2122 @ 186.228 21.3814

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27896713/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits scfile=/lscratch/kocevski/27896713/ft2_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896713/cmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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.228 yref=21.3814 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.73
user 0.21
sys 0.13

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

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

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.14

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


Performing analysis on: 4FGL_J1224.9+2122_daily_bin2171
RA = 186.228, Dec = 21.3814
tmin = 802051201, tmax = 802310401
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='27896786', job_status='RUN', time_executed='2026-06-05 09:17:25.329169', time_epoch_executed='1780676245.33' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='2171'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27896786

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27896786/ft1_4FGL_J1224.9+2122_daily_bin2171.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27896786/ft1_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896786/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin2171.fits ra=186.228 dec=21.3814 rad=12.0 tmin=802051201.0 tmax=802310401.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.11
user 1.63
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.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/27896786/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" outfile="/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.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.49
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" ounumber of points = 7243
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1224.9+2122_daily_bin2171
RA = 186.228, Dec = 21.3814
tmin = 802051201, tmax = 802310401
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='27896850', job_status='RUN', time_executed='2026-06-05 09:17:25.328034', time_epoch_executed='1780676245.33' WHERE source_name='4FGL J1224.9+2122' and cadence='daily' and bin_id='2171'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27896850

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27896850/ft1_4FGL_J1224.9+2122_daily_bin2171.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27896850/ft1_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896850/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin2171.fits ra=186.228 dec=21.3814 rad=12.0 tmin=802051201.0 tmax=802310401.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.05
user 1.62
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.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/27896850/ft1_filteredMKT_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" outfile="/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.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.50
user 0.16
sys 0.17

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
V02
Working on...
/lscratch/kocevski/27896632/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 21.41
user 19.98
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896632/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896632/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896632/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896632/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896632/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896632/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896632/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896632/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896632/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896632/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
_V02
Working on...
/lscratch/kocevski/27896613/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 25.10
user 23.20
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896613/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896613/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896613/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896613/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896613/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896613/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896613/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896613/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896613/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896613/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896567/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896567/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:18:33.818268', job_id='27896567', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676313.82', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:18:33 PDT 2026

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

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
_V02
Working on...
/lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 22.19
user 20.24
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896662/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896662/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896662/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896662/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896662/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896662/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896662/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896662/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896632/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896632/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:18:47.174328', job_id='27896632', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676327.17', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:18:47 PDT 2026

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

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896613/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896613/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:19:09.735579', job_id='27896613', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676349.74', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:19:10 PDT 2026

_V02
Working on...
/lscratch/kocevski/27896713/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 23.80
user 22.38
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896713/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896713/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896713/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896713/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896713/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896713/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896713/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896713/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896713/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896713/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896662/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896662/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:19:20.457225', job_id='27896662', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676360.46', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:19:20 PDT 2026

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

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
tfile=/lscratch/kocevski/27896786/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 8.71
user 8.12
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27896786/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896786/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896786/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 62.29
user 58.14
sys 3.33

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

Setting source of interest to:
4FGL J1224.9+2122 @ 186.228 21.3814

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896786/cmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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.228 yref=21.3814 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.64
user 0.18
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896786/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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.228 yref=21.3814 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.18
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27896786/Model_4FGL_J1224.9+2122_daily_bin2171.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 GALtfile=/lscratch/kocevski/27896850/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 8.52
user 7.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27896850/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896850/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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/27896850/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
.....................!
real 62.85
user 58.57
sys 3.62

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

Setting source of interest to:
4FGL J1224.9+2122 @ 186.228 21.3814

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

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

This is gtbin version HEAD
real 0.78
user 0.18
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits scfile=/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits outfile=/lscratch/kocevski/27896850/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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.228 yref=21.3814 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.87
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits evtable="EVENTS" scfile=/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27896850/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.46801892

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896713/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896713/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:20:04.003553', job_id='27896713', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676404.0', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:20:04 PDT 2026

_V02
Working on...
/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 23.40
user 22.11
sys 0.49

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896786/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896786/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896786/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896786/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896786/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896786/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896786/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896786/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
_V02
Working on...
/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits.....................!
real 23.52
user 22.20
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits', '/lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits', expMap='/lscratch/kocevski/27896850/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', expCube='/lscratch/kocevski/27896850/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27896850/Model_4FGL_J1224.9+2122_daily_bin2171.xml', optimizer='MINUIT')

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

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  2.090e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27896850/ft1_filtered_4FGL_J1224.9+2122_daily_bin2171.fits
Spacecraft file(s): /lscratch/kocevski/27896850/ft2_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure map: /lscratch/kocevski/27896850/expmap_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
Exposure cube: /lscratch/kocevski/27896850/ltcube_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27896850/Model_4FGL_J1224.9+2122_daily_bin2171.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) = 6463.30037242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65593       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37381E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9850       1.0000          .0000       .10000E+07
     4 'norm      '    22.709       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98598E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13071E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20987E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85037E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.341       1.0000          .0000       .10000E+07
    10 'norm      '    .66722       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21794E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3598       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2528       1.0000          .0000       .10000E+07
    14 'norm      '    .82878E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.3913       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11469E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.271       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17443E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.079       1.0000          .0000       .10000E+07
    20 'norm      '    11.879       1.0000          .0000       .10000E+07
    21 'norm      '    .31388E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .46043       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1212 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47260        299.70       -.52038E-05    .14024E-02
   2  Prefactor      .0000        4.9136       -.16273E-06** at limit **
   3  Prefactor     2.9873        1.9283        .16208E-07   -.20941E-02
   4  norm          22.712        2.7375       -.74967E-08   -.87348E-02
   5  Prefactor     .27256E-07    6.3539       -.11548E-06** at limit **
   6  Prefactor     .16320E-07    9.0061       -.38149E-07** at limit **
   7  Prefactor     .61062E-09    43.514       -.12481E-06** at limit **
   8  Prefactor     .12546E-07    19.284       -.17964E-06** at limit **
   9  Prefactor     10.342        3.7297       -.65503E-08    .42717E-02
  10  norm          .66720        1.1683       -.29720E-07   -.21907E-02
  11  Prefactor      .0000        .48046        .31248E-07** at limit **
  12  Prefactor     3.3596        2.0361        .86077E-08    .45370E-03
  13  Prefactor     3.2557        4.0771        .16232E-07    .49292E-03
  14  norm           .0000        .27511        .24633E-07** at limit **
  15  norm          5.3801        4.4359       -.12550E-07    .12176E-03
  16  Prefactor     .10159E-07    4.8815        .16690E-06** at limit **
  17  Prefactor     12.255        7.8683       -.76064E-07    .49229E-02
  18  Prefactor      .0000        13.330       -.65119E-07** at limit **
  19  Prefactor     18.102        2.2996        .29831E-07    .19494    
  20  norm          11.878        4.6620       -.56772E-08    .81930E-03
  21  norm          .19373E-07    7.6074        .24596E-06** at limit **
  22  Normalizat    .46083        .21761        .33916E-05   -.32883E-04
  23  Prefactor     1.4853        .23007       -.22461E-05   -.67439E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.472601
  Prefactor  = 0
  Prefactor  = 2.9873
  norm       = 22.7122
  Prefactor  = 2.7256e-08
  Prefactor  = 1.63203e-08
  Prefactor  = 6.10623e-10
  Prefactor  = 1.25455e-08
  Prefactor  = 10.3416
  norm       = 0.667199
  Prefactor  = 0
  Prefactor  = 3.35963
  Prefactor  = 3.25575
  norm       = 0
  norm       = 5.3801
  Prefactor  = 1.01585e-08
  Prefactor  = 12.2554
  Prefactor  = 0
  Prefactor  = 18.1017
  norm       = 11.8782
  norm       = 1.93734e-08
  Normalizat = 0.460825
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.468     FROM HESSE     STATUS=OK           438 CALLS     1650 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47260        323.67        .64360E-03   -1.5694    
   2  Prefactor      .0000        4.9282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9873        1.9645        .58735E-03   -1.5673    
   4  norm          22.712        2.7747        .20990E-03   -1.5613    
   5  Prefactor     .27256E-07    6.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16320E-07    2.1254        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    43.451        .16973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12546E-07    1.7996        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.342        3.8853        .31134E-03   -1.5644    
  10  norm          .66720        1.1918        .63410E-03   -1.5692    
  11  Prefactor      .0000        .48155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3596        2.0424        .55185E-03   -1.5671    
  13  Prefactor     3.2557        4.0964        .56130E-03   -1.5672    
  14  norm           .0000        .11102        .95042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3801        4.4554        .43256E-03   -1.5662    
  16  Prefactor     .10159E-07    12.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.255        7.8895        .28571E-03   -1.5638    
  18  Prefactor      .0000        5.1443        .56963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.102        11.846        .23528E-03   -1.5623    
  20  norm          11.878        4.6800        .29040E-03   -1.5639    
  21  norm          .19373E-07    11.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46083        .19900        .83321E-01   -1.1427    
  23  Prefactor     1.4853        .20263        .53614E-01   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09157e-07
Minuit parameter uncertainties:
  1  24.7374
  2  5.13479e-07
  3  1.96452
  4  2.77466
  5  0.000841196
  6  0.000372622
  7  0.000328922
  8  0.000300466
  9  3.88527
  10  1.19177
  11  2.54887e-06
  12  2.04237
  13  4.09644
  14  1.19259e-06
  15  4.45539
  16  0.000723879
  17  7.88946
  18  2.37735e-05
  19  11.8459
  20  4.67996
  21  0.000961295
  22  0.199311
  23  0.20274
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896786/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
Done.

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

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.193e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.228 21.381
Photon Flux Upper Limit: 6.85491975354e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27896850/likelihoodResults_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.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) = 6461.48536142
delta logL = -0.0173424977429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.46803128
delta logL = -1.235180207e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30731E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9858       1.0000          .0000       5.0000    
     3 'Normalizat'    .46172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4846       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .59124E-01    .12097E-02** at limit **
   2  alpha         3.2020        .98231        .34480E-04     .0000    
   3  Normalizat    .46082        .78866        .87990E-05    .81750E-05
   4  Prefactor     1.4853        1.0505       -.34159E-05    .16727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.20203
  Normalizat = 0.460824
  Prefactor  = 1.48525
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.468     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .59124E-01    .12097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9414        1.1991        .34480E-04    .28464    
   3  Normalizat    .46082        .78866        .87990E-05   -1.1427    
   4  Prefactor     1.4853        1.0505       -.34159E-05   -.77954    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.09973e-11
Minuit parameter uncertainties:
  1  1.06894e-06
  2  1.01205
  3  0.809022
  4  1.06637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896786/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:21:28.879411', job_id='27896786', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676488.88', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:21:29 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6461.46801892
delta logL = -4.8203219194e-11

Extracting fit parameters...

4FGL J1224.9+2122
   Spectrum: LogParabola
312         norm:  0.000e+00  1.069e-06  0.000e+00  1.000e+06 ( 1.000e-10)
313        alpha:  3.202e+00  1.012e+00  0.000e+00  5.000e+00 ( 1.000e+00)
314         beta:  4.587e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
315           Eb:  3.924e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.485e+00  1.066e+00  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.608e-01  8.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.228 21.381

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27896850/cmap_HighResolution_802051201_802310401_4FGL_J1224.9+2122_daily_bin2171.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='6.85e-08', time_completed='2026-06-05 09:21:30.193763', job_id='27896850', GAL2='1.49', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1780676490.19', return_code2='101', ts='0.00', return_code='0', GAL='1.49', dlogl='-4.82e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2171' AND source_name='4FGL J1224.9+2122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jun  5 09:21:30 PDT 2026

