/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).

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


Performing analysis on: 4FGL_J1559.9+2319_daily_bin2178
RA = 239.978, Dec = 23.3196
tmin = 803865601, tmax = 804124801
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='31524764', job_status='RUN', time_executed='2026-07-13 04:56:48.517883', time_epoch_executed='1783943808.52' WHERE source_name='4FGL J1559.9+2319' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31524764

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31524764/ft1_4FGL_J1559.9+2319_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31524764/ft1_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524764/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits ra=239.978 dec=23.3196 rad=12.0 tmin=803865601.0 tmax=804124801.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 1.93
user 1.47
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.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/31524764/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.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.61
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" ou/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  3.220e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 239.978 23.320
Photon Flux Upper Limit: 6.68298372735e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0051127633077 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31524484/likelihoodResults_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.74287009
delta logL = -0.0153175925479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7803.72755253
delta logL = -3.04789864458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      225 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3119        .42118E-03** at limit **
   2  Index         .79723        .64623        .18604E-04     .0000    
   3  Normalizat    1.3033        1.0787        .21291E-05    .36720E-04
   4  Prefactor     .73679        1.0864       -.86390E-06    .45330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.797225
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7803.728     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .97592E-02    .90883        .18604E-04   -.99831    
   3  Normalizat    1.3033        1.0787        .21291E-05   -.83466    
   4  Prefactor     .73679        1.0864       -.86390E-06   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.32838e-12
Minuit parameter uncertainties:
  1  3.64099e-06
  2  0.652524
  3  1.09822
  4  1.12046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7803.7275525
delta logL = 4.54747350886e-12

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  3.641e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  7.972e-01  6.525e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.120e+00  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.098e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 239.978 23.320

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/31524484/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-07-13 04:58:47.293557', job_id='31524484', GAL2='0.74', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1783943927.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='2178' AND source_name='4FGL J1559.9+2319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 04:58:47 PDT 2026

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


Performing analysis on: 4FGL_J1559.9+2319_daily_bin2178
RA = 239.978, Dec = 23.3196
tmin = 803865601, tmax = 804124801
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='31524784', job_status='RUN', time_executed='2026-07-13 04:57:49.092254', time_epoch_executed='1783943869.09' WHERE source_name='4FGL J1559.9+2319' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31524784

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31524784/ft1_4FGL_J1559.9+2319_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31524784/ft1_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524784/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits ra=239.978 dec=23.3196 rad=12.0 tmin=803865601.0 tmax=804124801.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.00
user 1.50
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.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/31524784/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" ounumber of points = 7456
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1559.9+2319_daily_bin2178
RA = 239.978, Dec = 23.3196
tmin = 803865601, tmax = 804124801
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='31524884', job_status='RUN', time_executed='2026-07-13 04:58:46.035248', time_epoch_executed='1783943926.04' WHERE source_name='4FGL J1559.9+2319' and cadence='daily' and bin_id='2178'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31524884

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31524884/ft1_4FGL_J1559.9+2319_daily_bin2178.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31524884/ft1_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524884/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits ra=239.978 dec=23.3196 rad=12.0 tmin=803865601.0 tmax=804124801.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 1.85
user 1.35
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.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/31524884/ft1_filteredMKT_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" outfile="/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31524764/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 8.85
user 8.30
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31524764/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524764/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524764/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 68.01
user 63.32
sys 4.08

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

Setting source of interest to:
4FGL J1559.9+2319 @ 239.978 23.3196

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524764/cmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524764/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31524764/Model_4FGL_J1559.9+2319_daily_bin2178.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/31524784/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 9.05
user 8.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31524784/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524784/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524784/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 72.31
user 67.35
sys 4.17

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

