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

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682538/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
/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.

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


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).

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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682538/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:00:26.292986', job_id='27682538', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455626.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:00:26 PDT 2026

/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 (v3.43) and linked library (v3.41).


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

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682581/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682581/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:00:35.685334', job_id='27682581', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455635.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:00:35 PDT 2026

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


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2170
RA = 335.71, Dec = 12.1568
tmin = 801792001, tmax = 802051201
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='27682916', job_status='RUN', time_executed='2026-06-02 19:59:29.808097', time_epoch_executed='1780455569.81' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27682916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27682916/ft1_4FGL_J2222.8+1209_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27682916/ft1_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682916/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2170.fits ra=335.71 dec=12.1568 rad=12.0 tmin=801792001.0 tmax=802051201.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.66
user 1.89
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.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/27682916/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 875

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

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682588/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682588/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:00:47.338716', job_id='27682588', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455647.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:00:47 PDT 2026

Working on...
/lscratch/kocevski/27682709/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 31.59
user 29.92
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682709/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682709/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682709/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682709/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682709/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682709/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682709/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682709/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682709/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682709/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
ile=/lscratch/kocevski/27682740/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.52
user 7.97
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682740/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682740/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682740/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 70.09
user 65.46
sys 3.85

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/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682740/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.86
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682740/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.72
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682740/Model_4FGL_J2222.8+1209_daily_bin2170.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
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Working on...
/lscratch/kocevski/27682604/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 34.97
user 33.19
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682604/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682604/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682604/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682604/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682604/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682604/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682604/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682604/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682604/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682604/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
ile=/lscratch/kocevski/27682763/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.40
user 7.80
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682763/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682763/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682763/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 66.01
user 61.48
sys 3.76

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/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682763/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.70
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682763/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.75
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682763/Model_4FGL_J2222.8+1209_daily_bin2170.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
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682709/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682709/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:01:34.499487', job_id='27682709', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455694.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:01:34 PDT 2026

ile=/lscratch/kocevski/27682765/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.40
user 7.74
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682765/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682765/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682765/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 67.72
user 63.35
sys 3.68

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/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682765/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.81
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682765/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.70
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682765/Model_4FGL_J2222.8+1209_daily_bin2170.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
ile=/lscratch/kocevski/27682772/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 9.33
user 8.67
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682772/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682772/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682772/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 67.44
user 62.84
sys 3.82

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/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682772/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.82
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682772/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.63
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682772/Model_4FGL_J2222.8+1209_daily_bin2170.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
number of points = 7412
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2170
RA = 335.71, Dec = 12.1568
tmin = 801792001, tmax = 802051201
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='27682983', job_status='RUN', time_executed='2026-06-02 20:00:32.457918', time_epoch_executed='1780455632.46' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27682983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27682983/ft1_4FGL_J2222.8+1209_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27682983/ft1_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682983/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2170.fits ra=335.71 dec=12.1568 rad=12.0 tmin=801792001.0 tmax=802051201.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.40
user 1.95
sys 0.18

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

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

Number of photons that the gtmktime cut: 875

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" outfnumber of points = 7412
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2222.8+1209_daily_bin2170
RA = 335.71, Dec = 12.1568
tmin = 801792001, tmax = 802051201
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='27682991', job_status='RUN', time_executed='2026-06-02 20:00:32.303746', time_epoch_executed='1780455632.3' WHERE source_name='4FGL J2222.8+1209' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27682991

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27682991/ft1_4FGL_J2222.8+1209_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27682991/ft1_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682991/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2170.fits ra=335.71 dec=12.1568 rad=12.0 tmin=801792001.0 tmax=802051201.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.44
user 1.88
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.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/27682991/ft1_filteredMKT_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 875

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

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682604/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682604/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:02:06.848641', job_id='27682604', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455726.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:02:07 PDT 2026

