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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249526', job_status='RUN', time_executed='2026-05-26 12:12:02.692548', time_epoch_executed='1779822722.69' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249526

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249526/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249526/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249526/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 4.90
user 4.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.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/27249526/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.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.54
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1537

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

 GAL_V02
Working on...
/lscratch/kocevski/27249440/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 39.54
user 38.25
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249440/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249440/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249440/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249440/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249440/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249440/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249440/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249440/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249440/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249440/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249551', job_status='RUN', time_executed='2026-05-26 12:12:52.652061', time_epoch_executed='1779822772.65' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249551

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249551/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249551/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249551/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 5.12
user 4.58
sys 0.22

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

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

Number of photons that the gtmktime cut: 1537

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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249547', job_status='RUN', time_executed='2026-05-26 12:12:52.652053', time_epoch_executed='1779822772.65' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249547

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249547/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249547/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249547/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 5.14
user 4.59
sys 0.25

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

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

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

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

Number of photons that the gtmktime cut: 1537

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249528', job_status='RUN', time_executed='2026-05-26 12:12:52.125819', time_epoch_executed='1779822772.13' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249528

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249528/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249528/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249528/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 4.62
user 4.13
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.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/27249528/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.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.63
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1537

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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249545', job_status='RUN', time_executed='2026-05-26 12:12:52.568057', time_epoch_executed='1779822772.57' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249545

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249545/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249545/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249545/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 5.13
user 4.55
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.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/27249545/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.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.69
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1537

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 outfile=/lscratch/kocevski/27249496/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 21.88
user 21.07
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249496/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249496/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249496/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 71.60
user 66.11
sys 4.59

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/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249496/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249496/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.64
user 0.27
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249496/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourcDone.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249440/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:16:18.943309', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779822978.94', return_code='0', job_id='27249440', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:16:19 PDT 2026

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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249591', job_status='RUN', time_executed='2026-05-26 12:13:55.666065', time_epoch_executed='1779822835.67' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249591

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249591/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249591/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249591/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 4.36
user 3.82
sys 0.19

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

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

Number of photons that the gtmktime cut: 1537

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


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249569', job_status='RUN', time_executed='2026-05-26 12:13:55.968342', time_epoch_executed='1779822835.97' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249569

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249569/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249569/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249569/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 4.90
user 4.32
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.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/27249569/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.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.56
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1537

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27249526/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 18.13
user 17.62
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249526/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249526/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249526/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 68.04
user 63.46
sys 4.07

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/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249526/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.56
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249526/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.58
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249526/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourc outfile=/lscratch/kocevski/27249514/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 18.92
user 18.25
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249514/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249514/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249514/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 71.28
user 66.72
sys 3.91

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/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249514/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.58
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249514/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249514/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourcnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1559.9+2319_weekly_bin929
RA = 239.978, Dec = 23.3196
tmin = 800841601, tmax = 801446401
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='27249685', job_status='RUN', time_executed='2026-05-26 12:14:55.009003', time_epoch_executed='1779822895.01' WHERE source_name='4FGL J1559.9+2319' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249685

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249685/ft1_4FGL_J1559.9+2319_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249685/ft1_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249685/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits ra=239.978 dec=23.3196 rad=12.0 tmin=800841601.0 tmax=801446401.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 5.19
user 4.60
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.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/27249685/ft1_filteredMKT_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.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.69
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1537

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27249528/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 17.46
user 16.89
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249528/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249528/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249528/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 64.21
user 59.89
sys 3.79

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/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249528/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.59
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249528/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.57
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249528/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 46.10
user 43.96
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249496/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249496/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249496/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249496/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249496/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249496/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249496/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249496/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
 outfile=/lscratch/kocevski/27249551/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 19.12
