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

 FCN=   8504.148     FROM HESSE     STATUS=OK           357 CALLS     1997 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7686        2.9003        .41688E-03   -1.5660    
   2  Prefactor     .55511E-10    21.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .52744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.303        16.270        .24986E-03   -1.5627    
   5  Prefactor     63.592        35.150        .12673E-03   -1.5548    
   6  Prefactor     .39413E-08    50.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18151        .51202        .12121E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.5188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.0494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    26.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.6810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3297        .25746        .43985E-02   -1.5477    
  13  Prefactor     7.7470        6.7637        .35789E-02   -1.5151    
  14  norm          3.1075        1.7364        .57520E-03   -1.5673    
  15  Prefactor      .0000        8.7432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.5950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57458        .15873        .41382E-02   -1.5556    
  18  Prefactor     27.447        40.532        .20165E-03   -1.5603    
  19  Prefactor     3.3223        4.8729        .54979E-03   -1.5672    
  20  Normalizat    1.3412        .20894        .70585E-01   -.82346    
  21  Prefactor     .78203        .10868        .43481E-01   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32136e-09
Minuit parameter uncertainties:
  1  2.90028
  2  7.88251e-05
  3  2.55161e-06
  4  16.2701
  5  35.15
  6  0.000893238
  7  0.512023
  8  6.37212e-07
  9  1.9086e-06
  10  0.000160389
  11  2.14896e-05
  12  0.257458
  13  6.76437
  14  1.73643
  15  1.18226e-05
  16  2.61033e-06
  17  0.158727
  18  40.5326
  19  4.87292
  20  0.209069
  21  0.108708
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Working on...
/lscratch/kocevski/27419186/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits.....................!
real 31.69
user 30.40
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27419186/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits', '/lscratch/kocevski/27419186/ft2_4FGL_J2222.8+1209_daily_bin2168.fits', expMap='/lscratch/kocevski/27419186/expmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits', expCube='/lscratch/kocevski/27419186/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27419186/Model_4FGL_J2222.8+1209_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27419186/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27419186/ft2_4FGL_J2222.8+1209_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27419186/expmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27419186/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27419186/Model_4FGL_J2222.8+1209_daily_bin2168.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) = 8504.22607067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7977       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19116E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .67224E-07   1.0000          .0000       .10000E+07
     4 'norm      '    16.034       1.0000          .0000       .10000E+07
     5 'Prefactor '    62.270       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38053E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .18119       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37115E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .15911E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18964E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17072E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3286       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8454       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1052       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13167E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .30205E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .57392       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.604       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3839       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3437       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8504.148     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1640 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7686        2.7598       -.10977E-06    .17559E-02
   2  Prefactor     .55511E-10    21.810        .28629E-05** at limit **
   3  norm           .0000        .52899        .13418E-06** at limit **
   4  norm          16.303        16.278        .30734E-05    .10134E-03
   5  Prefactor     63.592        9.3503        .67130E-06    .12786E-01
   6  Prefactor     .39413E-08    48.963        .35684E-05** at limit **
   7  norm          .18151        .51044        .24706E-06** at limit **
   8  Prefactor      .0000        6.5175        .13307E-05** at limit **
   9  norm           .0000        2.0475        .13801E-06** at limit **
  10  Prefactor     .22204E-09    26.995       -.70289E-05** at limit **
  11  Prefactor      .0000        4.6865       -.10052E-05** at limit **
  12  Prefactor     1.3297        .25817        .39540E-07   -.33712E-03
  13  Prefactor     7.7470        6.7689        .37895E-05    .86373E-04
  14  norm          3.1075        1.7377       -.40327E-06   -.96904E-04
  15  Prefactor      .0000        8.7361        .10288E-05** at limit **
  16  Prefactor      .0000        6.5998       -.13267E-05** at limit **
  17  Prefactor     .57458        .15884       -.25544E-08   -.16886E-02
  18  Prefactor     27.447        39.918        .79236E-05   -.11749E-02
  19  Prefactor     3.3223        4.8620       -.47591E-06    .62830E-03
  20  Normalizat    1.3412        .24741       -.19396E-04   -.46073E-05
  21  Prefactor     .78203        .12838        .12540E-04    .98365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.76861
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 16.3026
  Prefactor  = 63.5916
  Prefactor  = 3.94129e-09
  norm       = 0.181509
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 1.32967
  Prefactor  = 7.74701
  norm       = 3.10751
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.574582
  Prefactor  = 27.4469
  Prefactor  = 3.32231
  Normalizat = 1.34116
  Prefactor  = 0.782025
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  1.604e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.820e-01  1.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.341e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 1.01585256194e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00785337421583 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27419219/likelihoodResults_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8504.16767291
delta logL = -0.019841850044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640763
delta logL = 0.261423424452

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8503.886     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22347        3.8193        .11353E-02** at limit **
   2  Index         4.3769        2.3437        .13399        .18041E-03
   3  Normalizat    1.2894        .32370E-01    .71693E-01   -.17227E-04
   4  Prefactor     .79784        .17209E-01    .43689E-01   -.15742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223474
  Index      = 4.3769
  Normalizat = 1.28941
  Prefactor  = 0.797843
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.886     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22347        22.412        .59454E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3769        7.0703        .74847E-02   -.12495    
   3  Normalizat    1.2894        .18906        .31724E-03   -.83883    
   4  Prefactor     .79784        .98887E-01    .20777E-03   -.99808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68292e-06