Setting source of interest to:
4FGL J1559.9+2319 @ 239.978 23.3196

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524784/cmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524784/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 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.80
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31524784/Model_4FGL_J1559.9+2319_daily_bin2178.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/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits.....................!
real 23.45
user 22.13
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits', '/lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits', expMap='/lscratch/kocevski/31524764/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', expCube='/lscratch/kocevski/31524764/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31524764/Model_4FGL_J1559.9+2319_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1559.9+2319'

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  2.531e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31524764/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31524764/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31524764/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31524764/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31524764/Model_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.77996502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.680       1.0000          .0000       .10000E+07
     2 'norm      '    7.5871       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1617       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46720E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5135       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35410E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .42994E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .90622       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18352E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14126E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45186E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5877       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9383       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3040       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .73677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      833 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.544        37.338       -.31727E-06   -.56883E-03
   2  norm          7.5895        2.6665        .13736E-07    .42992E-02
   3  Prefactor     1.1633        31.195       -.20078E-05    .68104E-03
   4  Prefactor     .16653E-09    11.473        .20464E-06** at limit **
   5  Prefactor     1.5151        1.8324       -.20222E-06    .19666E-02
   6  Prefactor      .0000        8.5587        .67243E-06** at limit **
   7  norm          .16653E-09    12.421        .82761E-08** at limit **
   8  norm          .96994        1.3470       -.41006E-07    .39380E-02
   9  Prefactor     .55511E-10    5.3867       -.48023E-06** at limit **
  10  Prefactor      .0000        1.5874        .35243E-07** at limit **
  11  Prefactor     .61062E-09    29.107        .18109E-06** at limit **
  12  Prefactor     8.6401        2.7849       -.30917E-07    .61871E-02
  13  Prefactor     9.9642        7.2064       -.35953E-07   -.81134E-03
  14  Normalizat    1.3033        .22626       -.25133E-05    .11759E-04
  15  Prefactor     .73679        .12598        .17836E-05    .13948E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5439
  norm       = 7.58946
  Prefactor  = 1.16334
  Prefactor  = 1.66533e-10
  Prefactor  = 1.51512
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0.96994
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 8.64015
  Prefactor  = 9.96419
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********

 FCN=   7803.728     FROM HESSE     STATUS=OK           216 CALLS     1049 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.544        37.341        .14638E-03   -1.5570    
   2  norm          7.5895        3.1058        .36384E-03   -1.5653    
   3  Prefactor     1.1633        41.835        .10681E-02   -1.5686    
   4  Prefactor     .16653E-09    11.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5151        1.8566        .86881E-03   -1.5683    
   6  Prefactor      .0000        8.6661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    2.2469        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .96994        31.095        .45331E-03   -1.5688    
   9  Prefactor     .55511E-10    5.4234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.5840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    29.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6401        14.833        .34182E-03   -1.5649    
  13  Prefactor     9.9642        7.2699        .31761E-03   -1.5645    
  14  Normalizat    1.3033        .19185        .62543E-01   -.83466    
  15  Prefactor     .73679        .10599        .42889E-01   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22971e-08
Minuit parameter uncertainties:
  1  37.3411
  2  3.10583
  3  13.9525
  4  8.5002e-05
  5  1.85663
  6  1.85434e-05
  7  4.00771e-05
  8  10.9837
  9  3.21996e-05
  10  2.50464e-06
  11  0.000273052
  12  14.8332
  13  7.26995
  14  0.191951
  15  0.106024
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  3.220e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 239.978 23.320
Photon Flux Upper Limit: 6.68298372735e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0051127633077 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31524764/likelihoodResults_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.74287009
delta logL = -0.0153175925479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7803.72755253
delta logL = -3.04789864458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      225 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3119        .42118E-03** at limit **
   2  Index         .79723        .64623        .18604E-04     .0000    
   3  Normalizat    1.3033        1.0787        .21291E-05    .36720E-04
   4  Prefactor     .73679        1.0864       -.86390E-06    .45330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.797225
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7803.728     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .97592E-02    .90883        .18604E-04   -.99831    
   3  Normalizat    1.3033        1.0787        .21291E-05   -.83466    
   4  Prefactor     .73679        1.0864       -.86390E-06   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.32838e-12
Minuit parameter uncertainties:
  1  3.64099e-06
  2  0.652524
  3  1.09822
  4  1.12046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7803.7275525
delta logL = 4.54747350886e-12

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  3.641e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  7.972e-01  6.525e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.120e+00  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.098e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 239.978 23.320

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/31524764/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-07-13 05:01:47.269947', job_id='31524764', GAL2='0.74', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1783944107.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='2178' AND source_name='4FGL J1559.9+2319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 05:01:47 PDT 2026

tfile=/lscratch/kocevski/31524884/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 8.22
user 7.72
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31524884/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524884/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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/31524884/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
.....................!
real 64.72
user 60.50
sys 3.57

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

