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

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1337.4+5502_daily_bin2181
RA = 204.367, Dec = 55.0418
tmin = 804643201, tmax = 804902401
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='31427848', job_status='RUN', time_executed='2026-07-12 04:37:19.316981', time_epoch_executed='1783856239.32' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31427848

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31427848/ft1_4FGL_J1337.4+5502_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31427848/ft1_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427848/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits ra=204.367 dec=55.0418 rad=12.0 tmin=804643201.0 tmax=804902401.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.81
user 3.16
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.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/31427848/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.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.80
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/31427620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 24.12
user 22.41
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427620/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427620/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427620/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427620/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427620/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427620/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427620/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427620/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427620/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********L_V02
Working on...
/lscratch/kocevski/31427617/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 24.22
user 22.65
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427617/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427617/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427617/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427617/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427617/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427617/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427617/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427617/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427617/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427617/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427596/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
*
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427596/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:39:53.641672', job_id='31427596', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856393.64', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:39:53 PDT 2026

tfile=/lscratch/kocevski/31427778/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 9.27
user 8.72
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427778/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427778/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427778/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 76.99
user 71.79
sys 4.47

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427778/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427778/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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.85
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427778/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/31427767/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 9.67
user 8.84
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427767/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427767/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427767/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 80.22
user 73.07
sys 4.64

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427767/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427767/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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 1.03
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427767/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALnumber of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
Done.


Performing analysis on: 4FGL_J1337.4+5502_daily_bin2181
RA = 204.367, Dec = 55.0418
tmin = 804643201, tmax = 804902401
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='31427949', job_status='RUN', time_executed='2026-07-12 04:38:18.385679', time_epoch_executed='1783856298.39' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31427949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31427949/ft1_4FGL_J1337.4+5502_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31427949/ft1_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427949/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits ra=204.367 dec=55.0418 rad=12.0 tmin=804643201.0 tmax=804902401.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.52
user 2.91
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.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/31427949/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.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.65
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
number of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_daily_bin2181
RA = 204.367, Dec = 55.0418
tmin = 804643201, tmax = 804902401
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='31427968', job_status='RUN', time_executed='2026-07-12 04:38:40.022299', time_epoch_executed='1783856320.02' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31427968

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31427968/ft1_4FGL_J1337.4+5502_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31427968/ft1_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427968/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits ra=204.367 dec=55.0418 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.99
user 2.55
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.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/31427968/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.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.62
user 0.19
sys 0.11

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31427837/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 9.22
user 8.72
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427837/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427837/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427837/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 76.80
user 71.72
sys 4.38

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427837/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.73
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427837/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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 1.05
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427837/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALDone.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427620/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427620/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:40:52.191005', job_id='31427620', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856452.19', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:40:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427617/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427617/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:40:58.805058', job_id='31427617', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856458.81', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:40:59 PDT 2026

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


Performing analysis on: 4FGL_J1337.4+5502_daily_bin2181
RA = 204.367, Dec = 55.0418
tmin = 804643201, tmax = 804902401
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='31427972', job_status='RUN', time_executed='2026-07-12 04:39:18.908726', time_epoch_executed='1783856358.91' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31427972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31427972/ft1_4FGL_J1337.4+5502_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31427972/ft1_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427972/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits ra=204.367 dec=55.0418 rad=12.0 tmin=804643201.0 tmax=804902401.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.71
user 3.14
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.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/31427972/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" outfile="/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.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.75
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31427848/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 9.70
user 9.10
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427848/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427848/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427848/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 80.42
user 75.00
sys 4.64

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427848/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427848/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427848/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/31427968/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 7.64
user 7.11
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427968/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427968/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427968/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 62.21
user 58.28
sys 3.40

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427968/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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.60
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427968/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427968/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/31427949/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 8.93
user 8.29
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427949/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427949/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427949/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 72.88
user 68.12
sys 4.06

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427949/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427949/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427949/Model_4FGL_J1337.4+5502_daily_bin2181.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/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 23.59
user 22.37
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427778/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427778/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427778/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427778/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427778/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427778/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427778/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427778/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********_V02
Working on...
/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 24.54
user 22.81
sys 0.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427767/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427767/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427767/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427767/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427767/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427767/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427767/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427767/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
_V02
Working on...
/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 23.90
user 22.60
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427837/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427837/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427837/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427837/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427837/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427837/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427837/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427837/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
tfile=/lscratch/kocevski/31427972/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 9.67
user 8.92
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31427972/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427972/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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/31427972/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
.....................!
real 79.17
user 73.65
sys 4.67

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427972/cmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 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.69
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits outfile=/lscratch/kocevski/31427972/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31427972/Model_4FGL_J1337.4+5502_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALDone.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427778/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427778/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:43:13.782180', job_id='31427778', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856593.78', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:43:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427767/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427767/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:43:19.200416', job_id='31427767', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856599.2', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:43:19 PDT 2026

