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

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31492901', job_status='RUN', time_executed='2026-07-12 19:33:47.624675', time_epoch_executed='1783910027.62' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31492901

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31492901/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31492901/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492901/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.51
user 1.76
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31492901/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.96
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" ou/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/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/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)

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

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31491976/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068

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


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

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

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31491976/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:36:46.117983', job_id='31491976', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910206.12', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:36:46 PDT 2026


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

tfile=/lscratch/kocevski/31492539/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 8.98
user 7.87
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31492539/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492539/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492539/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 70.49
user 65.05
sys 3.96

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492539/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.99
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492539/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.91
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31492539/Model_4FGL_J1501.0+2238_daily_bin2182.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/31492268/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 28.38
user 26.22
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31492268/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31492268/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31492268/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31492268/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31492268/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31492268/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31492268/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31492268/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31492268/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31492268/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31492268/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31492268/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:37:28.932633', job_id='31492268', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910248.93', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:37:29 PDT 2026

_V02
Working on...
/lscratch/kocevski/31492374/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 31.27
user 27.03
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31492374/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31492374/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31492374/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31492374/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31492374/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31492374/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31492374/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31492374/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31492374/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31492374/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31492963', job_status='RUN', time_executed='2026-07-12 19:34:45.397804', time_epoch_executed='1783910085.4' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31492963

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31492963/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31492963/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492963/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.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.07
user 2.13
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31492963/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.90
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" out_V02
Working on...
/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 27.30
user 24.75
sys 1.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31492539/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31492539/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31492539/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31492539/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31492539/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31492539/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31492539/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31492539/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31492374/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
tfile=/lscratch/kocevski/31492901/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 10.81
user 10.04
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31492901/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492901/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492901/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 59.80
user 55.45
sys 3.40

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492901/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492901/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.02
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31492901/Model_4FGL_J1501.0+2238_daily_bin2182.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 Gshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31492374/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:38:07.634790', job_id='31492374', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910287.63', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:38:08 PDT 2026

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

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31492539/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31492539/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:38:37.390695', job_id='31492539', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910317.39', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:38:37 PDT 2026

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


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31493101', job_status='RUN', time_executed='2026-07-12 19:35:51.352198', time_epoch_executed='1783910151.35' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31493101

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31493101/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31493101/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493101/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.90
user 1.95
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31493101/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.89
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" ouAL_V02
Working on...
/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 22.31
user 20.47
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31492901/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31492901/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31492901/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31492901/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31492901/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31492901/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31492901/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31492901/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31493267', job_status='RUN', time_executed='2026-07-12 19:36:47.467456', time_epoch_executed='1783910207.47' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31493267

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31493267/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31493267/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493267/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.87
user 1.94
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31493267/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.87
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" ounumber of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31493242', job_status='RUN', time_executed='2026-07-12 19:36:45.684766', time_epoch_executed='1783910205.68' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31493242

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31493242/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31493242/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493242/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.81
user 2.04
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31493242/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.90
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31492901/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31492901/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:39:36.539325', job_id='31492901', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910376.54', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:39:37 PDT 2026

file=/lscratch/kocevski/31492963/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 9.67
user 8.66
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31492963/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492963/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31492963/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 73.26
user 67.64
sys 4.32

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492963/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31492963/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.97
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31492963/Model_4FGL_J1501.0+2238_daily_bin2182.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_number of points = 7516
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1501.0+2238_daily_bin2182
RA = 225.257, Dec = 22.6364
tmin = 804902401, tmax = 805161601
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='31493227', job_status='RUN', time_executed='2026-07-12 19:36:48.543107', time_epoch_executed='1783910208.54' WHERE source_name='4FGL J1501.0+2238' and cadence='daily' and bin_id='2182'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31493227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31493227/ft1_4FGL_J1501.0+2238_daily_bin2182.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31493227/ft1_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493227/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits ra=225.257 dec=22.6364 rad=12.0 tmin=804902401.0 tmax=805161601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.74
user 2.04
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.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/31493227/ft1_filteredMKT_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" outfile="/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.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.88
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31493101/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 8.81
user 7.78
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31493101/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493101/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493101/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 65.07
user 60.28
sys 3.86

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493101/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493101/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.00
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31493101/Model_4FGL_J1501.0+2238_daily_bin2182.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALV02
Working on...
/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 27.02
user 24.89
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31492963/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31492963/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31492963/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31492963/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31492963/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31492963/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31492963/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31492963/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
tfile=/lscratch/kocevski/31493267/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 8.45
user 7.84
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31493267/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493267/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493267/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 69.39
user 64.78
sys 3.81

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493267/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.99
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493267/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.79
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31493267/Model_4FGL_J1501.0+2238_daily_bin2182.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/31493242/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 8.84
user 7.88
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31493242/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493242/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493242/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 69.38
user 64.42
sys 3.99

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493242/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.79
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493242/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.90
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31493242/Model_4FGL_J1501.0+2238_daily_bin2182.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALDone.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31492963/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31492963/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:41:33.136752', job_id='31492963', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910493.14', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:41:33 PDT 2026