user 18.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249551/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249551/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249551/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 71.86
user 66.87
sys 4.23

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249551/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.69
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249551/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.58
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249551/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourc outfile=/lscratch/kocevski/27249547/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 19.16
user 18.31
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249547/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249547/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249547/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 71.66
user 66.58
sys 4.26

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/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249547/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.62
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249547/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.58
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249547/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourc outfile=/lscratch/kocevski/27249545/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 18.87
user 18.18
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249545/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249545/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249545/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 72.52
user 67.92
sys 4.00

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249545/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.55
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249545/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.59
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249545/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourc **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 outfile=/lscratch/kocevski/27249591/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 16.43
user 15.95
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249591/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249591/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249591/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 59.01
user 55.41
sys 3.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/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249591/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.56
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249591/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.52
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249591/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 43.01
user 41.61
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249526/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249526/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249526/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249526/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249526/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249526/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249526/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249526/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
e GAL_V02
Working on...
/lscratch/kocevski/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 45.82
user 44.36
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249514/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249514/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249514/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249514/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249514/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249514/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249514/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249514/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249496/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:18:47.930342', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823127.93', return_code='0', job_id='27249496', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:18:48 PDT 2026

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

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 outfile=/lscratch/kocevski/27249569/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 22.63
user 22.02
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249569/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249569/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249569/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 68.19
user 63.49
sys 4.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249569/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.64
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249569/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.66
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249569/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourcDone.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
e GAL_V02
Working on...
/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 41.32
user 39.83
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249528/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249528/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249528/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249528/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249528/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249528/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249528/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249528/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249526/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:19:19.631249', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823159.63', return_code='0', job_id='27249526', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:19:19 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249514/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:19:28.995902', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823169.0', return_code='0', job_id='27249514', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:19:29 PDT 2026

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

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
e GAL_V02
Working on...
/lscratch/kocevski/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 46.15
user 44.62
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249551/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249551/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249551/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249551/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249551/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249551/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249551/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249551/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
e GAL_V02
Working on...
/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 46.14
user 44.39
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249547/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249547/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249547/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249547/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249547/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249547/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249547/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249547/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
e GAL_V02
Working on...
/lscratch/kocevski/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 38.86
user 37.06
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249591/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249591/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249591/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249591/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249591/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249591/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249591/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249591/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
e GAL_V02
Working on...
/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 46.13
user 44.74
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249545/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249545/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249545/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249545/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249545/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249545/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249545/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249545/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
 outfile=/lscratch/kocevski/27249685/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 19.01
user 18.39
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249685/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249685/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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/27249685/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
.....................!
real 72.49
user 67.65
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/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249685/cmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.64
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits outfile=/lscratch/kocevski/27249685/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.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.64
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249685/Model_4FGL_J1559.9+2319_weekly_bin929.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 sourcshell-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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249528/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:20:04.470681', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823204.47', return_code='0', job_id='27249528', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:20:04 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249591/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:20:23.939568', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823223.94', return_code='0', job_id='27249591', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:20:24 PDT 2026

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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249551/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:20:24.831853', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823224.83', return_code='0', job_id='27249551', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:20:25 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249547/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:20:30.849343', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823230.85', return_code='0', job_id='27249547', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:20:31 PDT 2026

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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249545/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:20:34.059603', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823234.06', return_code='0', job_id='27249545', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:20:34 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 45.48
user 43.54
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249569/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249569/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249569/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249569/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249569/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249569/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249569/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249569/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249569/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:21:24.065004', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823284.07', return_code='0', job_id='27249569', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:21:24 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits.....................!
real 46.07
user 44.51
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits', '/lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits', expMap='/lscratch/kocevski/27249685/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', expCube='/lscratch/kocevski/27249685/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249685/Model_4FGL_J1559.9+2319_weekly_bin929.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/27249685/ft1_filtered_4FGL_J1559.9+2319_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249685/ft2_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249685/expmap_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249685/ltcube_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249685/Model_4FGL_J1559.9+2319_weekly_bin929.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) = 16364.9185257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2692       1.0000          .0000       .10000E+07
     2 'norm      '    2.3745       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37456E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6976       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55069E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.928       1.0000          .0000       .10000E+07
     7 'norm      '    1.0950       1.0000          .0000       .10000E+07
     8 'norm      '    .25012E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9431       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59195E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.334       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6831       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .78057       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=   16364.77     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      810 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4802        30.723       -.59167E-06    .12258E-02
   2  norm          2.3723        .87300        .34188E-07   -.37230E-01
   3  Prefactor     .11102E-09    1.2941        .50831E-08** at limit **
   4  Prefactor     9.7108        10.498       -.23549E-05   -.16737E-03
   5  Prefactor     .33307E-09    .65599       -.41687E-08** at limit **
   6  Prefactor     18.605        20.614        .11372E-06    .46565E-02
   7  norm          1.0975        1.1555       -.18885E-07   -.71679E-02
   8  norm          .77716E-09    5.6012       -.62320E-07** at limit **
   9  Prefactor     9.9711        5.5997       -.21154E-07   -.88890E-02
  10  Prefactor     .33307E-09    .59005       -.25332E-08** at limit **
  11  Prefactor     11.114        2.3051       -.18868E-06   -.10514E-02
  12  Prefactor     16.258        8.6306       -.37520E-06   -.83872E-03
  13  Prefactor     3.6749        2.8523        .14049E-07    .12790E-01
  14  Normalizat    1.2089        .14894        .95431E-07    .10379E-03
  15  Prefactor     .78060        .85234E-01    .10602E-05   -.46589E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.48024
  norm       = 2.37234
  Prefactor  = 1.11022e-10
  Prefactor  = 9.71077
  Prefactor  = 3.33067e-10
  Prefactor  = 18.6054
  norm       = 1.09747
  norm       = 7.77156e-10
  Prefactor  = 9.9711
  Prefactor  = 3.33067e-10
  Prefactor  = 11.114
  Prefactor  = 16.2585
  Prefactor  = 3.6749
  Normalizat = 1.20887
  Prefactor  = 0.780598
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4802        31.330        .37179E-03   -1.5657    
   2  norm          2.3723        .87251        .66459E-03   -1.5677    
   3  Prefactor     .11102E-09    1.2942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7108        10.505        .32155E-03   -1.5646    
   5  Prefactor     .33307E-09    .65080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.605        20.724        .22408E-03   -1.5622    
   7  norm          1.0975        1.1879        .11392E-02   -1.5687    
   8  norm          .77716E-09    5.5635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9711        5.6627        .31754E-03   -1.5645    
  10  Prefactor     .33307E-09    .58798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.114        8.5403        .30017E-03   -1.5641    
  12  Prefactor     16.258        8.8297        .24755E-03   -1.5627    
  13  Prefactor     3.6749        2.8592        .52603E-03   -1.5670    
  14  Normalizat    1.2089        .12539        .60717E-01   -.86329    
  15  Prefactor     .78060        .71333E-01    .43464E-01   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16806e-08