Setting source of interest to:
4FGL J1559.9+2319 @ 239.978 23.3196

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524884/cmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 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.80
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits outfile=/lscratch/kocevski/31524884/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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=239.978 yref=23.3196 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.68
user 0.24
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits evtable="EVENTS" scfile=/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31524884/Model_4FGL_J1559.9+2319_daily_bin2178.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/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits.....................!
real 25.98
user 24.54
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits', '/lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits', expMap='/lscratch/kocevski/31524784/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', expCube='/lscratch/kocevski/31524784/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31524784/Model_4FGL_J1559.9+2319_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1559.9+2319'

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  2.531e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31524784/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31524784/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31524784/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31524784/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31524784/Model_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.77996502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.680       1.0000          .0000       .10000E+07
     2 'norm      '    7.5871       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1617       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46720E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5135       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35410E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .42994E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .90622       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18352E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14126E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45186E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5877       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9383       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3040       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .73677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      833 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.544        37.338       -.31727E-06   -.56883E-03
   2  norm          7.5895        2.6665        .13736E-07    .42992E-02
   3  Prefactor     1.1633        31.195       -.20078E-05    .68104E-03
   4  Prefactor     .16653E-09    11.473        .20464E-06** at limit **
   5  Prefactor     1.5151        1.8324       -.20222E-06    .19666E-02
   6  Prefactor      .0000        8.5587        .67243E-06** at limit **
   7  norm          .16653E-09    12.421        .82761E-08** at limit **
   8  norm          .96994        1.3470       -.41006E-07    .39380E-02
   9  Prefactor     .55511E-10    5.3867       -.48023E-06** at limit **
  10  Prefactor      .0000        1.5874        .35243E-07** at limit **
  11  Prefactor     .61062E-09    29.107        .18109E-06** at limit **
  12  Prefactor     8.6401        2.7849       -.30917E-07    .61871E-02
  13  Prefactor     9.9642        7.2064       -.35953E-07   -.81134E-03
  14  Normalizat    1.3033        .22626       -.25133E-05    .11759E-04
  15  Prefactor     .73679        .12598        .17836E-05    .13948E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5439
  norm       = 7.58946
  Prefactor  = 1.16334
  Prefactor  = 1.66533e-10
  Prefactor  = 1.51512
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0.96994
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 8.64015
  Prefactor  = 9.96419
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********

 FCN=   7803.728     FROM HESSE     STATUS=OK           216 CALLS     1049 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.544        37.341        .14638E-03   -1.5570    
   2  norm          7.5895        3.1058        .36384E-03   -1.5653    
   3  Prefactor     1.1633        41.835        .10681E-02   -1.5686    
   4  Prefactor     .16653E-09    11.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5151        1.8566        .86881E-03   -1.5683    
   6  Prefactor      .0000        8.6661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    2.2469        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .96994        31.095        .45331E-03   -1.5688    
   9  Prefactor     .55511E-10    5.4234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.5840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    29.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6401        14.833        .34182E-03   -1.5649    
  13  Prefactor     9.9642        7.2699        .31761E-03   -1.5645    
  14  Normalizat    1.3033        .19185        .62543E-01   -.83466    
  15  Prefactor     .73679        .10599        .42889E-01   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22971e-08
Minuit parameter uncertainties:
  1  37.3411
  2  3.10583
  3  13.9525
  4  8.5002e-05
  5  1.85663
  6  1.85434e-05
  7  4.00771e-05
  8  10.9837
  9  3.21996e-05
  10  2.50464e-06
  11  0.000273052
  12  14.8332
  13  7.26995
  14  0.191951
  15  0.106024
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  3.220e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 239.978 23.320
Photon Flux Upper Limit: 6.68298372735e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0051127633077 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31524784/likelihoodResults_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.74287009
delta logL = -0.0153175925479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7803.72755253
delta logL = -3.04789864458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      225 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3119        .42118E-03** at limit **
   2  Index         .79723        .64623        .18604E-04     .0000    
   3  Normalizat    1.3033        1.0787        .21291E-05    .36720E-04
   4  Prefactor     .73679        1.0864       -.86390E-06    .45330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.797225
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7803.728     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .97592E-02    .90883        .18604E-04   -.99831    
   3  Normalizat    1.3033        1.0787        .21291E-05   -.83466    
   4  Prefactor     .73679        1.0864       -.86390E-06   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.32838e-12
Minuit parameter uncertainties:
  1  3.64099e-06
  2  0.652524
  3  1.09822
  4  1.12046