Minuit parameter uncertainties:
  1  4.47595
  2  8.70444
  3  0.189164
  4  0.0989085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640718
delta logL = 0.261423875199

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.235e-01  4.476e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  4.377e+00  8.704e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.978e-01  9.891e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.289e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27419219/cmap_HighResolution_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2026-05-29 17:01:01.516653', job_id='27419219', GAL2='0.80', fit_tolerance='1e-08', EG2='1.29', EG='1.34', time_epoch_completed='1780099261.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.61e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2168' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 17:01:01 PDT 2026

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

 FCN=   8504.148     FROM HESSE     STATUS=OK           357 CALLS     1997 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7686        2.9003        .41688E-03   -1.5660    
   2  Prefactor     .55511E-10    21.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .52744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.303        16.270        .24986E-03   -1.5627    
   5  Prefactor     63.592        35.150        .12673E-03   -1.5548    
   6  Prefactor     .39413E-08    50.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18151        .51202        .12121E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.5188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.0494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    26.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.6810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3297        .25746        .43985E-02   -1.5477    
  13  Prefactor     7.7470        6.7637        .35789E-02   -1.5151    
  14  norm          3.1075        1.7364        .57520E-03   -1.5673    
  15  Prefactor      .0000        8.7432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.5950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57458        .15873        .41382E-02   -1.5556    
  18  Prefactor     27.447        40.532        .20165E-03   -1.5603    
  19  Prefactor     3.3223        4.8729        .54979E-03   -1.5672    
  20  Normalizat    1.3412        .20894        .70585E-01   -.82346    
  21  Prefactor     .78203        .10868        .43481E-01   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32136e-09
Minuit parameter uncertainties:
  1  2.90028
  2  7.88251e-05
  3  2.55161e-06
  4  16.2701
  5  35.15
  6  0.000893238
  7  0.512023
  8  6.37212e-07
  9  1.9086e-06
  10  0.000160389
  11  2.14896e-05
  12  0.257458
  13  6.76437
  14  1.73643
  15  1.18226e-05
  16  2.61033e-06
  17  0.158727
  18  40.5326
  19  4.87292
  20  0.209069
  21  0.108708