Working on...
/lscratch/kocevski/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 36.77
user 34.96
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682740/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682740/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682740/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682740/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682740/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682740/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682740/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682740/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
ile=/lscratch/kocevski/27682916/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.52
user 7.70
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682916/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682916/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682916/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 67.18
user 61.81
sys 4.21

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/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682916/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.57
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682916/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.62
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682916/Model_4FGL_J2222.8+1209_daily_bin2170.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
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Working on...
/lscratch/kocevski/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 34.86
user 33.42
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682763/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682763/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682763/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682763/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682763/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682763/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682763/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682763/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
Working on...
/lscratch/kocevski/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 35.56
user 33.62
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682765/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682765/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682765/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682765/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682765/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682765/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682765/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682765/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
Working on...
/lscratch/kocevski/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 35.52
user 33.86
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682772/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682772/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682772/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682772/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682772/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682772/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682772/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682772/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682740/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682740/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:03:25.646445', job_id='27682740', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455805.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:03:25 PDT 2026

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

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
ile=/lscratch/kocevski/27682983/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.41
user 7.84
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682983/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682983/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682983/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 68.53
user 63.83
sys 4.01

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/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682983/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.62
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682983/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.67
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682983/Model_4FGL_J2222.8+1209_daily_bin2170.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
le=/lscratch/kocevski/27682991/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 8.24
user 7.52
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27682991/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682991/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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/27682991/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
.....................!
real 67.68
user 62.88
sys 4.07

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682991/cmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.82
user 0.24
sys 0.22

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits scfile=/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits outfile=/lscratch/kocevski/27682991/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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.75
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27682991/Model_4FGL_J2222.8+1209_daily_bin2170.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
WDone.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682763/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682763/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:03:56.335454', job_id='27682763', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455836.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:03:56 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682765/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682765/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:04:02.286097', job_id='27682765', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455842.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:04:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682772/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682772/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:04:05.886042', job_id='27682772', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455845.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:04:06 PDT 2026

Working on...
/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 35.27
user 33.67
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682916/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682916/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682916/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682916/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682916/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682916/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682916/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682916/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682916/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682916/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:05:03.503913', job_id='27682916', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455903.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:05:03 PDT 2026

Working on...
/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 35.54
user 33.93
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682983/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682983/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682983/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682983/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682983/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682983/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682983/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682983/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
orking on...
/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits.....................!
real 35.18
user 33.76
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits', '/lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits', expMap='/lscratch/kocevski/27682991/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', expCube='/lscratch/kocevski/27682991/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27682991/Model_4FGL_J2222.8+1209_daily_bin2170.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/27682991/ft1_filtered_4FGL_J2222.8+1209_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27682991/ft2_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27682991/expmap_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27682991/ltcube_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27682991/Model_4FGL_J2222.8+1209_daily_bin2170.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) = 9470.10974796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1096       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90689E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.4061       1.0000          .0000       .10000E+07
     4 'norm      '    .55847       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33792E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    43.248       1.0000          .0000       .10000E+07
     7 'norm      '    .10048E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.676       1.0000          .0000       .10000E+07
     9 'norm      '    1.7951       1.0000          .0000       .10000E+07
    10 'Prefactor '    .42241E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5310       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88702       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2462       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11604E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9107       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.2182       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15382E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .92420       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95109       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=   9469.890     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1637 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1083        2.5849       -.14587E-06    .43518E-02
   2  Prefactor     .15610E-06    41.591        .59856E-06** at limit **
   3  norm          1.4052        1.6830        .91424E-07   -.14065E-02
   4  norm          .53663        .82950       -.51581E-07    .12498E-01
   5  Prefactor     .24702E-07    17.054       -.18297E-05** at limit **
   6  Prefactor     44.125        7.1467       -.57826E-07   -.42684E-01
   7  norm           .0000        .23841       -.30658E-08** at limit **
   8  Prefactor     22.511        3.3933       -.28680E-07    .17164    
   9  norm          1.7977        3.2585       -.28702E-06    .19538E-02
  10  Prefactor     .22204E-09    31.616       -.48337E-06** at limit **
  11  Prefactor     7.5202        8.0854        .64607E-07    .12922E-02
  12  Prefactor     .88695        .21103        .96932E-07   -.14592E-03
  13  Prefactor     .10000E-03    2.9074        .26119E-05** at limit **
  14  norm          1.2453        1.1380        .47372E-07   -.16463E-02
  15  Prefactor     .13822E-07    20.954       -.10868E-05** at limit **
  16  Prefactor     6.9540        7.1791        .10942E-07    .47994E-03
  17  Prefactor     1.2178        .18744        .99501E-07   -.84989E-03
  18  Prefactor     55.524        42.512       -.14881E-06    .23380E-01
  19  Prefactor      .0000        3.3404        .33716E-06** at limit **
  20  Normalizat    .92483        .23279       -.34002E-06    .75748E-04
  21  Prefactor     .95094        .12268       -.18767E-05    .18856E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10825
  Prefactor  = 1.56097e-07
  norm       = 1.40517
  norm       = 0.53663
  Prefactor  = 2.47025e-08
  Prefactor  = 44.1251
  norm       = 0
  Prefactor  = 22.5106
  norm       = 1.79766
  Prefactor  = 2.22045e-10
  Prefactor  = 7.52019
  Prefactor  = 0.886946
  Prefactor  = 0.0001
  norm       = 1.24526
  Prefactor  = 1.38223e-08
  Prefactor  = 6.95401
  Prefactor  = 1.21784
  Prefactor  = 55.5235
  Prefactor  = 0
  Normalizat = 0.924825
  Prefactor  = 0.950936
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.890     FROM HESSE     STATUS=OK           367 CALLS     2004 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1083        2.5876        .49704E-03   -1.5667    
   2  Prefactor     .15610E-06    43.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4052        1.7321        .91389E-03   -1.5684    
   4  norm          .53663        82.985        .73033E-03   -1.5693    
   5  Prefactor     .24702E-07    17.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.125        31.043        .15207E-03   -1.5575    
   7  norm           .0000        .23716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.511        18.657        .21005E-03   -1.5613    
   9  norm          1.7977        3.2876        .78016E-03   -1.5681    
  10  Prefactor     .22204E-09    8.4409        .85083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5202        8.0943        .36521E-03   -1.5653    
  12  Prefactor     .88695        .21530        .46754E-02   -1.5520    
  13  Prefactor     .10000E-03    2.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2453        1.1408        .10025E-03   -1.5686    
  15  Prefactor     .13822E-07    21.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.9540        7.1884        .38140E-03   -1.5655    
  17  Prefactor     1.2178        .18757        .35692E-02   -1.5487    
  18  Prefactor     55.524        43.463        .13327E-03   -1.5559    
  19  Prefactor      .0000        3.3314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92483        .20148        .81342E-01   -.95593    
  21  Prefactor     .95094        .10381        .45653E-01   -.94383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83277e-07
