/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255355', job_status='RUN', time_executed='2026-08-18 01:26:00.487637', time_epoch_executed='1787041560.49' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255355

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255355/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255355/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255355/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.23
user 5.21
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255355/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"/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).

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


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255377', job_status='RUN', time_executed='2026-08-18 01:27:04.268805', time_epoch_executed='1787041624.27' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255377

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255377/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255377/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255377/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 7.11
user 5.63
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255377/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255446', job_status='RUN', time_executed='2026-08-18 01:27:59.939759', time_epoch_executed='1787041679.94' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255446

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255446/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255446/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255446/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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.77
user 4.86
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255446/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255435', job_status='RUN', time_executed='2026-08-18 01:28:05.316961', time_epoch_executed='1787041685.32' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255435

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255435/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255435/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255435/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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.76
user 4.85
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255435/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255402', job_status='RUN', time_executed='2026-08-18 01:27:12.065453', time_epoch_executed='1787041632.07' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255402

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255402/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255402/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255402/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 7.60
user 6.12
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255402/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255527', job_status='RUN', time_executed='2026-08-18 01:28:58.500561', time_epoch_executed='1787041738.5' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255527

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255527/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255527/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255527/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.00
user 4.96
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255527/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/35255355/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 19.93
user 18.97
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255355/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255355/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255355/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 72.63
user 67.40
sys 4.25

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255355/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255355/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.01
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255355/Model_4FGL_J0156.5+3914_weekly_bin941.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 = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255519', job_status='RUN', time_executed='2026-08-18 01:28:15.744571', time_epoch_executed='1787041695.74' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255519

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255519/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255519/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255519/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 8.35
user 6.87
sys 0.34

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255519/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35255446/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 20.37
user 19.55
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255446/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255446/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255446/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 70.64
user 65.58
sys 4.04

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255446/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255446/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255446/Model_4FGL_J0156.5+3914_weekly_bin941.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/35255377/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 23.34
user 21.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255377/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255377/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255377/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 80.72
user 74.74
sys 4.43

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255377/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.17
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255377/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.34
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255377/Model_4FGL_J0156.5+3914_weekly_bin941.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 = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255582', job_status='RUN', time_executed='2026-08-18 01:31:14.253330', time_epoch_executed='1787041874.25' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255582

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255582/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255582/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255582/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.15
user 5.33
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255582/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.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.86
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255581', job_status='RUN', time_executed='2026-08-18 01:31:14.038727', time_epoch_executed='1787041874.04' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255581

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255581/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255581/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255581/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.31
user 5.45
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255581/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255577', job_status='RUN', time_executed='2026-08-18 01:31:15.722451', time_epoch_executed='1787041875.72' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255577

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255577/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255577/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255577/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.20
user 5.34
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255577/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35255435/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 19.20
user 18.26
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255435/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255435/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255435/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 70.01
user 65.14
sys 4.05

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255435/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255435/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 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.93
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255435/Model_4FGL_J0156.5+3914_weekly_bin941.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/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 111.42
user 108.93
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255355/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255355/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255355/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255355/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255355/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255355/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255355/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255355/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
outfile=/lscratch/kocevski/35255527/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 18.87
user 17.95
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255527/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255527/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255527/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 70.02
user 65.12
sys 3.97

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255527/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 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.78
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255527/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255527/Model_4FGL_J0156.5+3914_weekly_bin941.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 sourcenumber of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255561', job_status='RUN', time_executed='2026-08-18 01:31:10.613512', time_epoch_executed='1787041870.61' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255561

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255561/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255561/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255561/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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 6.02
user 5.03
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255561/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35255402/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 23.53
user 21.24
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255402/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255402/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255402/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 80.87
user 74.43
sys 4.45

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255402/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.32
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255402/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.51
user 0.24
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255402/Model_4FGL_J0156.5+3914_weekly_bin941.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 = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
Done.


Performing analysis on: 4FGL_J0156.5+3914_weekly_bin941
RA = 29.1325, Dec = 39.2493
tmin = 808099201, tmax = 808704001
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='35255703', job_status='RUN', time_executed='2026-08-18 01:33:02.659962', time_epoch_executed='1787041982.66' WHERE source_name='4FGL J0156.5+3914' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35255703

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35255703/ft1_4FGL_J0156.5+3914_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35255703/ft1_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255703/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits ra=29.1325 dec=39.2493 rad=12.0 tmin=808099201.0 tmax=808704001.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.92
user 5.16
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.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/35255703/ft1_filteredMKT_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.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.86
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 2685

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 109.31
user 107.05
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255446/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255446/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255446/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255446/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255446/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255446/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255446/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255446/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
 outfile=/lscratch/kocevski/35255519/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 22.57