number of points = 7576
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2168
RA = 335.71, Dec = 12.1568
tmin = 801273601, tmax = 801532801
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='27419510', job_status='RUN', time_executed='2026-05-29 17:00:37.801101', time_epoch_executed='1780099237.8' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2168'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27419510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27419510/ft1_4FGL_J2222.8+1209_daily_bin2168.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27419510/ft1_4FGL_J2222.8+1209_daily_bin2168.fits outfile=/lscratch/kocevski/27419510/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2168.fits ra=335.71 dec=12.1568 rad=12.0 tmin=801273601.0 tmax=801532801.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.21
user 1.89
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.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/27419510/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2168.fits evtable="EVENTS" outfile="/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.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.43
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 802

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits sctable="SC_DATA" outfiDone.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  1.604e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.820e-01  1.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.341e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 1.01585256194e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00785337421583 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27419186/likelihoodResults_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8504.16767291
delta logL = -0.019841850044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640763
delta logL = 0.261423424452

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8503.886     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22347        3.8193        .11353E-02** at limit **
   2  Index         4.3769        2.3437        .13399        .18041E-03
   3  Normalizat    1.2894        .32370E-01    .71693E-01   -.17227E-04
   4  Prefactor     .79784        .17209E-01    .43689E-01   -.15742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223474
  Index      = 4.3769
  Normalizat = 1.28941
  Prefactor  = 0.797843
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.886     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22347        22.412        .59454E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3769        7.0703        .74847E-02   -.12495    
   3  Normalizat    1.2894        .18906        .31724E-03   -.83883    
   4  Prefactor     .79784        .98887E-01    .20777E-03   -.99808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68292e-06
Minuit parameter uncertainties:
  1  4.47595
  2  8.70444
  3  0.189164
  4  0.0989085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640718
delta logL = 0.261423875199

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.235e-01  4.476e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  4.377e+00  8.704e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.978e-01  9.891e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.289e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27419186/cmap_HighResolution_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2026-05-29 17:01:35.723536', job_id='27419186', GAL2='0.80', fit_tolerance='1e-08', EG2='1.29', EG='1.34', time_epoch_completed='1780099295.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.61e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2168' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 17:01:35 PDT 2026

le=/lscratch/kocevski/27419510/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.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/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits
.....................!
real 7.57
user 7.22
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27419510/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits outfile=/lscratch/kocevski/27419510/expmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.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/27419510/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits
.....................!
real 63.34
user 59.03
sys 3.81

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

Setting source of interest to:
4FGL J2222.8+1209 @ 335.71 12.1568

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits outfile=/lscratch/kocevski/27419510/cmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.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=335.71 yref=12.1568 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.42
user 0.20
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits outfile=/lscratch/kocevski/27419510/cmap_HighResolution_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.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=335.71 yref=12.1568 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.45
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27419510/Model_4FGL_J2222.8+1209_daily_bin2168.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits.....................!
real 31.35
user 29.96
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits', '/lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits', expMap='/lscratch/kocevski/27419510/expmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits', expCube='/lscratch/kocevski/27419510/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27419510/Model_4FGL_J2222.8+1209_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2222.8+1209'

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  1.996e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27419510/ft1_filtered_4FGL_J2222.8+1209_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27419510/ft2_4FGL_J2222.8+1209_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27419510/expmap_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27419510/ltcube_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27419510/Model_4FGL_J2222.8+1209_daily_bin2168.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) = 8504.22607067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7977       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19116E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .67224E-07   1.0000          .0000       .10000E+07
     4 'norm      '    16.034       1.0000          .0000       .10000E+07
     5 'Prefactor '    62.270       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38053E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .18119       1.0000          .0000       .10000E+07
     8 'Prefactor '    .37115E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .15911E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18964E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17072E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3286       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8454       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1052       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13167E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .30205E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .57392       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.604       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.3839       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3437       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8504.148     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1640 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7686        2.7598       -.10977E-06    .17559E-02
   2  Prefactor     .55511E-10    21.810        .28629E-05** at limit **
   3  norm           .0000        .52899        .13418E-06** at limit **
   4  norm          16.303        16.278        .30734E-05    .10134E-03
   5  Prefactor     63.592        9.3503        .67130E-06    .12786E-01
   6  Prefactor     .39413E-08    48.963        .35684E-05** at limit **
   7  norm          .18151        .51044        .24706E-06** at limit **
   8  Prefactor      .0000        6.5175        .13307E-05** at limit **
   9  norm           .0000        2.0475        .13801E-06** at limit **
  10  Prefactor     .22204E-09    26.995       -.70289E-05** at limit **
  11  Prefactor      .0000        4.6865       -.10052E-05** at limit **
  12  Prefactor     1.3297        .25817        .39540E-07   -.33712E-03
  13  Prefactor     7.7470        6.7689        .37895E-05    .86373E-04
  14  norm          3.1075        1.7377       -.40327E-06   -.96904E-04
  15  Prefactor      .0000        8.7361        .10288E-05** at limit **
  16  Prefactor      .0000        6.5998       -.13267E-05** at limit **
  17  Prefactor     .57458        .15884       -.25544E-08   -.16886E-02
  18  Prefactor     27.447        39.918        .79236E-05   -.11749E-02
  19  Prefactor     3.3223        4.8620       -.47591E-06    .62830E-03
  20  Normalizat    1.3412        .24741       -.19396E-04   -.46073E-05
  21  Prefactor     .78203        .12838        .12540E-04    .98365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.76861
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 16.3026
  Prefactor  = 63.5916
  Prefactor  = 3.94129e-09
  norm       = 0.181509
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 1.32967
  Prefactor  = 7.74701
  norm       = 3.10751
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.574582
  Prefactor  = 27.4469
  Prefactor  = 3.32231
  Normalizat = 1.34116
  Prefactor  = 0.782025
 **********
 **   18 **HESSE 
 **********

 FCN=   8504.148     FROM HESSE     STATUS=OK           357 CALLS     1997 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7686        2.9003        .41688E-03   -1.5660    
   2  Prefactor     .55511E-10    21.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .52744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.303        16.270        .24986E-03   -1.5627    
   5  Prefactor     63.592        35.150        .12673E-03   -1.5548    
   6  Prefactor     .39413E-08    50.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18151        .51202        .12121E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.5188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.0494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22204E-09    26.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.6810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3297        .25746        .43985E-02   -1.5477    
  13  Prefactor     7.7470        6.7637        .35789E-02   -1.5151    
  14  norm          3.1075        1.7364        .57520E-03   -1.5673    
  15  Prefactor      .0000        8.7432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.5950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .57458        .15873        .41382E-02   -1.5556    
  18  Prefactor     27.447        40.532        .20165E-03   -1.5603    
  19  Prefactor     3.3223        4.8729        .54979E-03   -1.5672    
  20  Normalizat    1.3412        .20894        .70585E-01   -.82346    
  21  Prefactor     .78203        .10868        .43481E-01   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32136e-09
