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

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494066/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494066/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:52:57.326533', job_id='31494066', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911177.33', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:52:57 PDT 2026

tfile=/lscratch/kocevski/31494319/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 8.07
user 7.34
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31494319/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494319/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/31494319/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 71.68
user 66.29
sys 4.12

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494319/cmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=225.895 yref=47.9959 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494319/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.895 yref=47.9959 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.12
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31494319/Model_4FGL_J1503.5+4759_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J1503.5+4759_daily_bin2181
RA = 225.895, Dec = 47.9959
tmin = 804643201, tmax = 804902401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='31494405', job_status='RUN', time_executed='2026-07-12 19:50:49.707733', time_epoch_executed='1783911049.71' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31494405

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31494405/ft1_4FGL_J1503.5+4759_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31494405/ft1_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494405/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin2181.fits ra=225.895 dec=47.9959 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.28
user 2.57
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits

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

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

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

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" ouV02
Working on...
/lscratch/kocevski/31494211/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 20.85
user 18.60
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494211/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494211/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494211/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494211/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494211/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494211/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494211/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494211/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494211/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494211/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
number of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1503.5+4759_daily_bin2181
RA = 225.895, Dec = 47.9959
tmin = 804643201, tmax = 804902401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='31494648', job_status='RUN', time_executed='2026-07-12 19:51:49.492083', time_epoch_executed='1783911109.49' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31494648

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31494648/ft1_4FGL_J1503.5+4759_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31494648/ft1_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494648/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin2181.fits ra=225.895 dec=47.9959 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.29
user 2.52
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits

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

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

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

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" ounumber of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1503.5+4759_daily_bin2181
RA = 225.895, Dec = 47.9959
tmin = 804643201, tmax = 804902401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='31494647', job_status='RUN', time_executed='2026-07-12 19:51:49.499254', time_epoch_executed='1783911109.5' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31494647

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31494647/ft1_4FGL_J1503.5+4759_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31494647/ft1_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494647/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin2181.fits ra=225.895 dec=47.9959 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.32
user 2.59
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits

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

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

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

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" out **********
 **   18 **HESSE 
 **********

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494211/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494211/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:54:54.293810', job_id='31494211', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911294.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:54:54 PDT 2026

tfile=/lscratch/kocevski/31494405/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 9.11
user 8.32
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31494405/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494405/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/31494405/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 67.39
user 62.49
sys 4.00

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

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

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

This is gtbin version HEAD
real 0.83
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494405/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.895 yref=47.9959 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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31494405/Model_4FGL_J1503.5+4759_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 21.77
user 20.10
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494319/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494319/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494319/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494319/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494319/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494319/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494319/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494319/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
number of points = 7587
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1503.5+4759_daily_bin2181
RA = 225.895, Dec = 47.9959
tmin = 804643201, tmax = 804902401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='31494692', job_status='RUN', time_executed='2026-07-12 19:52:48.954372', time_epoch_executed='1783911168.95' WHERE source_name='4FGL J1503.5+4759' and cadence='daily' and bin_id='2181'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31494692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31494692/ft1_4FGL_J1503.5+4759_daily_bin2181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31494692/ft1_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494692/ft1_filteredMKT_4FGL_J1503.5+4759_daily_bin2181.fits ra=225.895 dec=47.9959 rad=12.0 tmin=804643201.0 tmax=804902401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.44
user 2.82
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits

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

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

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

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
tfile=/lscratch/kocevski/31494648/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 8.39
user 7.57
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31494648/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494648/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/31494648/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 65.54
user 60.93
sys 3.60

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

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

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

This is gtbin version HEAD
real 0.86
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494648/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.895 yref=47.9959 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31494648/Model_4FGL_J1503.5+4759_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALfile=/lscratch/kocevski/31494647/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 8.13
user 7.28
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31494647/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494647/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/31494647/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 65.83
user 61.16
sys 3.78

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494647/cmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=225.895 yref=47.9959 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.87
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494647/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.895 yref=47.9959 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.86
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31494647/Model_4FGL_J1503.5+4759_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494319/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494319/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:56:09.600649', job_id='31494319', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911369.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:56:10 PDT 2026

_V02
Working on...
/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 22.03
user 19.97
sys 1.48

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494405/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494405/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494405/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494405/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494405/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494405/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494405/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494405/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .1000tfile=/lscratch/kocevski/31494692/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 8.63
user 7.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31494692/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494692/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/31494692/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
.....................!
real 70.43
user 65.28
sys 4.15

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