_V02
Working on...
/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 24.80
user 23.54
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427848/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427848/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427848/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427848/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427848/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427848/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427848/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427848/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427837/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
_V02
Working on...
/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 19.13
user 18.21
sys 0.54

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427968/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427968/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427968/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427968/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427968/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427968/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427968/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427968/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427837/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:43:35.612083', job_id='31427837', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856615.61', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:43:35 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
_V02
Working on...
/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 22.93
user 21.28
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427949/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427949/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427949/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427949/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427949/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427949/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427949/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427949/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ********** **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427968/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427968/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:44:31.774707', job_id='31427968', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856671.77', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:44:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427848/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427848/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:44:47.300709', job_id='31427848', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856687.3', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:44:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427949/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427949/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:45:00.697966', job_id='31427949', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856700.7', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:45:00 PDT 2026

_V02
Working on...
/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits.....................!
real 24.13
user 22.93
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits', '/lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits', expMap='/lscratch/kocevski/31427972/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', expCube='/lscratch/kocevski/31427972/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31427972/Model_4FGL_J1337.4+5502_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31427972/ft1_filtered_4FGL_J1337.4+5502_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31427972/ft2_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31427972/expmap_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31427972/ltcube_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31427972/Model_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.40516689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13469E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.5670       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.468       1.0000          .0000       .10000E+07
     4 'norm      '    1.3596       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31718E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.2840       1.0000          .0000       .10000E+07
     7 'norm      '    1.1261       1.0000          .0000       .10000E+07
     8 'Prefactor '    .41074E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    25.555       1.0000          .0000       .10000E+07
    10 'norm      '    2.1458       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.460       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4108       1.0000          .0000       .10000E+07
    13 'norm      '    5.0326       1.0000          .0000       .10000E+07
    14 'norm      '    .17868E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .62981E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .46830E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .78968E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47651E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6566       1.0000          .0000       .10000E+07
    21 'Prefactor '    22.550       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51047E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10467E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.1084       1.0000          .0000       .10000E+07
    25 'Normalizat'    .95905       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.387     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2231 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.7885       -.21983E-06** at limit **
   2  norm          3.5748        2.1140       -.61103E-07   -.50475E-03
   3  Prefactor     30.490        2.7840        .56587E-08   -.17153E-01
   4  norm          1.3594        1.9883       -.63959E-07    .12545E-02
   5  Prefactor     .15147E-05    12.033       -.36167E-06** at limit **
   6  Prefactor     8.1102        9.7924        .59584E-07    .35523E-02
   7  norm          1.1283        2.9351       -.27364E-06    .25691E-03
   8  Prefactor      .0000        34.859        .92253E-06** at limit **
   9  Prefactor     25.059        14.317       -.22483E-06   -.19393    
  10  norm          2.1449        2.5927       -.12417E-06    .91384E-03
  11  Prefactor     21.584        43.706        .88768E-06   -.60635E-01
  12  Prefactor     1.4146        4.0265       -.31274E-07    .61134E-04
  13  norm          5.0364        1.9693       -.10706E-07    .17050E-02
  14  norm           .0000        1.4918       -.45966E-06** at limit **
  15  Prefactor     53.990        8.3409       -.99667E-07   -.13346    
  16  Prefactor     .14834E-05    14.219       -.27816E-06** at limit **
  17  Prefactor     .73458E-06    6.2800       -.32412E-06** at limit **
  18  Prefactor     .55511E-10    5.1922       -.69523E-06** at limit **
  19  Prefactor     .17115E-05    22.598       -.58742E-06** at limit **
  20  Prefactor     5.6525        2.9113        .10534E-07   -.46281E-04
  21  Prefactor     22.547        1.7921        .18996E-09   -.18288E-01
  22  Prefactor      .0000        35.833       -.97451E-06** at limit **
  23  Prefactor     .44409E-09    8.8646        .14842E-06** at limit **
  24  Prefactor     9.1706        1.4192       -.13382E-09    .21904E-01
  25  Normalizat    .95883        .18515       -.91538E-06    .59194E-04
  26  Prefactor     .90289        .21490       -.89352E-07    .42290E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.57482
  Prefactor  = 30.4899
  norm       = 1.35936
  Prefactor  = 1.51468e-06
  Prefactor  = 8.11021
  norm       = 1.12834
  Prefactor  = 0
  Prefactor  = 25.0589
  norm       = 2.1449
  Prefactor  = 21.5839
  Prefactor  = 1.41459
  norm       = 5.03642
  norm       = 0
  Prefactor  = 53.9901
  Prefactor  = 1.48337e-06
  Prefactor  = 7.34579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.71146e-06
  Prefactor  = 5.65249
  Prefactor  = 22.5468
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 9.17057
  Normalizat = 0.958829
  Prefactor  = 0.902891
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.387     FROM HESSE     STATUS=OK           508 CALLS     2739 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5748        2.1178        .53487E-03   -1.5670    
   3  Prefactor     30.490        24.418        .18119E-03   -1.5598    
   4  norm          1.3594        2.0204        .93644E-03   -1.5685    
   5  Prefactor     .15147E-05    17.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1102        9.8543        .34808E-03   -1.5651    
   7  norm          1.1283        3.0056        .11030E-02   -1.5687    
   8  Prefactor      .0000        34.740        .15916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.059        33.221        .19786E-03   -1.5608    
  10  norm          2.1449        2.6075        .70323E-03   -1.5679    
  11  Prefactor     21.584        47.116        .22115E-03   -1.5615    
  12  Prefactor     1.4146        4.0762        .91175E-03   -1.5684    
  13  norm          5.0364        1.9811        .44800E-03   -1.5663    
  14  norm           .0000        1.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     53.990        36.019        .13579E-03   -1.5561    
  16  Prefactor     .14834E-05    16.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .73458E-06    17.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    5.1123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .17115E-05    23.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6525        3.3461        .42213E-03   -1.5660    
  21  Prefactor     22.547        26.533        .21064E-03   -1.5613    
  22  Prefactor      .0000        35.562        .15499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .44409E-09    8.8706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.1706        11.428        .33185E-03   -1.5647    
  25  Normalizat    .95883        .16188        .45652E-01   -.94423    
  26  Prefactor     .90289        .18491        .45036E-01   -.96040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84577e-06
