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

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
e GAL_V02
Working on...
/lscratch/kocevski/40089716/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 17.66
user 15.89
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089716/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089716/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089716/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089716/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089716/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089716/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089716/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089716/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089716/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089716/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089724/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089724/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:26:33.909191', job_id='40089724', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350793.91', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:26:34 PDT 2026

outfile=/lscratch/kocevski/40089752/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 10.42
user 9.65
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089752/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089752/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089752/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 68.66
user 63.70
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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089752/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.96
user 0.26
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089752/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089752/Model_4FGL_J2331.3-1558_daily_bin2212.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 sour/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089716/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089716/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:26:43.049586', job_id='40089716', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350803.05', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:26:43 PDT 2026


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

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


Performing analysis on: 4FGL_J2331.3-1558_daily_bin2212
RA = 352.839, Dec = -15.9777
tmin = 812678401, tmax = 812937601
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='40089833', job_status='RUN', time_executed='2026-10-06 22:24:44.552466', time_epoch_executed='1791350684.55' WHERE source_name='4FGL J2331.3-1558' and cadence='daily' and bin_id='2212'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40089833

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40089833/ft1_4FGL_J2331.3-1558_daily_bin2212.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40089833/ft1_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089833/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits ra=352.839 dec=-15.9777 rad=12.0 tmin=812678401.0 tmax=812937601.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 3.44
user 2.82
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.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/40089833/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" outfile="/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.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.77
user 0.26
sys 0.14

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" number of points = 7529
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.3-1558_daily_bin2212
RA = 352.839, Dec = -15.9777
tmin = 812678401, tmax = 812937601
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='40089842', job_status='RUN', time_executed='2026-10-06 22:24:45.465197', time_epoch_executed='1791350685.47' WHERE source_name='4FGL J2331.3-1558' and cadence='daily' and bin_id='2212'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40089842

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40089842/ft1_4FGL_J2331.3-1558_daily_bin2212.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40089842/ft1_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089842/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits ra=352.839 dec=-15.9777 rad=12.0 tmin=812678401.0 tmax=812937601.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 3.56
user 2.92
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.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/40089842/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" outfile="/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.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.92
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" ce GAL_V02
Working on...
/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 16.46
user 15.03
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089752/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089752/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089752/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089752/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089752/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089752/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089752/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089752/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
outfile=/lscratch/kocevski/40089800/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 8.56
user 7.74
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089800/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089800/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089800/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 67.30
user 62.79
sys 3.70

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

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089800/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.83
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089800/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089800/Model_4FGL_J2331.3-1558_daily_bin2212.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089752/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
outfile=/lscratch/kocevski/40089804/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 8.90
user 8.17
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089804/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089804/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089804/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 71.32
user 65.55
sys 4.79

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

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089804/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089804/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089804/Model_4FGL_J2331.3-1558_daily_bin2212.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 sourcshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089752/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:27:39.129746', job_id='40089752', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350859.13', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:27:39 PDT 2026

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


Performing analysis on: 4FGL_J2331.3-1558_daily_bin2212
RA = 352.839, Dec = -15.9777
tmin = 812678401, tmax = 812937601
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='40089882', job_status='RUN', time_executed='2026-10-06 22:25:45.427730', time_epoch_executed='1791350745.43' WHERE source_name='4FGL J2331.3-1558' and cadence='daily' and bin_id='2212'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40089882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40089882/ft1_4FGL_J2331.3-1558_daily_bin2212.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40089882/ft1_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089882/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits ra=352.839 dec=-15.9777 rad=12.0 tmin=812678401.0 tmax=812937601.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 3.62
user 2.94
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.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/40089882/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" outfile="/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.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.77
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 17.29
user 15.99
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089800/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089800/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089800/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089800/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089800/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089800/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089800/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089800/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
e GAL_V02
Working on...
/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 17.79
user 16.45
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089804/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089804/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089804/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089804/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089804/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089804/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089804/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089804/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089800/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089800/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:28:37.634120', job_id='40089800', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350917.63', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:28:37 PDT 2026

outfile=/lscratch/kocevski/40089833/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 10.36
user 9.66
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089833/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089833/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089833/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 72.66
user 67.67
sys 4.22

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

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089833/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089833/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.96
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089833/Model_4FGL_J2331.3-1558_daily_bin2212.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 sournumber of points = 7529
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089804/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
Done.