user 20.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255519/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255519/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255519/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 79.08
user 72.76
sys 4.47

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255519/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.89
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255519/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.33
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255519/Model_4FGL_J0156.5+3914_weekly_bin941.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=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255355/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
e GAL_V02
Working on...
/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 110.95
user 108.93
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255435/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255435/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255435/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255435/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255435/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255435/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255435/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255435/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
e GAL_V02
Working on...
/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 126.85
user 123.33
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255377/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255377/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255377/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255377/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255377/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255377/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255377/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255377/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255355/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:41:14.817248', job_id='35255355', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042474.82', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:41:15 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 107.81
user 105.85
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255527/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255527/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255527/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255527/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255527/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255527/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255527/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255527/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 outfile=/lscratch/kocevski/35255582/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 25.19
user 24.22
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255582/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255582/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255582/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 78.69
user 71.26
sys 4.34

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255582/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.46
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255582/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.38
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255582/Model_4FGL_J0156.5+3914_weekly_bin941.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=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 outfile=/lscratch/kocevski/35255581/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 25.64
user 24.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255581/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255581/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255581/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 76.97
user 71.29
sys 4.25

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255581/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.51
user 0.28
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255581/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.33
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255581/Model_4FGL_J0156.5+3914_weekly_bin941.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/35255577/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 25.55
user 24.30
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255577/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255577/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255577/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 77.36
user 71.25
sys 4.13

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255577/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.28
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255577/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255577/Model_4FGL_J0156.5+3914_weekly_bin941.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) = 27809.2944071

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255446/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
e GAL_V02
Working on...
/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 123.71
user 119.98
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255402/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255402/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255402/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255402/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255402/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255402/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255402/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255402/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255446/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:42:26.738658', job_id='35255446', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042546.74', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:42:27 PDT 2026

 outfile=/lscratch/kocevski/35255561/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 21.22
user 20.08
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255561/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255561/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255561/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 78.08
user 72.19
sys 4.65

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255561/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255561/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255561/Model_4FGL_J0156.5+3914_weekly_bin941.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=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 outfile=/lscratch/kocevski/35255703/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 19.36
user 18.70
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35255703/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255703/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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/35255703/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
.....................!
real 73.81
user 68.48
sys 4.20

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

Setting source of interest to:
4FGL J0156.5+3914 @ 29.1325 39.2493

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255703/cmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits outfile=/lscratch/kocevski/35255703/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.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=29.1325 yref=39.2493 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35255703/Model_4FGL_J0156.5+3914_weekly_bin941.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/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 123.44
user 120.17
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255519/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255519/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255519/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255519/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255519/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255519/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255519/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255519/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255435/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255435/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:43:27.155235', job_id='35255435', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042607.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:43:27 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255527/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255527/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:43:38.754147', job_id='35255527', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042618.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:43:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255377/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255377/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:43:46.472134', job_id='35255377', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042626.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:43:47 PDT 2026

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

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255402/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255402/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:44:55.226579', job_id='35255402', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042695.23', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:44:55 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 120.44
user 117.53
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255582/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255582/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255582/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255582/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255582/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255582/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255582/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255582/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
e GAL_V02
Working on...
/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 122.08
user 118.89
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255581/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255581/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255581/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255581/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255581/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255581/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255581/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255581/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
e GAL_V02
Working on...
/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 122.04
user 117.91
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255577/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255577/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255577/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255577/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255577/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255577/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255577/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255577/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255519/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255519/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:45:52.444903', job_id='35255519', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042752.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:45:53 PDT 2026

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

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
e GAL_V02
Working on...
/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 120.29
user 117.36
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255561/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255561/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255561/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255561/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255561/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255561/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255561/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255561/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
e GAL_V02
Working on...
/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits.....................!
real 114.58
user 112.59
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits', '/lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits', expMap='/lscratch/kocevski/35255703/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', expCube='/lscratch/kocevski/35255703/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35255703/Model_4FGL_J0156.5+3914_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0156.5+3914'

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  1.010e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35255703/ft1_filtered_4FGL_J0156.5+3914_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35255703/ft2_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35255703/expmap_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35255703/ltcube_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35255703/Model_4FGL_J0156.5+3914_weekly_bin941.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 27811.1344541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11169E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
     3 'norm      '    .17208E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    24.216       1.0000          .0000       .10000E+07
     5 'norm      '    1.0211       1.0000          .0000       .10000E+07
     6 'norm      '    .66653       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58817E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20428E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55521E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .44204E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18542E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .53225       1.0000          .0000       .10000E+07
    14 'norm      '    .93649       1.0000          .0000       .10000E+07
    15 'norm      '    .37659       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36512E-04   1.0000          .0000       .10000E+07
    17 'norm      '    33.087       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2050       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93838       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      883 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3521        .91696E-07** at limit **
   2  Prefactor     3.1230        1.0859       -.10281E-07   -.10380E-02
   3  norm           .0000        .24514        .38037E-07** at limit **
   4  Prefactor     24.008        19.508       -.31924E-07   -.56829E-04
   5  norm          1.0208        .51793        .92525E-08   -.98369E-03
   6  norm          .66663        .31061        .10328E-07   -.48639E-03
   7  Prefactor      .0000        1.6321       -.32740E-07** at limit **
   8  Prefactor      .0000        .38544       -.74475E-07** at limit **
   9  Prefactor     10.387        9.5320        .18675E-07    .60251E-04
  10  Prefactor      .0000        8.9869        .37469E-06** at limit **
  11  norm           .0000        1.6626       -.23819E-07** at limit **
  12  Prefactor      .0000        2.3488       -.52495E-07** at limit **
  13  norm          .52124        1.3086       -.25368E-07   -.34465E-03
  14  norm          .93793        .32912        .66554E-08   -.67108E-03
  15  norm          .37677        .14530        .58531E-08    .47314E-03
  16  Prefactor      .0000        2.0584        .32477E-07** at limit **
  17  norm          33.023        5.0633        .42532E-07   -.67443E-04
  18  Normalizat    1.2053        .11909        .39593E-06   -.23297E-04
  19  Prefactor     .93833        .61186E-01   -.50324E-06   -.60247E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.12301
  norm       = 0
  Prefactor  = 24.0084
  norm       = 1.02079
  norm       = 0.666629
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 10.3868
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0.52124
  norm       = 0.937926
  norm       = 0.376769
  Prefactor  = 0
  norm       = 33.0229
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
 **********
 **   18 **HESSE 
 **********

 FCN=   27809.29     FROM HESSE     STATUS=OK           312 CALLS     1195 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1230        6.4701        .57382E-03   -1.5673    
   3  norm           .0000        .23989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.008        19.516        .20326E-03   -1.5610    
   5  norm          1.0208        .49536        .18432E-02   -1.5688    
   6  norm          .66663        .31297        .63467E-03   -1.5692    
   7  Prefactor      .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .38376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.387        9.5332        .31120E-03   -1.5644    
  10  Prefactor      .0000        9.0014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .52124        1.3569        .75529E-03   -1.5694    
  14  norm          .93793        .34004        .43269E-03   -1.5689    
  15  norm          .37677        .14710        .86357E-03   -1.5696    
  16  Prefactor      .0000        2.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.023        5.0881        .17387E-03   -1.5593    
  18  Normalizat    1.2053        .10440        .72023E-01   -.86439    
  19  Prefactor     .93833        .53414E-01    .45492E-01   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51156e-07
