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

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
/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)
tfile=/lscratch/kocevski/31204970/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 8.87
user 8.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31204970/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204970/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31204970/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 68.59
user 64.09
sys 3.84

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

Setting source of interest to:
4FGL J0937.1+5008 @ 144.297 50.1437

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204970/cmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204970/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31204970/Model_4FGL_J0937.1+5008_daily_bin2175.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
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204858/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204858/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:08:13.559075', job_id='31204858', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692493.56', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:08:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204873/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204873/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:08:18.305117', job_id='31204873', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692498.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:08:18 PDT 2026

_V02
Working on...
/lscratch/kocevski/31204871/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 24.77
user 22.42
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31204871/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31204871/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31204871/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31204871/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31204871/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31204871/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31204871/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31204871/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31204871/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31204871/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .0000       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
_V02
Working on...
/lscratch/kocevski/31204890/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 23.06
user 21.66
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31204890/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31204890/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31204890/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31204890/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31204890/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31204890/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31204890/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31204890/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31204890/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31204890/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .0000       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
tfile=/lscratch/kocevski/31204993/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 8.86
user 8.15
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31204993/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204993/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31204993/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 66.27
user 61.71
sys 3.69

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

Setting source of interest to:
4FGL J0937.1+5008 @ 144.297 50.1437

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204993/cmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31204993/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31204993/Model_4FGL_J0937.1+5008_daily_bin2175.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 **********
 **   18 **HESSE 
 **********

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
number of points = 7626
number of fields = 31
RA_SUN column already exists. File will not be modified.
_V02
Working on...
/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 21.57
user 20.07
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31204970/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31204970/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31204970/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31204970/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31204970/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31204970/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31204970/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31204970/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .00Done.


Performing analysis on: 4FGL_J0937.1+5008_daily_bin2175
RA = 144.297, Dec = 50.1437
tmin = 803088001, tmax = 803347201
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='31205141', job_status='RUN', time_executed='2026-07-10 07:07:01.200540', time_epoch_executed='1783692421.2' WHERE source_name='4FGL J0937.1+5008' and cadence='daily' and bin_id='2175'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31205141

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31205141/ft1_4FGL_J0937.1+5008_daily_bin2175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31205141/ft1_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205141/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin2175.fits ra=144.297 dec=50.1437 rad=12.0 tmin=803088001.0 tmax=803347201.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.23
user 1.67
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.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/31205141/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
00       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204871/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204871/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:09:53.282760', job_id='31204871', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692593.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:09:53 PDT 2026

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

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204890/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204890/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:10:05.669070', job_id='31204890', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692605.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:10:05 PDT 2026

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


Performing analysis on: 4FGL_J0937.1+5008_daily_bin2175
RA = 144.297, Dec = 50.1437
tmin = 803088001, tmax = 803347201
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='31205161', job_status='RUN', time_executed='2026-07-10 07:08:00.413535', time_epoch_executed='1783692480.41' WHERE source_name='4FGL J0937.1+5008' and cadence='daily' and bin_id='2175'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31205161

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31205161/ft1_4FGL_J0937.1+5008_daily_bin2175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31205161/ft1_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205161/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin2175.fits ra=144.297 dec=50.1437 rad=12.0 tmin=803088001.0 tmax=803347201.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.25
user 1.66
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.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/31205161/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.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.68
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 21.02
user 19.46
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31204993/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31204993/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31204993/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31204993/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31204993/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31204993/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31204993/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31204993/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .00Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204970/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204970/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:10:34.624983', job_id='31204970', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692634.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:10:34 PDT 2026

00       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
file=/lscratch/kocevski/31205141/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 9.02
user 8.47
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31205141/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205141/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31205141/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 72.64
user 67.77
sys 4.16

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

Setting source of interest to:
4FGL J0937.1+5008 @ 144.297 50.1437

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205141/cmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205141/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31205141/Model_4FGL_J0937.1+5008_daily_bin2175.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_Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31204993/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31204993/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:11:40.755564', job_id='31204993', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692700.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:11:41 PDT 2026

tfile=/lscratch/kocevski/31205161/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 9.18
user 8.58
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31205161/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205161/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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/31205161/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
.....................!
real 72.90
user 68.13
sys 4.05

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

