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

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
/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).

Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286467/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286467/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:34:14.145779', job_id='27286467', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867254.15', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:34:14 PDT 2026

number of points = 7576
number of fields = 31
RA_SUN column already exists. File will not be modified.
ile=/lscratch/kocevski/27286484/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 8.76
user 8.18
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27286484/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286484/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27286484/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 72.28
user 67.38
sys 4.23

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

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286484/cmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=9.4695 yref=12.6527 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.66
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286484/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=9.4695 yref=12.6527 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.24
sys 0.12

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

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

adding source EG_v02
adding source GAL_V02
ile=/lscratch/kocevski/27286485/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 8.82
user 8.21
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27286485/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286485/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27286485/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 72.35
user 67.39
sys 4.23

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

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286485/cmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=9.4695 yref=12.6527 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286485/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=9.4695 yref=12.6527 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.71
user 0.24
sys 0.12

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

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

adding source EG_v02
adding source GAL_V02
Done.


Performing analysis on: 4FGL_J0037.8+1239_daily_bin2168
RA = 9.4695, Dec = 12.6527
tmin = 801273601, tmax = 801532801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27286511', job_status='RUN', time_executed='2026-05-27 00:33:56.560283', time_epoch_executed='1779867236.56' WHERE source_name='4FGL J0037.8+1239' and cadence='daily' and bin_id='2168'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27286511

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27286511/ft1_4FGL_J0037.8+1239_daily_bin2168.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27286511/ft1_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286511/ft1_filteredMKT_4FGL_J0037.8+1239_daily_bin2168.fits ra=9.4695 dec=12.6527 rad=12.0 tmin=801273601.0 tmax=801532801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.10
user 1.77
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27286511/ft1_filteredMKT_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" outfile="/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27286482/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 9.45
user 8.56
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27286482/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286482/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27286482/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 75.87
user 70.93
sys 4.25

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

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286482/cmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=9.4695 yref=12.6527 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.61
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286482/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=9.4695 yref=12.6527 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.53
user 0.24
sys 0.13

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

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

adding source EG_v02
adding source GAL_V02
ile=/lscratch/kocevski/27286490/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 9.80
user 8.52
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27286490/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286490/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27286490/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 73.54
user 67.65
sys 4.39

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

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286490/cmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=9.4695 yref=12.6527 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286490/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=9.4695 yref=12.6527 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.17
user 0.23
sys 0.12

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

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits.....................!
real 31.01
user 29.38
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits', '/lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits', expMap='/lscratch/kocevski/27286484/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', expCube='/lscratch/kocevski/27286484/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27286484/Model_4FGL_J0037.8+1239_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27286484/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27286484/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27286484/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27286484/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27286484/Model_4FGL_J0037.8+1239_daily_bin2168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19589E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .85754E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24216E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3862       1.0000          .0000       .10000E+07
     6 'norm      '    2.5511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11586E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.8170       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0930       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10501E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11747E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40550E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86416E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .67650E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .91417E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        5.1384        .44461E-06    .14471    
   2  Prefactor     .11546E-07    6.2305       -.16237E-05** at limit **
   3  norm           .0000        .82391        .53056E-06** at limit **
   4  Prefactor      .0000        4.4475       -.81497E-06** at limit **
   5  Prefactor     1.3860        3.0802       -.17552E-06   -.11054E-02
   6  norm          2.5342        4.9509       -.37675E-06   -.25034E-03
   7  Prefactor     .33307E-09    10.742       -.25482E-05** at limit **
   8  Prefactor     .24805E-05    5.6490       -.18249E-05** at limit **
   9  norm          5.8056        6.5774        .38325E-06    .11938E-03
  10  Prefactor     6.0777        4.7255       -.50952E-06   -.22098E-03
  11  Prefactor     .24591E-07    9.4632       -.10582E-05** at limit **
  12  Prefactor      .0000        1.0094        .16678E-06** at limit **
  13  norm          .88501E-06    28.355       -.44228E-05** at limit **
  14  Prefactor     .24626E-05    10.607       -.18962E-05** at limit **
  15  Prefactor     .16653E-09    42.518       -.67660E-06** at limit **
  16  Prefactor     .21094E-07    6.2827       -.15964E-06** at limit **
  17  Normalizat    1.0590        .20732        .13163E-04    .29941E-04
  18  Prefactor     .95285        .14982       -.11322E-04    .65326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4771
  Prefactor  = 1.15463e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38595
  norm       = 2.53423
  Prefactor  = 3.33067e-10
  Prefactor  = 2.48052e-06
  norm       = 5.8056
  Prefactor  = 6.07773
  Prefactor  = 2.45914e-08
  Prefactor  = 0
  norm       = 8.85014e-07
  Prefactor  = 2.46259e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.10942e-08
  Normalizat = 1.05899
  Prefactor  = 0.952853