Minuit parameter uncertainties:
  1  8.56151e-07
  2  6.47012
  3  1.16729e-08
  4  19.5156
  5  0.495362
  6  0.312975
  7  9.84321e-07
  8  7.57467e-07
  9  9.53322
  10  6.62919e-06
  11  1.24559e-06
  12  2.89473e-06
  13  1.35692
  14  0.34004
  15  0.147104
  16  6.77989e-07
  17  5.08815
  18  0.104419
  19  0.0534171
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255582/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255577/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255581/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255582/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:47:34.957609', job_id='35255582', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042854.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:47:35 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255577/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:47:35.776075', job_id='35255577', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042855.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:47:36 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255581/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:47:36.176089', job_id='35255581', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042856.18', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:47:36 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255561/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
Done.

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

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  7.575e-07  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.447e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  5.342e-02  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 29.133 39.249
Photon Flux Upper Limit: 2.22644003312e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0017257406244 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/35255703/likelihoodResults_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27809.2951949
delta logL = -0.000787848002801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 27809.2944071
delta logL = -3.68345354218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    2.0216       1.0000          .0000       10.000    
     3 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   27809.29     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      207 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .42110        .42118E-03** at limit **
   2  Index         1.8691        .98962       -.95183E-05     .0000    
   3  Normalizat    1.2053        1.1045        .89776E-05    .43740E-04
   4  Prefactor     .93833        1.2812       -.89935E-05    .58447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.86907
  Normalizat = 1.20531
  Prefactor  = 0.93833
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   27809.29     FROM HESSE     STATUS=FAILED         9 CALLS      216 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .36440        1.6072       -.95183E-05   -.67665    
   3  Normalizat    1.2053        1.1045        .89776E-05   -.86439    
   4  Prefactor     .93833        1.2812       -.89935E-05   -.94814    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.11855e-13
Minuit parameter uncertainties:
  1  1.8634e-09
  2  1.00057
  3  1.12708
  4  1.32652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255703/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:48:23.998977', job_id='35255703', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042904.0', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:48:24 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 27809.2944071
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J0156.5+3914
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.863e-09  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  1.869e+00  1.001e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  8.289e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.383e-01  1.327e+00  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  1.205e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 29.133 39.249

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/35255561/cmap_HighResolution_808099201_808704001_4FGL_J0156.5+3914_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', job_status='DONE', photon_flux_upper_limit='2.23e-08', time_completed='2026-08-18 01:48:23.993102', job_id='35255561', GAL2='0.94', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1787042903.99', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='941' AND source_name='4FGL J0156.5+3914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 01:48:24 PDT 2026