_V02
Working on...
/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits.....................!
real 24.64
user 23.19
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits', '/lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits', expMap='/lscratch/kocevski/31524884/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', expCube='/lscratch/kocevski/31524884/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31524884/Model_4FGL_J1559.9+2319_daily_bin2178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1559.9+2319'

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  2.531e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31524884/ft1_filtered_4FGL_J1559.9+2319_daily_bin2178.fits
Spacecraft file(s): /lscratch/kocevski/31524884/ft2_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure map: /lscratch/kocevski/31524884/expmap_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
Exposure cube: /lscratch/kocevski/31524884/ltcube_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31524884/Model_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.77996502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.680       1.0000          .0000       .10000E+07
     2 'norm      '    7.5871       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1617       1.0000          .0000       .10000E+07
     4 'Prefactor '    .46720E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5135       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35410E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .42994E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .90622       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18352E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14126E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45186E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5877       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9383       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3040       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .73677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      833 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.544        37.338       -.31727E-06   -.56883E-03
   2  norm          7.5895        2.6665        .13736E-07    .42992E-02
   3  Prefactor     1.1633        31.195       -.20078E-05    .68104E-03
   4  Prefactor     .16653E-09    11.473        .20464E-06** at limit **
   5  Prefactor     1.5151        1.8324       -.20222E-06    .19666E-02
   6  Prefactor      .0000        8.5587        .67243E-06** at limit **
   7  norm          .16653E-09    12.421        .82761E-08** at limit **
   8  norm          .96994        1.3470       -.41006E-07    .39380E-02
   9  Prefactor     .55511E-10    5.3867       -.48023E-06** at limit **
  10  Prefactor      .0000        1.5874        .35243E-07** at limit **
  11  Prefactor     .61062E-09    29.107        .18109E-06** at limit **
  12  Prefactor     8.6401        2.7849       -.30917E-07    .61871E-02
  13  Prefactor     9.9642        7.2064       -.35953E-07   -.81134E-03
  14  Normalizat    1.3033        .22626       -.25133E-05    .11759E-04
  15  Prefactor     .73679        .12598        .17836E-05    .13948E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5439
  norm       = 7.58946
  Prefactor  = 1.16334
  Prefactor  = 1.66533e-10
  Prefactor  = 1.51512
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0.96994
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 8.64015
  Prefactor  = 9.96419
  Normalizat = 1.30335
  Prefactor  = 0.736791
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7803.7275525
delta logL = 4.54747350886e-12

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  3.641e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  7.972e-01  6.525e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.120e+00  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.098e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 239.978 23.320

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/31524784/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-07-13 05:02:50.542018', job_id='31524784', GAL2='0.74', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1783944170.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='2178' AND source_name='4FGL J1559.9+2319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 05:02:50 PDT 2026

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

 FCN=   7803.728     FROM HESSE     STATUS=OK           216 CALLS     1049 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.544        37.341        .14638E-03   -1.5570    
   2  norm          7.5895        3.1058        .36384E-03   -1.5653    
   3  Prefactor     1.1633        41.835        .10681E-02   -1.5686    
   4  Prefactor     .16653E-09    11.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5151        1.8566        .86881E-03   -1.5683    
   6  Prefactor      .0000        8.6661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    2.2469        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .96994        31.095        .45331E-03   -1.5688    
   9  Prefactor     .55511E-10    5.4234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.5840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    29.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6401        14.833        .34182E-03   -1.5649    
  13  Prefactor     9.9642        7.2699        .31761E-03   -1.5645    
  14  Normalizat    1.3033        .19185        .62543E-01   -.83466    
  15  Prefactor     .73679        .10599        .42889E-01   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22971e-08
Minuit parameter uncertainties:
  1  37.3411
  2  3.10583
  3  13.9525
  4  8.5002e-05
  5  1.85663
  6  1.85434e-05
  7  4.00771e-05
  8  10.9837
  9  3.21996e-05
  10  2.50464e-06
  11  0.000273052
  12  14.8332
  13  7.26995
  14  0.191951
  15  0.106024
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  5.551e-11  3.220e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.256e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 239.978 23.320
Photon Flux Upper Limit: 6.68298372735e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0051127633077 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31524884/likelihoodResults_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.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) = 7803.74287009
delta logL = -0.0153175925479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7803.72755253
delta logL = -3.04789864458e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7803.728     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      225 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3119        .42118E-03** at limit **
   2  Index         .79723        .64623        .18604E-04     .0000    
   3  Normalizat    1.3033        1.0787        .21291E-05    .36720E-04
   4  Prefactor     .73679        1.0864       -.86390E-06    .45330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.797225
  Normalizat = 1.30335
  Prefactor  = 0.736791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7803.728     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .97592E-02    .90883        .18604E-04   -.99831    
   3  Normalizat    1.3033        1.0787        .21291E-05   -.83466    
   4  Prefactor     .73679        1.0864       -.86390E-06   -1.0210    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.32838e-12
Minuit parameter uncertainties:
  1  3.64099e-06
  2  0.652524
  3  1.09822
  4  1.12046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7803.7275525
delta logL = 4.54747350886e-12

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  3.641e-06  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  7.972e-01  6.525e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.368e-01  1.120e+00  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  1.303e+00  1.098e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 239.978 23.320

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/31524884/cmap_HighResolution_803865601_804124801_4FGL_J1559.9+2319_daily_bin2178.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2026-07-13 05:03:25.000362', job_id='31524884', GAL2='0.74', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1783944205.0', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='2178' AND source_name='4FGL J1559.9+2319' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 13 05:03:25 PDT 2026