Minuit parameter uncertainties:
  1  28.4976
  2  0.872507
  3  2.31964e-05
  4  10.5051
  5  2.97836e-05
  6  20.7239
  7  1.18787
  8  0.000129606
  9  5.66268
  10  2.87006e-05
  11  8.54034
  12  8.82969
  13  2.85918
  14  0.125422
  15  0.071341
Done.

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

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  9.971e+00  5.663e+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

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  7.806e-01  7.134e-02  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.209e+00  1.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 239.978 23.320
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 8.09e-06

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) = 16364.547652
delta logL = 0.225088322994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16364.5190755
delta logL = 0.253664808248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7601       1.0000          .0000       .10000E+07
     2 'Index     '    2.6773       1.0000          .0000       10.000    
     3 'Normalizat'    1.1860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78712       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16364.52     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7597        7.8106        .15427E-04   -.79972E-02
   2  Index         2.6773        .75390        .56970E-02   -.21490E-03
   3  Normalizat    1.1858        .15156        .27070E-03   -.19806E-03
   4  Prefactor     .78723        .85960E-01    .18982E-03   -.34870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75975
  Index      = 2.67732
  Normalizat = 1.18583
  Prefactor  = 0.787233
 **********
 **   18 **HESSE 
 **********

 FCN=   16364.52     FROM HESSE     STATUS=OK            25 CALLS      370 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7597        6.2230        .61708E-06   -1.5656    
   2  Index         2.6773        .60056        .22788E-03   -.48311    
   3  Normalizat    1.1858        .14967        .10828E-04   -.87042    
   4  Prefactor     .78723        .85570E-01    .75926E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58278e-10
Minuit parameter uncertainties:
  1  6.22297
  2  0.602413
  3  0.149721
  4  0.0855849
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) = 16364.5190746
delta logL = 0.253665679589

Extracting fit parameters...

4FGL J1559.9+2319
   Spectrum: PowerLaw
263    Prefactor:  6.760e+00  6.223e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.677e+00  6.024e-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.872e-01  8.558e-02  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.186e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 239.978 23.320
Photon Index (Free Index): 2.68 +/- 0.60
Photon Flux (Free Index): 5.55e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.36e-05 +/- 6.76e-06

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/27249685/cmap_HighResolution_800841601_801446401_4FGL_J1559.9+2319_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='1.36e-05', photon_flux_error='1.99e-08', dlogl='2.54e-01', energy_flux='1.42e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2026-05-26 12:22:28.213397', photon_index_error2='0.60', photon_index2='2.68', ts='6.19', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.21', time_epoch_completed='1779823348.21', return_code='0', job_id='27249685', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='8.09e-06', photon_flux_error2='3.88e-08', ts2='6.72', photon_index='2.26' WHERE bin_id='929' AND source_name='4FGL J1559.9+2319' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:22:28 PDT 2026