Working on...
/lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits.....................!
real 30.93
user 29.11
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits', '/lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits', expMap='/lscratch/kocevski/27286485/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', expCube='/lscratch/kocevski/27286485/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27286485/Model_4FGL_J0037.8+1239_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27286485/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27286485/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27286485/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27286485/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27286485/Model_4FGL_J0037.8+1239_daily_bin2168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19589E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .85754E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24216E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3862       1.0000          .0000       .10000E+07
     6 'norm      '    2.5511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11586E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.8170       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0930       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10501E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11747E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40550E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86416E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .67650E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .91417E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        5.1384        .44461E-06    .14471    
   2  Prefactor     .11546E-07    6.2305       -.16237E-05** at limit **
   3  norm           .0000        .82391        .53056E-06** at limit **
   4  Prefactor      .0000        4.4475       -.81497E-06** at limit **
   5  Prefactor     1.3860        3.0802       -.17552E-06   -.11054E-02
   6  norm          2.5342        4.9509       -.37675E-06   -.25034E-03
   7  Prefactor     .33307E-09    10.742       -.25482E-05** at limit **
   8  Prefactor     .24805E-05    5.6490       -.18249E-05** at limit **
   9  norm          5.8056        6.5774        .38325E-06    .11938E-03
  10  Prefactor     6.0777        4.7255       -.50952E-06   -.22098E-03
  11  Prefactor     .24591E-07    9.4632       -.10582E-05** at limit **
  12  Prefactor      .0000        1.0094        .16678E-06** at limit **
  13  norm          .88501E-06    28.355       -.44228E-05** at limit **
  14  Prefactor     .24626E-05    10.607       -.18962E-05** at limit **
  15  Prefactor     .16653E-09    42.518       -.67660E-06** at limit **
  16  Prefactor     .21094E-07    6.2827       -.15964E-06** at limit **
  17  Normalizat    1.0590        .20732        .13163E-04    .29941E-04
  18  Prefactor     .95285        .14982       -.11322E-04    .65326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4771
  Prefactor  = 1.15463e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38595
  norm       = 2.53423
  Prefactor  = 3.33067e-10
  Prefactor  = 2.48052e-06
  norm       = 5.8056
  Prefactor  = 6.07773
  Prefactor  = 2.45914e-08
  Prefactor  = 0
  norm       = 8.85014e-07
  Prefactor  = 2.46259e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.10942e-08
  Normalizat = 1.05899
  Prefactor  = 0.952853