Minuit parameter uncertainties:
  1  4.41576e-05
  2  2.11777
  3  24.4181
  4  2.02045
  5  0.0104179
  6  9.85431
  7  3.00563
  8  4.34666e-05
  9  33.2208
  10  2.60751
  11  47.1164
  12  4.07618
  13  1.98108
  14  9.91092e-06
  15  36.0192
  16  0.00975376
  17  0.00709377
  18  3.40084e-05
  19  0.0126355
  20  3.34607
  21  26.533
  22  6.17836e-05
  23  0.000125272
  24  11.4277
  25  0.161966
  26  0.185036
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  2.158e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.029e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.588e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 8.8567129876e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00699543335844 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31427972/likelihoodResults_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.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) = 6138.16286788
delta logL = 0.223717028282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.15796934
delta logL = 0.228615572071

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6138.158     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      270 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.860        46.793        .12147E-04   -.45018E-02
   2  Index         3.8972        2.6968        .96134E-02   -.12395E-03
   3  Normalizat    .93462        .18306        .22536E-03    .50458E-03
   4  Prefactor     .92194        .21659        .27328E-03    .64141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8604
  Index      = 3.89719
  Normalizat = 0.93462
  Prefactor  = 0.921941
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.158     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.860        27.866        .48588E-06   -1.5642    
   2  Index         3.8972        1.7251        .38454E-03   -.22239    
   3  Normalizat    .93462        .18334        .45071E-04   -.95254    
   4  Prefactor     .92194        .21668        .54655E-04   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32047e-09
Minuit parameter uncertainties:
  1  27.866
  2  1.76331
  3  0.183466
  4  0.21688
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) = 6138.15796928
delta logL = 0.228615628263

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.086e+01  2.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.897e+00  1.763e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.219e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  9.346e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 204.367 55.042

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/31427972/cmap_HighResolution_804643201_804902401_4FGL_J1337.4+5502_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2026-07-12 04:46:19.098498', job_id='31427972', GAL2='0.92', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1783856779.1', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.29e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='2181' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 04:46:19 PDT 2026