Minuit parameter uncertainties:
  1  2.58757
  2  0.00520686
  3  1.73215
  4  13.3467
  5  0.00130183
  6  31.0429
  7  1.3989e-07
  8  18.657
  9  3.28764
  10  8.54256e-05
  11  8.09427
  12  0.215298
  13  1.28536e-05
  14  1.14084
  15  0.00107818
  16  7.18844
  17  0.187565
  18  43.4637
  19  1.60951e-05
  20  0.201642
  21  0.10383
Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682983/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682983/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:06:03.493040', job_id='27682983', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455963.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:06:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  2.220e-10  8.543e-05  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:  9.509e-01  1.038e-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:  9.248e-01  2.016e-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: 9.20207987017e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00711396313718 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27682991/likelihoodResults_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.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) = 9469.90827319
delta logL = -0.0181531497765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9469.87996843
delta logL = 0.0101516063878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45760       1.0000          .0000       .10000E+07
     2 'Index     '    3.2421       1.0000          .0000       10.000    
     3 'Normalizat'    .91644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95298       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=   9469.880     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      246 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44610        2.8336        .61580E-02    .87309E-02
   2  Index         3.2435        .31325        .50000        .56407E-05
   3  Normalizat    .91698        .71656E-02    .81650E-01    .72189E-04
   4  Prefactor     .95277        .38689E-02    .45677E-01    .22372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.446104
  Index      = 3.24349
  Normalizat = 0.916975
  Prefactor  = 0.952766
 **********
 **   18 **HESSE 
 **********

 FCN=   9469.880     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44610        1068.4        .21830E-03   -1.5695    
   2  Index         3.2435        6.6075        .43421E-02   -.35896    
   3  Normalizat    .91698        .25349        .36146E-03   -.95866    
   4  Prefactor     .95277        .10781        .19079E-03   -.94321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30654e-09
Minuit parameter uncertainties:
  1  43.6713
  2  34.5869
  3  0.253819
  4  0.107834
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) = 9469.87996174
delta logL = 0.0101583001215

Extracting fit parameters...

4FGL J2222.8+1209
   Spectrum: PowerLaw
262    Prefactor:  4.461e-01  4.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  3.243e+00  3.459e+01  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:  9.528e-01  1.078e-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:  9.170e-01  2.538e-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/27682991/cmap_HighResolution_801792001_802051201_4FGL_J2222.8+1209_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.20e-08', time_completed='2026-06-02 20:06:07.524382', job_id='27682991', GAL2='0.95', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1780455967.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.02e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='2170' AND source_name='4FGL J2222.8+1209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:06:07 PDT 2026