Setting source of interest to:
4FGL J0937.1+5008 @ 144.297 50.1437

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205161/cmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits outfile=/lscratch/kocevski/31205161/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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=144.297 yref=50.1437 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.76
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31205161/Model_4FGL_J0937.1+5008_daily_bin2175.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 GALV02
Working on...
/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 22.75
user 21.59
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31205141/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31205141/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31205141/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31205141/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31205141/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31205141/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31205141/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31205141/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .0000       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
_V02
Working on...
/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits.....................!
real 23.23
user 21.60
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits', '/lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits', expMap='/lscratch/kocevski/31205161/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', expCube='/lscratch/kocevski/31205161/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31205161/Model_4FGL_J0937.1+5008_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31205161/ft1_filtered_4FGL_J0937.1+5008_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31205161/ft2_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31205161/expmap_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31205161/ltcube_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31205161/Model_4FGL_J0937.1+5008_daily_bin2175.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) = 5807.56586312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6862       1.0000          .0000       .10000E+07
     2 'norm      '    .10197E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .21242E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59130E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5844       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13025E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31824E-03   1.0000          .0000       .10000E+07
     8 'norm      '     .0000       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1154       1.0000          .0000       .10000E+07
    10 'norm      '    .20004E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4237       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.0729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.4954       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10279E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .74079E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.9779       1.0000          .0000       .10000E+07
    17 'Prefactor '    .42083E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.2129       1.0000          .0000       .10000E+07
    19 'norm      '    .20444E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16274E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.5380       1.0000          .0000       .10000E+07
    22 'norm      '    1.1785       1.0000          .0000       .10000E+07
    23 'norm      '    36.362       1.0000          .0000       .10000E+07
    24 'Prefactor '    3.1254       1.0000          .0000       .10000E+07
    25 'norm      '    3.0208       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36110E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .30719       1.0000          .0000       .10000E+07
    28 'Normalizat'    .90382       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1652 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6492        8.0684        .22121E-06   -.57568E-03
   2  norm          .70832E-07    3.7207       -.10136E-05** at limit **
   3  norm          .15543E-07    3.8761        .56020E-06** at limit **
   4  Prefactor     .11102E-08    4.5037       -.10613E-06** at limit **
   5  Prefactor     1.7514        2.5667       -.56910E-06    .33145E-02
   6  Prefactor     .52902E-07    6.1244        .15556E-05** at limit **
   7  Prefactor     .16098E-08    16.964        .57981E-06** at limit **
   8  norm           .0000        .85606       -.50426E-07** at limit **
   9  Prefactor     2.1161        2.4019        .20224E-07   -.10930E-02
  10  norm          .34972E-08    9.4746       -.81193E-06** at limit **
  11  Prefactor     2.4269        2.4048        .10065E-06   -.20843E-02
  12  Prefactor     7.2383        9.5357       -.41762E-08   -.18187E-02
  13  Prefactor     1.4886        3.1526        .15128E-06   -.11435E-02
  14  Prefactor     .23870E-07    5.4512       -.23511E-06** at limit **
  15  norm          .74940E-08    80.731       -.25246E-05** at limit **
  16  Prefactor     3.0593        48.095       -.41260E-05    .18221E-02
  17  Prefactor     .38858E-09    2.7452        .42632E-06** at limit **
  18  Prefactor     1.2054        4.4548       -.12075E-05    .95606E-03
  19  norm          .77716E-09    7.7642        .80262E-06** at limit **
  20  Prefactor     .22204E-08    1.1859        .51081E-06** at limit **
  21  Prefactor     6.8902        7.9095       -.39544E-06    .17986E-02
  22  norm          1.1782        .40842        .75869E-08    .49341E-03
  23  norm          36.290        1.7981       -.12249E-07    .94716E-02
  24  Prefactor     3.1319        4.7983        .26963E-06    .18801E-02
  25  norm          3.0225        1.8522        .13931E-07   -.63827E-03
  26  Prefactor     .44464E-07    4.0690        .93158E-06** at limit **
  27  norm          .30748        .91692       -.25312E-06   -.47577E-03
  28  Normalizat    .90369        .18654       -.56457E-05   -.13189E-03
  29  Prefactor     .90113        .21728       -.10295E-06   -.64649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64921
  norm       = 7.08322e-08
  norm       = 1.55431e-08
  Prefactor  = 1.11022e-09
  Prefactor  = 1.75145
  Prefactor  = 5.29021e-08
  Prefactor  = 1.60982e-09
  norm       = 0
  Prefactor  = 2.11612
  norm       = 3.4972e-09
  Prefactor  = 2.42689
  Prefactor  = 7.23832
  Prefactor  = 1.48859
  Prefactor  = 2.38698e-08
  norm       = 7.49401e-09
  Prefactor  = 3.05932
  Prefactor  = 3.88578e-10
  Prefactor  = 1.20544
  norm       = 7.77156e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 6.89017
  norm       = 1.17815
  norm       = 36.2896
  Prefactor  = 3.13186
  norm       = 3.02254
  Prefactor  = 4.44644e-08
  norm       = 0.30748
  Normalizat = 0.903687
  Prefactor  = 0.901134
Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31205141/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31205141/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:14:07.145423', job_id='31205141', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692847.15', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:14:07 PDT 2026

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

 FCN=   5806.364     FROM HESSE     STATUS=OK           623 CALLS     2275 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6492        8.1033        .38783E-03   -1.5656    
   2  norm          .70832E-07    5.7738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .15543E-07    12.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    4.5493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7514        51.712        .84314E-03   -1.5681    
   6  Prefactor     .52902E-07    7.7800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16098E-08    19.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .30553        .19109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1161        2.7772        .70892E-03   -1.5679    
  10  norm          .34972E-08    9.6922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4269        2.4295        .65714E-03   -1.5677    
  12  Prefactor     7.2383        9.6091        .37696E-03   -1.5654    
  13  Prefactor     1.4886        3.2504        .87582E-03   -1.5684    
  14  Prefactor     .23870E-07    6.1453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .74940E-08    80.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0593        60.255        .58809E-03   -1.5673    
  17  Prefactor     .38858E-09    2.7605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2054        4.6064        .10261E-02   -1.5686    
  19  norm          .77716E-09    11.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-08    25.392        .17295E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8902        21.065        .39225E-03   -1.5655    
  22  norm          1.1782        .40849        .62763E-03   -1.5686    
  23  norm          36.290        14.988        .16585E-03   -1.5587    
  24  Prefactor     3.1319        4.9262        .57324E-03   -1.5673    
  25  norm          3.0225        1.8508        .58365E-03   -1.5673    
  26  Prefactor     .44464E-07    5.3545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .30748        .86766        .28327E-02   -1.5697    
  28  Normalizat    .90369        .16426        .44950E-01   -.96331    
  29  Prefactor     .90113        .18753        .45025E-01   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00959e-08