Working on...
/lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits.....................!
real 32.54
user 30.61
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits', '/lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits', expMap='/lscratch/kocevski/27286482/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', expCube='/lscratch/kocevski/27286482/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27286482/Model_4FGL_J0037.8+1239_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27286482/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27286482/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27286482/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27286482/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27286482/Model_4FGL_J0037.8+1239_daily_bin2168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19589E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .85754E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24216E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3862       1.0000          .0000       .10000E+07
     6 'norm      '    2.5511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11586E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.8170       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0930       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10501E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11747E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40550E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86416E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .67650E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .91417E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        5.1384        .44461E-06    .14471    
   2  Prefactor     .11546E-07    6.2305       -.16237E-05** at limit **
   3  norm           .0000        .82391        .53056E-06** at limit **
   4  Prefactor      .0000        4.4475       -.81497E-06** at limit **
   5  Prefactor     1.3860        3.0802       -.17552E-06   -.11054E-02
   6  norm          2.5342        4.9509       -.37675E-06   -.25034E-03
   7  Prefactor     .33307E-09    10.742       -.25482E-05** at limit **
   8  Prefactor     .24805E-05    5.6490       -.18249E-05** at limit **
   9  norm          5.8056        6.5774        .38325E-06    .11938E-03
  10  Prefactor     6.0777        4.7255       -.50952E-06   -.22098E-03
  11  Prefactor     .24591E-07    9.4632       -.10582E-05** at limit **
  12  Prefactor      .0000        1.0094        .16678E-06** at limit **
  13  norm          .88501E-06    28.355       -.44228E-05** at limit **
  14  Prefactor     .24626E-05    10.607       -.18962E-05** at limit **
  15  Prefactor     .16653E-09    42.518       -.67660E-06** at limit **
  16  Prefactor     .21094E-07    6.2827       -.15964E-06** at limit **
  17  Normalizat    1.0590        .20732        .13163E-04    .29941E-04
  18  Prefactor     .95285        .14982       -.11322E-04    .65326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4771
  Prefactor  = 1.15463e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38595
  norm       = 2.53423
  Prefactor  = 3.33067e-10
  Prefactor  = 2.48052e-06
  norm       = 5.8056
  Prefactor  = 6.07773
  Prefactor  = 2.45914e-08
  Prefactor  = 0
  norm       = 8.85014e-07
  Prefactor  = 2.46259e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.10942e-08
  Normalizat = 1.05899
  Prefactor  = 0.952853
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
Working on...
/lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits.....................!
real 31.20
user 29.40
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits', '/lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits', expMap='/lscratch/kocevski/27286490/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', expCube='/lscratch/kocevski/27286490/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27286490/Model_4FGL_J0037.8+1239_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27286490/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27286490/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27286490/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27286490/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27286490/Model_4FGL_J0037.8+1239_daily_bin2168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19589E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .85754E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24216E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3862       1.0000          .0000       .10000E+07
     6 'norm      '    2.5511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11586E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.8170       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0930       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10501E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11747E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40550E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86416E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .67650E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .91417E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        5.1384        .44461E-06    .14471    
   2  Prefactor     .11546E-07    6.2305       -.16237E-05** at limit **
   3  norm           .0000        .82391        .53056E-06** at limit **
   4  Prefactor      .0000        4.4475       -.81497E-06** at limit **
   5  Prefactor     1.3860        3.0802       -.17552E-06   -.11054E-02
   6  norm          2.5342        4.9509       -.37675E-06   -.25034E-03
   7  Prefactor     .33307E-09    10.742       -.25482E-05** at limit **
   8  Prefactor     .24805E-05    5.6490       -.18249E-05** at limit **
   9  norm          5.8056        6.5774        .38325E-06    .11938E-03
  10  Prefactor     6.0777        4.7255       -.50952E-06   -.22098E-03
  11  Prefactor     .24591E-07    9.4632       -.10582E-05** at limit **
  12  Prefactor      .0000        1.0094        .16678E-06** at limit **
  13  norm          .88501E-06    28.355       -.44228E-05** at limit **
  14  Prefactor     .24626E-05    10.607       -.18962E-05** at limit **
  15  Prefactor     .16653E-09    42.518       -.67660E-06** at limit **
  16  Prefactor     .21094E-07    6.2827       -.15964E-06** at limit **
  17  Normalizat    1.0590        .20732        .13163E-04    .29941E-04
  18  Prefactor     .95285        .14982       -.11322E-04    .65326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4771
  Prefactor  = 1.15463e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38595
  norm       = 2.53423
  Prefactor  = 3.33067e-10
  Prefactor  = 2.48052e-06
  norm       = 5.8056
  Prefactor  = 6.07773
  Prefactor  = 2.45914e-08
  Prefactor  = 0
  norm       = 8.85014e-07
  Prefactor  = 2.46259e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.10942e-08
  Normalizat = 1.05899
  Prefactor  = 0.952853
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286484/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286485/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
ile=/lscratch/kocevski/27286511/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 7.06
user 6.68
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27286511/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286511/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27286511/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
.....................!
real 59.63
user 55.47
sys 3.48

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

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286511/cmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=9.4695 yref=12.6527 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.50
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits scfile=/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits outfile=/lscratch/kocevski/27286511/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=9.4695 yref=12.6527 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.52
user 0.18
sys 0.13

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

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

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286484/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:36:02.882735', job_id='27286484', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867362.88', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:36:03 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286485/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:36:03.760946', job_id='27286485', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867363.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:36:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286482/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286482/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:36:11.562143', job_id='27286482', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867371.56', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:36:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286490/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286490/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:36:25.144077', job_id='27286490', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867385.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:36:25 PDT 2026