Minuit parameter uncertainties:
  1  2.90028
  2  7.88251e-05
  3  2.55161e-06
  4  16.2701
  5  35.15
  6  0.000893238
  7  0.512023
  8  6.37212e-07
  9  1.9086e-06
  10  0.000160389
  11  2.14896e-05
  12  0.257458
  13  6.76437
  14  1.73643
  15  1.18226e-05
  16  2.61033e-06
  17  0.158727
  18  40.5326
  19  4.87292
  20  0.209069
  21  0.108708
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  1.604e-04  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.407e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.820e-01  1.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.341e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 335.710 12.157
Photon Flux Upper Limit: 1.01585256194e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00785337421583 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27419510/likelihoodResults_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8504.16767291
delta logL = -0.019841850044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640763
delta logL = 0.261423424452

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8503.886     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22347        3.8193        .11353E-02** at limit **
   2  Index         4.3769        2.3437        .13399        .18041E-03
   3  Normalizat    1.2894        .32370E-01    .71693E-01   -.17227E-04
   4  Prefactor     .79784        .17209E-01    .43689E-01   -.15742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.223474
  Index      = 4.3769
  Normalizat = 1.28941
  Prefactor  = 0.797843
 **********
 **   18 **HESSE 
 **********

 FCN=   8503.886     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22347        22.412        .59454E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3769        7.0703        .74847E-02   -.12495    
   3  Normalizat    1.2894        .18906        .31724E-03   -.83883    
   4  Prefactor     .79784        .98887E-01    .20777E-03   -.99808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68292e-06
Minuit parameter uncertainties:
  1  4.47595
  2  8.70444
  3  0.189164
  4  0.0989085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8503.88640718
delta logL = 0.261423875199

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.235e-01  4.476e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  4.377e+00  8.704e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.288e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  7.978e-01  9.891e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.289e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 335.710 12.157

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27419510/cmap_HighResolution_801273601_801532801_4FGL_J2222.8+1209_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2026-05-29 17:05:16.012044', job_id='27419510', GAL2='0.80', fit_tolerance='1e-08', EG2='1.29', EG='1.34', time_epoch_completed='1780099516.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.61e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2168' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 17:05:16 PDT 2026