Performing analysis on: 4FGL_J2331.3-1558_daily_bin2212
RA = 352.839, Dec = -15.9777
tmin = 812678401, tmax = 812937601
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='40089938', job_status='RUN', time_executed='2026-10-06 22:26:47.978876', time_epoch_executed='1791350807.98' WHERE source_name='4FGL J2331.3-1558' and cadence='daily' and bin_id='2212'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40089938

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40089938/ft1_4FGL_J2331.3-1558_daily_bin2212.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40089938/ft1_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089938/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits ra=352.839 dec=-15.9777 rad=12.0 tmin=812678401.0 tmax=812937601.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 3.35
user 2.66
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.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/40089938/ft1_filteredMKT_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" outfile="/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089804/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:28:43.989536', job_id='40089804', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350923.99', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:28:44 PDT 2026

outfile=/lscratch/kocevski/40089842/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 9.40
user 8.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089842/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089842/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089842/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 75.50
user 70.14
sys 4.42

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

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089842/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.94
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089842/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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.89
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089842/Model_4FGL_J2331.3-1558_daily_bin2212.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 sourcce GAL_V02
Working on...
/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 17.88
user 16.12
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089833/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089833/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089833/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089833/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089833/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089833/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089833/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089833/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
outfile=/lscratch/kocevski/40089882/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 9.28
user 8.63
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089882/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089882/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089882/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 75.79
user 70.56
sys 4.42

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

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089882/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.27
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089882/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089882/Model_4FGL_J2331.3-1558_daily_bin2212.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 18.18
user 16.71
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089842/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089842/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089842/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089842/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089842/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089842/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089842/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089842/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089833/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089833/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:29:45.296471', job_id='40089833', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350985.3', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:29:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089842/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089842/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:29:56.504711', job_id='40089842', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791350996.5', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:29:56 PDT 2026

outfile=/lscratch/kocevski/40089938/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 8.48
user 7.86
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40089938/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089938/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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/40089938/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
.....................!
real 68.05
user 63.28
sys 3.95

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.3-1558 @ 352.839 -15.9777

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089938/cmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 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/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits outfile=/lscratch/kocevski/40089938/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.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=352.839 yref=-15.9777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits evtable="EVENTS" scfile=/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40089938/Model_4FGL_J2331.3-1558_daily_bin2212.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 18.14
user 16.78
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089882/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089882/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089882/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089882/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089882/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089882/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089882/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089882/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089882/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089882/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:30:43.782595', job_id='40089882', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791351043.78', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:30:43 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits.....................!
real 15.42
user 14.21
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits', '/lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits', expMap='/lscratch/kocevski/40089938/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', expCube='/lscratch/kocevski/40089938/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40089938/Model_4FGL_J2331.3-1558_daily_bin2212.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.3-1558'

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  2.463e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40089938/ft1_filtered_4FGL_J2331.3-1558_daily_bin2212.fits
Spacecraft file(s): /lscratch/kocevski/40089938/ft2_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure map: /lscratch/kocevski/40089938/expmap_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
Exposure cube: /lscratch/kocevski/40089938/ltcube_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40089938/Model_4FGL_J2331.3-1558_daily_bin2212.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) = 4180.78973713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4733       1.0000          .0000       .10000E+07
     2 'norm      '    .36522E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62820E-04   1.0000          .0000       .10000E+07
     4 'norm      '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34047       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23618E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.915       1.0000          .0000       .10000E+07
     8 'Prefactor '    .69907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41676E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .37517E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .80824E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    13 'norm      '    .30552       1.0000          .0000       .10000E+07
    14 'norm      '    .64669E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9519       1.0000          .0000       .10000E+07
    16 'Normalizat'    .77317       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0676       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.765     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1255 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4824        9.1627        .37033E-06    .79606E-03
   2  norm          .53846E-08    17.773        .15454E-05** at limit **
   3  Prefactor     .27756E-09    16.757       -.22444E-05** at limit **
   4  norm           .0000        .50761        .48460E-06** at limit **
   5  Prefactor     .22204E-09    67.430       -.70078E-05** at limit **
   6  Prefactor     .11102E-09    4.7573       -.52788E-08** at limit **
   7  Prefactor     13.084        51.272        .21514E-05    .87763E-03
   8  Prefactor     .21094E-08    13.073        .23938E-05** at limit **
   9  Prefactor     .20817E-07    66.916        .17367E-04** at limit **
  10  norm          .38858E-09    5.0624       -.59104E-06** at limit **
  11  norm          .55511E-10    3.6133        .88718E-06** at limit **
  12  Prefactor     10.904        1.2463        .13626E-06   -.13646E-02
  13  norm          .30583        .41787       -.15328E-06    .11078E-01
  14  norm           .0000        38.705        .11292E-05** at limit **
  15  Prefactor     3.9530        5.0554       -.42044E-06    .42548E-02
  16  Normalizat    .77320        .22949       -.16602E-04   -.14548E-04
  17  Prefactor     1.0673        .21584        .18522E-04   -.28914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.48239
  norm       = 5.38458e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 13.0838
  Prefactor  = 2.10942e-09
  Prefactor  = 2.08167e-08
  norm       = 3.88578e-10
  norm       = 5.55112e-11
  Prefactor  = 10.9044
  norm       = 0.305827
  norm       = 0
  Prefactor  = 3.95295
  Normalizat = 0.773202
  Prefactor  = 1.06733
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.765     FROM HESSE     STATUS=OK           257 CALLS     1512 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4824        9.1607        .54234E-03   -1.5671    
   2  norm          .53846E-08    17.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    16.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .50354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    66.192        .96736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.084        51.591        .28997E-03   -1.5636    
   8  Prefactor     .21094E-08    13.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20817E-07    65.792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38858E-09    5.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    3.5284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.904        18.734        .30306E-03   -1.5642    
  13  norm          .30583        .50294        .10137E-02   -1.5697    
  14  norm           .0000        3.5084        .62153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9530        5.0864        .50718E-03   -1.5668    
  16  Normalizat    .77320        .19884        .43259E-01   -1.0107    
  17  Prefactor     1.0673        .18417        .38975E-01   -.90518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96606e-09