Minuit parameter uncertainties:
  1  8.10332
  2  0.0012792
  3  0.000876051
  4  0.000141327
  5  19.0339
  6  0.00128323
  7  0.000351645
  8  3.3279e-06
  9  2.77721
  10  0.00036842
  11  2.42953
  12  9.60916
  13  3.25036
  14  0.000765838
  15  0.00155313
  16  27.1546
  17  6.61029e-05
  18  4.60637
  19  0.000193512
  20  0.000476369
  21  21.0655
  22  0.408492
  23  14.9878
  24  4.92622
  25  1.85083
  26  0.000976124
  27  0.867661
  28  0.164349
  29  0.187666
Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  2.387e-08  7.658e-04  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.877e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 4.65145053769e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00359352848185 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31205161/likelihoodResults_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.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) = 5806.36558726
delta logL = -0.00138130322557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5806.36420655
delta logL = -6.00139173912e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5806.364     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2447        .42118E-03** at limit **
   2  Index         2.5617        1.8796       -.58442E-05     .0000    
   3  Normalizat    .90369        1.2388        .10085E-05    .19308E-04
   4  Prefactor     .90113        1.2461       -.38299E-05    .43928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.56173
  Normalizat = 0.903687
  Prefactor  = 0.901134
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5806.364     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .74103        2.0583       -.58442E-05   -.50940    
   3  Normalizat    .90369        1.2388        .10085E-05   -.96331    
   4  Prefactor     .90113        1.2461       -.38299E-05   -.96101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.36742e-12
Minuit parameter uncertainties:
  1  4.6863e-06
  2  1.94312
  3  1.28153
  4  1.28918
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) = 5806.36420595
delta logL = 1.9490471459e-09

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  0.000e+00  4.686e-06  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.562e+00  1.943e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  9.011e-01  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.037e-01  1.282e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.297 50.144

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/31205161/cmap_HighResolution_803088001_803347201_4FGL_J0937.1+5008_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2026-07-10 07:14:54.621612', job_id='31205161', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1783692894.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.95e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='2175' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 10 07:14:54 PDT 2026