Working on...
/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits.....................!
real 25.21
user 23.88
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits', '/lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits', expMap='/lscratch/kocevski/27286511/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', expCube='/lscratch/kocevski/27286511/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27286511/Model_4FGL_J0037.8+1239_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27286511/ft1_filtered_4FGL_J0037.8+1239_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27286511/ft2_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27286511/expmap_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27286511/ltcube_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27286511/Model_4FGL_J0037.8+1239_daily_bin2168.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19589E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .85754E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24216E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3862       1.0000          .0000       .10000E+07
     6 'norm      '    2.5511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11586E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13486E-03   1.0000          .0000       .10000E+07
     9 'norm      '    5.8170       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0930       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10501E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11747E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .40550E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86416E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .67650E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .91417E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.477        5.1384        .44461E-06    .14471    
   2  Prefactor     .11546E-07    6.2305       -.16237E-05** at limit **
   3  norm           .0000        .82391        .53056E-06** at limit **
   4  Prefactor      .0000        4.4475       -.81497E-06** at limit **
   5  Prefactor     1.3860        3.0802       -.17552E-06   -.11054E-02
   6  norm          2.5342        4.9509       -.37675E-06   -.25034E-03
   7  Prefactor     .33307E-09    10.742       -.25482E-05** at limit **
   8  Prefactor     .24805E-05    5.6490       -.18249E-05** at limit **
   9  norm          5.8056        6.5774        .38325E-06    .11938E-03
  10  Prefactor     6.0777        4.7255       -.50952E-06   -.22098E-03
  11  Prefactor     .24591E-07    9.4632       -.10582E-05** at limit **
  12  Prefactor      .0000        1.0094        .16678E-06** at limit **
  13  norm          .88501E-06    28.355       -.44228E-05** at limit **
  14  Prefactor     .24626E-05    10.607       -.18962E-05** at limit **
  15  Prefactor     .16653E-09    42.518       -.67660E-06** at limit **
  16  Prefactor     .21094E-07    6.2827       -.15964E-06** at limit **
  17  Normalizat    1.0590        .20732        .13163E-04    .29941E-04
  18  Prefactor     .95285        .14982       -.11322E-04    .65326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4771
  Prefactor  = 1.15463e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38595
  norm       = 2.53423
  Prefactor  = 3.33067e-10
  Prefactor  = 2.48052e-06
  norm       = 5.8056
  Prefactor  = 6.07773
  Prefactor  = 2.45914e-08
  Prefactor  = 0
  norm       = 8.85014e-07
  Prefactor  = 2.46259e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.10942e-08
  Normalizat = 1.05899
  Prefactor  = 0.952853
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.251     FROM HESSE     STATUS=OK           274 CALLS     1314 TOTAL
                     EDM=   .75E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.477        13.669        .31052E-03   -1.5643    
   2  Prefactor     .11546E-07    19.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .82507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.4450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3860        3.1327        .92328E-03   -1.5684    
   6  norm          2.5342        4.9677        .63901E-03   -1.5676    
   7  Prefactor     .33307E-09    14.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24805E-05    16.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8056        6.5721        .41617E-03   -1.5660    
  10  Prefactor     6.0777        4.7312        .40650E-03   -1.5659    
  11  Prefactor     .24591E-07    9.5158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .99741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88501E-06    29.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24626E-05    20.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-09    42.412        .14896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .21094E-07    6.3015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0590        .17710        .61515E-01   -.91080    
  18  Prefactor     .95285        .12730        .45675E-01   -.94318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52294e-07
Minuit parameter uncertainties:
  1  13.6691
  2  0.00095343
  3  2.45176e-06
  4  1.86176e-05
  5  3.13273
  6  4.96769
  7  0.000139709
  8  0.0129284
  9  6.57215
  10  4.73125
  11  0.000967458
  12  3.48982e-06
  13  0.010236
  14  0.0141955
  15  0.000175578
  16  0.000729217
  17  0.177203
  18  0.127339
Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.481e-06  1.293e-02  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.273e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 7.40377113634e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00564757096248 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27286511/likelihoodResults_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.87156848
delta logL = 0.379249091942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6759.02300873
delta logL = 1.22780883613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40068E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .97994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6760.251     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      541 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9777        .42118E-03** at limit **
   2  Index         1.0718        .97537       -.84983E-07     .0000    
   3  Normalizat    1.0590        1.3573        .61198E-05   -.40535E-06
   4  Prefactor     .95285        1.3072       -.50857E-05   -.54485E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.07176
  Normalizat = 1.05899
  Prefactor  = 0.952852
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6760.251     FROM HESSE     STATUS=FAILED         9 CALLS      550 TOTAL
                     EDM=   .25E-15  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9777        .42118E-03   -1484.4    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61538E-01    1.2106       -.84983E-07   -.15827E+06
   3  Normalizat    1.0590        1.3573        .61198E-05   -278.69    
   4  Prefactor     .95285        1.3072       -.50857E-05   -165.56    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49848e-16
Minuit parameter uncertainties:
  1  1.11713e-07
  2  0.992296
  3  1.40616
  4  1.35475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6760.25081749
delta logL = 7.33816705178e-08

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  0.000e+00  1.117e-07  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  1.072e+00  9.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  9.529e-01  1.355e+00  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.059e+00  1.406e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.470 12.653

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/27286511/cmap_HighResolution_801273601_801532801_4FGL_J0037.8+1239_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2026-05-27 00:37:21.054233', job_id='27286511', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779867441.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.34e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2168' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed May 27 00:37:21 PDT 2026