Setting source of interest to:
4FGL J1503.5+4759 @ 225.895 47.9959

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

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

This is gtbin version HEAD
real 0.84
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits scfile=/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits outfile=/lscratch/kocevski/31494692/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=225.895 yref=47.9959 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits evtable="EVENTS" scfile=/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31494692/Model_4FGL_J1503.5+4759_daily_bin2181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL0E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
_V02
Working on...
/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 21.70
user 19.64
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494648/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494648/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494648/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494648/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494648/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494648/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494648/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494648/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .1000V02
Working on...
/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 20.83
user 19.02
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494647/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494647/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494647/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494647/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494647/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494647/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494647/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494647/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .100000E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494405/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494405/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:58:03.186546', job_id='31494405', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911483.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:58:03 PDT 2026

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

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494648/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494648/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:58:54.164625', job_id='31494648', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911534.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:58:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494647/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494647/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 19:58:59.494298', job_id='31494647', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911539.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:58:59 PDT 2026

_V02
Working on...
/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits....................!
real 21.41
user 19.70
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits', '/lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits', expMap='/lscratch/kocevski/31494692/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', expCube='/lscratch/kocevski/31494692/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31494692/Model_4FGL_J1503.5+4759_daily_bin2181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1503.5+4759'

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  2.127e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31494692/ft1_filtered_4FGL_J1503.5+4759_daily_bin2181.fits
Spacecraft file(s): /lscratch/kocevski/31494692/ft2_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure map: /lscratch/kocevski/31494692/expmap_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
Exposure cube: /lscratch/kocevski/31494692/ltcube_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31494692/Model_4FGL_J1503.5+4759_daily_bin2181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26232E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40397E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18546E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .75260E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4624       1.0000          .0000       .10000E+07
     6 'Prefactor '    96.238       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.139       1.0000          .0000       .10000E+07
     8 'Prefactor '    .32908E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86071E-03   1.0000          .0000       .10000E+07
    10 'norm      '    18.175       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4336       1.0000          .0000       .10000E+07
    12 'norm      '    .68793       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16001E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39423E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79191E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .19362E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44988E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .11766E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .47715E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .15020E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    19.039       1.0000          .0000       .10000E+07
    22 'Prefactor '    .60468E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7712       1.0000          .0000       .10000E+07
    24 'Prefactor '    36.120       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1944       1.0000          .0000       .10000E+07
    26 'Prefactor '    3.0431       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88305       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2591 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63011E-06    13.068        .42455E-07** at limit **
   2  Prefactor     .45752E-06    12.143       -.15994E-06** at limit **
   3  Prefactor     .12212E-08    3.4470        .10280E-06** at limit **
   4  Prefactor     .33307E-09    4.0857        .10923E-06** at limit **
   5  Prefactor     5.4670        2.9306        .43859E-07    .35173E-04
   6  Prefactor     95.638        39.952       -.75072E-07   -.16965    
   7  Prefactor     19.115        2.8628        .10390E-07   -.36382E-01
   8  Prefactor      .0000        30.092       -.29323E-06** at limit **
   9  Prefactor     .15765E-07    4.3309        .11248E-06** at limit **
  10  norm          18.229        3.3920        .43123E-08    .22779E-02
  11  Prefactor     8.4312        1.0673       -.12359E-07   -.26388E-02
  12  norm          .68728        .81686        .77651E-07   -.12732E-02
  13  Prefactor     .50343E-06    2.7857       -.60899E-08** at limit **
  14  Prefactor     .26090E-08    2.5034        .29021E-07** at limit **
  15  Prefactor     .13878E-08    3.1607       -.32013E-06** at limit **
  16  norm           .0000        .74739        .43133E-08** at limit **
  17  Prefactor     .12124E-06    5.1390        .45877E-06** at limit **
  18  norm           .0000        1.7038        .51576E-07** at limit **
  19  Prefactor     .52180E-08    4.4237       -.25756E-06** at limit **
  20  Prefactor      .0000        26.131        .31392E-06** at limit **
  21  Prefactor     19.058        9.7462       -.63366E-07    .55356E-01
  22  Prefactor     .61812E-06    2.4743        .13843E-06** at limit **
  23  norm          2.7656        1.3931       -.92145E-09   -.16581E-02
  24  Prefactor     36.199        1.5878       -.78114E-08   -.31879E-02
  25  Prefactor     1.0413        17.339        .19033E-05   -.27784E-02
  26  Prefactor     3.4345        43.282        .38275E-06   -.59078E-01
  27  Normalizat    1.1085        .20715        .83648E-05   -.80102E-04
  28  Prefactor     .88299        .22570       -.73117E-05   -.34212E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.30107e-07
  Prefactor  = 4.57523e-07
  Prefactor  = 1.22125e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 5.46697
  Prefactor  = 95.638
  Prefactor  = 19.1151
  Prefactor  = 0
  Prefactor  = 1.57652e-08
  norm       = 18.2294
  Prefactor  = 8.43117
  norm       = 0.68728
  Prefactor  = 5.03431e-07
  Prefactor  = 2.60902e-09
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 1.21236e-07
  norm       = 0
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 19.0576
  Prefactor  = 6.18117e-07
  norm       = 2.76558
  Prefactor  = 36.1989
  Prefactor  = 1.04125
  Prefactor  = 3.43454
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.976     FROM HESSE     STATUS=OK           567 CALLS     3158 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63011E-06    15.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45752E-06    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12212E-08    3.4168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.5382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4670        3.3619        .42969E-03   -1.5661    
   6  Prefactor     95.638        43.268        .10194E-03   -1.5512    
   7  Prefactor     19.115        26.054        .22866E-03   -1.5621    
   8  Prefactor      .0000        29.887        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15765E-07    8.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.229        13.991        .23465E-03   -1.5623    
  11  Prefactor     8.4312        11.033        .34495E-03   -1.5650    
  12  norm          .68728        .83072        .61693E-03   -1.5691    
  13  Prefactor     .50343E-06    7.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26090E-08    6.7123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13878E-08    3.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .74255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12124E-06    5.4989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.6979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52180E-08    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        26.119        .17389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.058        20.950        .22926E-03   -1.5621    
  22  Prefactor     .61812E-06    6.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7656        28.542        .61109E-03   -1.5675    
  24  Prefactor     36.199        31.900        .16641E-03   -1.5588    
  25  Prefactor     1.0413        17.101        .10405E-02   -1.5688    
  26  Prefactor     3.4345        358.18        .58137E-03   -1.5671    
  27  Normalizat    1.1085        .18004        .37676E-01   -.89480    
  28  Prefactor     .88299        .19315        .44789E-01   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1918e-06