tfile=/lscratch/kocevski/31493227/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 9.21
user 8.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31493227/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493227/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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/31493227/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
.....................!
real 70.63
user 64.50
sys 4.05

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

Setting source of interest to:
4FGL J1501.0+2238 @ 225.257 22.6364

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493227/cmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 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.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits outfile=/lscratch/kocevski/31493227/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.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.257 yref=22.6364 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits evtable="EVENTS" scfile=/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31493227/Model_4FGL_J1501.0+2238_daily_bin2182.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/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 24.26
user 22.31
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31493101/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31493101/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31493101/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31493101/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31493101/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31493101/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31493101/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31493101/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31493101/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31493101/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:42:14.415238', job_id='31493101', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910534.42', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:42:14 PDT 2026

_V02
Working on...
/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 25.55
user 23.87
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31493267/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31493267/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31493267/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31493267/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31493267/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31493267/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31493267/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31493267/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
_V02
Working on...
/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 25.18
user 23.38
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31493242/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31493242/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31493242/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31493242/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31493242/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31493242/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31493242/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31493242/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
  6  23.4693
  7  3.64518e-06
  8  4.78726
  9  3.87889e-05
  10  2.90195e-05
  11  0.76482
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
_V02
Working on...
/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits.....................!
real 27.41
user 24.47
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits', '/lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits', expMap='/lscratch/kocevski/31493227/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', expCube='/lscratch/kocevski/31493227/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31493227/Model_4FGL_J1501.0+2238_daily_bin2182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1501.0+2238'

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  3.674e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31493227/ft1_filtered_4FGL_J1501.0+2238_daily_bin2182.fits
Spacecraft file(s): /lscratch/kocevski/31493227/ft2_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure map: /lscratch/kocevski/31493227/expmap_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
Exposure cube: /lscratch/kocevski/31493227/ltcube_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31493227/Model_4FGL_J1501.0+2238_daily_bin2182.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) = 7959.90146323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14728E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.2349       1.0000          .0000       .10000E+07
     3 'norm      '    2.7973       1.0000          .0000       .10000E+07
     4 'norm      '    2.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    115.98       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.621       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11317       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4456       1.0000          .0000       .10000E+07
     9 'norm      '    .16209E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12268E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .33679       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10852E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    25.480       1.0000          .0000       .10000E+07
    14 'Prefactor '    .78493E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40627E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    2.2487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .56645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.5143       -.16915E-06** at limit **
   2  norm          1.2384        1.9924        .54337E-07   -.14273E-03
   3  norm          2.7973        2.4091        .43402E-07    .17543E-03
   4  norm          2.5909        3.8386       -.20959E-06    .90251E-03
   5  Prefactor     116.79        65.582       -.12066E-06    .52364E-03
   6  Prefactor     21.713        3.6480       -.23910E-07   -.53513E-02
   7  Prefactor      .0000        46.697       -.31431E-07** at limit **
   8  Prefactor     1.4252        4.7251       -.63304E-06    .13629E-02
   9  norm           .0000        26.379        .36481E-06** at limit **
  10  Prefactor      .0000        15.650       -.14067E-06** at limit **
  11  norm          .33657        .71497       -.80565E-08    .85203E-04
  12  Prefactor      .0000        6.4367       -.45301E-07** at limit **
  13  Prefactor     25.534        24.755       -.14201E-06    .10158E-02
  14  Prefactor      .0000        .71671        .21517E-07** at limit **
  15  Prefactor     .55511E-10    17.972       -.84336E-07** at limit **
  16  Normalizat    2.2475        .25804       -.15728E-05    .64827E-04
  17  Prefactor     .56700        .15966       -.10681E-05    .51128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.23836
  norm       = 2.79735
  norm       = 2.59093
  Prefactor  = 116.786
  Prefactor  = 21.713
  Prefactor  = 0
  Prefactor  = 1.42521
  norm       = 0
  Prefactor  = 0
  norm       = 0.336569
  Prefactor  = 0
  Prefactor  = 25.534
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 2.24745
  Prefactor  = 0.566997
Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31493242/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK           265 CALLS     1573 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.5152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2384        2.0367        .10103E-02   -1.5686    
   3  norm          2.7973        2.4167        .60804E-03   -1.5675    
   4  norm          2.5909        3.8725        .63412E-03   -1.5676    
   5  Prefactor     116.79        64.246        .92863E-04   -1.5492    
   6  Prefactor     21.713        23.469        .21512E-03   -1.5615    
   7  Prefactor      .0000        11.205        .13588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.4252        4.7872        .89629E-03   -1.5684    
   9  norm           .0000        26.322        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        15.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33657        .76482        .25239E-02   -1.5696    
  12  Prefactor      .0000        6.4334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.534        25.013        .19815E-03   -1.5607    
  14  Prefactor      .0000        .71641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    17.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.2475        .22079        .58717E-01   -.58484    
  17  Prefactor     .56700        .13769        .68358E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95883e-09