Minuit parameter uncertainties:
  1  9.16069
  2  0.000618148
  3  0.000133439
  4  3.32933e-06
  5  0.000233912
  6  4.71225e-05
  7  51.5925
  8  0.000331722
  9  0.0023414
  10  8.62366e-05
  11  2.33583e-05
  12  18.7346
  13  0.502938
  14  1.47091e-05
  15  5.08642
  16  0.199023
  17  0.184276
Done.

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

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.090e+01  1.873e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.067e+00  1.843e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.732e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 352.839 -15.978
Photon Flux Upper Limit: 1.30815506994e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0102014777157 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40089938/likelihoodResults_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76330042
delta logL = 0.00209730735241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.76260491
delta logL = 0.00279281269195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4180.763     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.640        20.039        .98842E-08   -.10368E-02
   2  Index         2.4571        .12245       -.65891E-06   -.15135E-04
   3  Normalizat    .77542        .19619        .18285E-07   -.30545E-06
   4  Prefactor     1.0660        .18321       -.87985E-08    .48020E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6399
  Index      = 2.45714
  Normalizat = 0.775418
  Prefactor  = 1.066
 **********
 **   18 **HESSE 
 **********

 FCN=   4180.763     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.640        22.010        .11735E-04   -1.5640    
   2  Index         2.4571        1.1342        .47378E-02   -.53353    
   3  Normalizat    .77542        .23158        .25571E-03   -1.0099    
   4  Prefactor     1.0660        .21524        .20699E-03   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75956e-11
Minuit parameter uncertainties:
  1  22.0102
  2  1.14775
  3  0.231879
  4  0.215414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4180.7626046
delta logL = 0.00279311952181

Extracting fit parameters...

4FGL J2331.3-1558
   Spectrum: PowerLaw
425    Prefactor:  1.164e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
426        Index:  2.457e+00  1.148e+00  0.000e+00  1.000e+01 (-1.000e+00)
427        Scale:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  2.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.754e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 352.839 -15.978

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40089938/cmap_HighResolution_812678401_812937601_4FGL_J2331.3-1558_daily_bin2212.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2026-10-06 22:31:15.604809', job_id='40089938', GAL2='1.07', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1791351075.6', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.79e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='2212' AND source_name='4FGL J2331.3-1558' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  6 22:31:15 PDT 2026