Minuit parameter uncertainties:
  1  0.0062145
  2  0.00506766
  3  0.000129801
  4  0.000103577
  5  3.36195
  6  43.2682
  7  26.054
  8  1.24563e-05
  9  0.000735414
  10  13.9912
  11  11.0325
  12  0.830722
  13  0.00376563
  14  0.000265964
  15  0.000132431
  16  1.30064e-06
  17  0.00163294
  18  1.17892e-05
  19  0.00030331
  20  3.18772e-05
  21  20.9502
  22  0.00391915
  23  17.7691
  24  31.9003
  25  8.43949
  26  70.1521
  27  0.180138
  28  0.193295
Done.

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

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  1.388e-09  1.324e-04  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  2.221e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.933e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.895 47.996
Photon Flux Upper Limit: 5.82751626543e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00444683689457 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31494692/likelihoodResults_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.9768805
delta logL = -0.000539796878911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.97634226
delta logL = -1.55744510266e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6183.976     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .27673        .25008E-02** at limit **
   2  Index         3.4142        1.9132        .11948E-04     .0000    
   3  Normalizat    1.1085        1.1491        .98642E-05    .75189E-05
   4  Prefactor     .88299        1.2286       -.79911E-05   -.47581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.41423
  Normalizat = 1.10847
  Prefactor  = 0.882993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6183.976     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .27673        .25008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3012        2.2479        .11948E-04   -.32273    
   3  Normalizat    1.1085        1.1491        .98642E-05   -.89480    
   4  Prefactor     .88299        1.2286       -.79911E-05   -.96738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.14082e-12
Minuit parameter uncertainties:
  1  2.01368e-06
  2  1.96937
  3  1.17675
  4  1.27065
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) = 6183.9763407
delta logL = 2.23735696636e-10

Extracting fit parameters...

4FGL J1503.5+4759
   Spectrum: PowerLaw
292    Prefactor:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
293        Index:  3.414e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
294        Scale:  1.746e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  8.830e-01  1.271e+00  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  1.108e+00  1.177e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.895 47.996

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/31494692/cmap_HighResolution_804643201_804902401_4FGL_J1503.5+4759_daily_bin2181.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2026-07-12 20:00:07.446803', job_id='31494692', GAL2='0.88', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1783911607.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.24e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2181' AND source_name='4FGL J1503.5+4759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 20:00:07 PDT 2026