Minuit parameter uncertainties:
  1  6.04212e-06
  2  2.03671
  3  2.41665
  4  3.87247
  5  64.2461
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
-05
  3  0.241036
-05
  4  0.156068
  12  1.40287e-05
  13  25.0135
  14  1.24008e-06
  15  5.4699e-05
  16  0.220894
  17  0.137769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31493242/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:43:06.923109', job_id='31493242', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910586.92', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:43:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31493267/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31493267/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:43:12.121452', job_id='31493267', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910592.12', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:43:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.425e+00  4.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.002e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 225.257 22.636
Photon Flux Upper Limit: 5.80762578318e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00435634339311 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31493227/likelihoodResults_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110346
delta logL = 1.42588760355e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110342
delta logL = 1.87846126209e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7959.901     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4237        5.4163        .34681E-04    .38642E-03
   2  Index         2.0026        1.3265        .94251E-02    .73994E-04
   3  Normalizat    2.2474        .24072        .25958E-03    .66571E-05
   4  Prefactor     .56700        .15584        .30256E-03    .86799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4237
  Index      = 2.00263
  Normalizat = 2.24745
  Prefactor  = 0.566998
 **********
 **   18 **HESSE 
 **********

 FCN=   7959.901     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4237        5.2146        .69361E-05   -1.5684    
   2  Index         2.0026        1.2796        .18850E-02   -.64284    
   3  Normalizat    2.2474        .24090        .10383E-04   -.58484    
   4  Prefactor     .56700        .15595        .12102E-04   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44557e-13
Minuit parameter uncertainties:
  1  5.21457
  2  1.30244
  3  0.241036
  4  0.156068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7959.90110335
delta logL = 2.50901393883e-07

Extracting fit parameters...

4FGL J1501.0+2238
   Spectrum: PowerLaw
239    Prefactor:  1.424e+00  5.215e+00  0.000e+00  1.000e+06 ( 1.000e-13)
240        Index:  2.003e+00  1.302e+00  0.000e+00  1.000e+01 (-1.000e+00)
241        Scale:  1.799e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  5.670e-01  1.561e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  2.247e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 225.257 22.636

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31493227/cmap_HighResolution_804902401_805161601_4FGL_J1501.0+2238_daily_bin2182.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2026-07-12 19:43:31.399711', job_id='31493227', GAL2='0.57', fit_tolerance='1e-08', EG2='2.25', EG='2.25', time_epoch_completed='1783910611.4', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='2.51e-07', ts2='0.11', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='2182' AND source_name='4FGL J1501.0+2238' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 19:43:31 PDT 2026

