/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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370646', job_status='RUN', time_executed='2026-09-08 10:56:40.974692', time_epoch_executed='1788890200.97' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370646

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370646/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370646/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370646/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.87
user 4.17
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370646/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.85
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.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)
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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


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

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370685', job_status='RUN', time_executed='2026-09-08 10:57:05.224394', time_epoch_executed='1788890225.22' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370685

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370685/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370685/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370685/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.72
user 4.19
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370685/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.65
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37370484/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 16.07
user 15.18
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370484/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370484/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370484/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 59.85
user 55.58
sys 3.52

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370484/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370484/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.74
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370484/Model_4FGL_J1337.4+5502_weekly_bin944.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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370748', job_status='RUN', time_executed='2026-09-08 10:57:47.670714', time_epoch_executed='1788890267.67' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370748

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370748/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370748/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370748/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.96
user 4.31
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370748/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.74
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370773', job_status='RUN', time_executed='2026-09-08 10:57:55.464764', time_epoch_executed='1788890275.46' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370773

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370773/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370773/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370773/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.89
user 4.23
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370773/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.76
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37370532/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.81
user 17.15
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370532/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370532/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370532/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 66.86
user 62.31
sys 3.85

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370532/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.70
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370532/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.70
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370532/Model_4FGL_J1337.4+5502_weekly_bin944.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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370787', job_status='RUN', time_executed='2026-09-08 10:58:11.886022', time_epoch_executed='1788890291.89' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370787

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370787/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370787/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370787/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.61
user 3.99
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370787/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.74
user 0.21
sys 0.11

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA"number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370810', job_status='RUN', time_executed='2026-09-08 10:58:48.741822', time_epoch_executed='1788890328.74' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370810

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370810/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370810/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370810/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.76
user 4.06
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370810/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.71
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37370636/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 18.92
user 18.25
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370636/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370636/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370636/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 72.07
user 66.86
sys 4.35

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370636/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370636/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.23
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370636/Model_4FGL_J1337.4+5502_weekly_bin944.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/37370646/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.63
user 16.93
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370646/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370646/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370646/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 66.16
user 61.62
sys 3.90

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370646/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370646/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.76
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370646/Model_4FGL_J1337.4+5502_weekly_bin944.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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370824', job_status='RUN', time_executed='2026-09-08 10:59:11.453486', time_epoch_executed='1788890351.45' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370824

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370824/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370824/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370824/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.89
user 4.21
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370824/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 37.23
user 35.73
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370484/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370484/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370484/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370484/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370484/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370484/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370484/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370484/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***** outfile=/lscratch/kocevski/37370685/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.60
user 16.93
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370685/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370685/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370685/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 65.44
user 61.07
sys 3.77

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370685/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.74
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370685/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.71
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370685/Model_4FGL_J1337.4+5502_weekly_bin944.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*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 outfile=/lscratch/kocevski/37370748/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 18.04
user 17.35
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370748/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370748/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370748/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 67.66
user 63.04
sys 3.87

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370748/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370748/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.70
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370748/Model_4FGL_J1337.4+5502_weekly_bin944.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/37370773/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.51
user 16.71
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370773/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370773/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370773/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 65.57
user 60.96
sys 3.91

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370773/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370773/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.76
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370773/Model_4FGL_J1337.4+5502_weekly_bin944.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=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
 outfile=/lscratch/kocevski/37370787/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 19.32
user 16.16
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370787/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370787/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370787/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 65.11
user 60.55
sys 3.79

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370787/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370787/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.73
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370787/Model_4FGL_J1337.4+5502_weekly_bin944.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 = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370895', job_status='RUN', time_executed='2026-09-08 11:00:21.665599', time_epoch_executed='1788890421.67' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370895

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370895/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370895/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370895/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.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.10
user 4.43
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370895/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.74
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA"e GAL_V02
Working on...
/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 42.90
user 41.25
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370532/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370532/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370532/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370532/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370532/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370532/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370532/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370532/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370901', job_status='RUN', time_executed='2026-09-08 11:00:24.696067', time_epoch_executed='1788890424.7' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370901

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370901/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370901/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370901/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.89
user 4.27
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370901/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.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.71
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" number of points = 17404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1337.4+5502_weekly_bin944
RA = 204.367, Dec = 55.0418
tmin = 809913601, tmax = 810518401
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='37370914', job_status='RUN', time_executed='2026-09-08 11:00:33.462213', time_epoch_executed='1788890433.46' WHERE source_name='4FGL J1337.4+5502' and cadence='weekly' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37370914

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37370914/ft1_4FGL_J1337.4+5502_weekly_bin944.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37370914/ft1_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370914/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits ra=204.367 dec=55.0418 rad=12.0 tmin=809913601.0 tmax=810518401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.93
user 4.29
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.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/37370914/ft1_filteredMKT_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" outfile="/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1368

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA"*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 outfile=/lscratch/kocevski/37370810/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.14
user 16.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370810/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370810/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370810/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 64.37
user 59.99
sys 3.70

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370810/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.73
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370810/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.72
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370810/Model_4FGL_J1337.4+5502_weekly_bin944.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/37370824/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 17.67
user 16.91
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370824/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370824/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370824/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 67.49
user 62.80
sys 3.94

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370824/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.76
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370824/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370824/Model_4FGL_J1337.4+5502_weekly_bin944.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/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 41.78
user 39.93
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370646/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370646/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370646/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370646/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370646/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370646/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370646/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370646/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***** **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
e GAL_V02
Working on...
/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 49.90
user 43.48
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370636/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370636/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370636/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370636/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370636/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370636/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370636/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370636/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370484/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
e GAL_V02
Working on...
/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 41.43
user 39.59
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370685/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370685/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370685/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370685/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370685/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370685/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370685/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370685/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370484/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:05:03.478194', job_id='37370484', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890703.48', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:05:03 PDT 2026

*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
e GAL_V02
Working on...
/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 41.97
user 40.32
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370748/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370748/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370748/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370748/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370748/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370748/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370748/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370748/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****e GAL_V02
Working on...
/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 42.30
user 40.54
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370773/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370773/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370773/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370773/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370773/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370773/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370773/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370773/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****e GAL_V02
Working on...
/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 39.59
user 37.93
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370787/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370787/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370787/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370787/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370787/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370787/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370787/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370787/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 outfile=/lscratch/kocevski/37370895/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 18.88
user 18.07
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370895/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370895/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370895/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 71.02
user 66.31
sys 3.94

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370895/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.76
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370895/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370895/Model_4FGL_J1337.4+5502_weekly_bin944.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*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
outfile=/lscratch/kocevski/37370901/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 18.12
user 17.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370901/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370901/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370901/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 69.58
user 64.70
sys 4.01

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

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370901/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.99
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370901/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.71
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370901/Model_4FGL_J1337.4+5502_weekly_bin944.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 outfile=/lscratch/kocevski/37370914/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 18.04
user 17.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37370914/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370914/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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/37370914/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
.....................!
real 67.84
user 63.14
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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370914/cmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.73
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits outfile=/lscratch/kocevski/37370914/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.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=204.367 yref=55.0418 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.72
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits evtable="EVENTS" scfile=/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37370914/Model_4FGL_J1337.4+5502_weekly_bin944.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=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
e GAL_V02
Working on...
/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 39.44
user 37.89
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370810/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370810/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370810/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370810/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370810/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370810/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370810/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370810/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***** **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370532/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370532/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:06:37.610277', job_id='37370532', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890797.61', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:06:37 PDT 2026

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

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
e GAL_V02
Working on...
/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 42.88
user 41.06
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370824/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370824/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370824/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370824/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370824/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370824/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370824/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370824/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370646/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370646/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:07:35.295297', job_id='37370646', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890855.3', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:07:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370636/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370636/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:07:42.220575', job_id='37370636', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890862.22', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:07:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370685/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370685/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:07:52.592149', job_id='37370685', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890872.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:07:52 PDT 2026

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

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370748/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370748/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:08:13.201362', job_id='37370748', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890893.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:08:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370773/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
e GAL_V02
Working on...
/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 42.52
user 40.63
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370914/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370914/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370914/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370914/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370914/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370914/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370914/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370914/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370773/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:08:21.956977', job_id='37370773', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890901.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:08:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370787/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
 GAL_V02
Working on...
/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 43.70
user 42.01
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370901/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370901/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370901/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370901/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370901/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370901/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370901/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370901/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ******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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370787/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:08:25.772161', job_id='37370787', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890905.77', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:08:25 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits.....................!
real 44.53
user 42.55
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits', '/lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits', expMap='/lscratch/kocevski/37370895/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', expCube='/lscratch/kocevski/37370895/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37370895/Model_4FGL_J1337.4+5502_weekly_bin944.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37370895/ft1_filtered_4FGL_J1337.4+5502_weekly_bin944.fits
Spacecraft file(s): /lscratch/kocevski/37370895/ft2_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure map: /lscratch/kocevski/37370895/expmap_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
Exposure cube: /lscratch/kocevski/37370895/ltcube_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37370895/Model_4FGL_J1337.4+5502_weekly_bin944.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50848E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .90092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38236E-06   1.0000          .0000       .10000E+07
     4 'norm      '    2.3747       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31730E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.4382       1.0000          .0000       .10000E+07
     7 'norm      '    .34750E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    85.804       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.912       1.0000          .0000       .10000E+07
    10 'norm      '    4.5064       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25614E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    13 'norm      '    .43044       1.0000          .0000       .10000E+07
    14 'norm      '    .22249E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37442E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .90848E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .95791       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.6535       1.0000          .0000       .10000E+07
    20 'Prefactor '    .71470       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    22 'Prefactor '    17.869       1.0000          .0000       .10000E+07
    23 'Prefactor '    .18274E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10795E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1318 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .76183       -.12454E-06** at limit **
   2  norm          .90071        .93647        .47791E-07    .10163E-02
   3  Prefactor     .55511E-10    2.6717       -.14770E-06** at limit **
   4  norm          2.3739        1.0899        .46032E-08    .24588E-04
   5  Prefactor     .59858E-06    8.6036       -.77463E-06** at limit **
   6  Prefactor     2.4337        3.5813       -.27310E-06   -.63225E-03
   7  norm           .0000        1.1010       -.75027E-07** at limit **
   8  Prefactor     86.397        21.014        .24064E-06   -.16011    
   9  Prefactor     13.531        14.389       -.39398E-06    .45474E-01
  10  norm          4.5023        2.4128       -.90931E-07   -.97656E-05
  11  Prefactor      .0000        27.828       -.66794E-06** at limit **
  12  Prefactor      .0000        .57966        .11218E-06** at limit **
  13  norm          .43072        .73153       -.39909E-07   -.13302E-02
  14  norm           .0000        .86909        .13308E-06** at limit **
  15  Prefactor     14.833        5.1674       -.10019E-06   -.20559E-01
  16  Prefactor     .31475E-07    5.6139        .16967E-06** at limit **
  17  Prefactor     .25535E-08    4.7813        .80325E-06** at limit **
  18  Prefactor     .95939        1.8374        .57438E-07   -.10183E-02
  19  Prefactor     3.6825        1.7517        .10833E-06    .23030E-01
  20  Prefactor     .72004        .98044       -.37927E-07    .49554E-04
  21  Prefactor     11.558        2.7741       -.49608E-07   -.64462E-02
  22  Prefactor     16.992        19.580       -.38365E-07   -.11791    
  23  Prefactor     .14888E-06    6.1770        .33276E-06** at limit **
  24  Prefactor     .11254E-05    7.7082       -.11451E-05** at limit **
  25  Normalizat    1.0401        .11535       -.65556E-05    .20571E-04
  26  Prefactor     .89722        .14234        .99826E-05    .60389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.900709
  Prefactor  = 5.55112e-11
  norm       = 2.37388
  Prefactor  = 5.98577e-07
  Prefactor  = 2.43371
  norm       = 0
  Prefactor  = 86.3966
  Prefactor  = 13.5313
  norm       = 4.50231
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.430719
  norm       = 0
  Prefactor  = 14.8331
  Prefactor  = 3.14748e-08
  Prefactor  = 2.55351e-09
  Prefactor  = 0.95939
  Prefactor  = 3.68251
  Prefactor  = 0.720042
  Prefactor  = 11.5577
  Prefactor  = 16.9917
  Prefactor  = 1.48881e-07
  Prefactor  = 1.12538e-06
  Normalizat = 1.04009
  Prefactor  = 0.897223
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370810/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370810/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:09:10.018476', job_id='37370810', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890950.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:09:10 PDT 2026

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

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
 **********
 **   18 **HESSE 
 **********

 FCN=   14796.38     FROM HESSE     STATUS=OK           510 CALLS     1828 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .76032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90071        .94324        .45696E-03   -1.5689    
   3  Prefactor     .55511E-10    2.6723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.3739        1.0917        .66456E-03   -1.5677    
   5  Prefactor     .59858E-06    9.5896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4337        3.6080        .65499E-03   -1.5677    
   7  norm           .0000        1.0942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     86.397        28.156        .10796E-03   -1.5522    
   9  Prefactor     13.531        23.212        .26828E-03   -1.5634    
  10  norm          4.5023        2.4292        .47403E-03   -1.5666    
  11  Prefactor      .0000        27.103        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .57914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43072        .74639        .86041E-03   -1.5695    
  14  norm           .0000        .86522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.833        16.527        .26230E-03   -1.5631    
  16  Prefactor     .31475E-07    5.6829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25535E-08    4.7919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .95939        1.8595        .42269E-03   -1.5688    
  19  Prefactor     3.6825        9.8472        .52824E-03   -1.5670    
  20  Prefactor     .72004        1.0545        .59523E-03   -1.5691    
  21  Prefactor     11.558        14.864        .29207E-03   -1.5640    
  22  Prefactor     16.992        27.024        .23666E-03   -1.5626    
  23  Prefactor     .14888E-06    6.3691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11254E-05    9.2027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0401        .10047        .41282E-01   -.91699    
  26  Prefactor     .89722        .12137        .44967E-01   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88194e-06
Minuit parameter uncertainties:
  1  3.51618e-07
  2  0.943243
  3  2.11116e-05
  4  1.09172
  5  0.00479178
  6  3.60804
  7  1.35525e-06
  8  28.1556
  9  23.2125
  10  2.42917
  11  4.20576e-05
  12  8.05479e-07
  13  0.746388
  14  3.50567e-06
  15  16.5275
  16  0.000845636
  17  0.000222244
  18  1.85953
  19  9.84727
  20  1.05455
  21  14.864
  22  27.0246
  23  0.00194746
  24  0.00643636
  25  0.100491
  26  0.121411
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370824/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370824/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:09:53.625773', job_id='37370824', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788890993.63', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:09:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370914/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370914/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:11:07.465888', job_id='37370914', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788891067.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:11:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370901/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370901/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:11:15.686740', job_id='37370901', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788891075.69', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:11:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.206e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.367 55.042
Photon Flux Upper Limit: 3.59546679607e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00283986264425 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37370895/likelihoodResults_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14796.3803113
delta logL = 0.000372139580577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14795.7998613
delta logL = 0.580822154163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42336E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14796.38     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      505 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.3430       -.21243E-06** at limit **
   2  Index         1.3997        .16979E-01    .68509E-07     .0000    
   3  Normalizat    1.0401        .11482        .84480E-06    .10874E-04
   4  Prefactor     .89722        .14189        .31204E-05    .39935E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39966
  Normalizat = 1.04009
  Prefactor  = 0.897223
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14796.38     FROM HESSE     STATUS=FAILED        11 CALLS      516 TOTAL
                     EDM=   .26E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.3306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16408        1.4192        .68509E-07   -19.653    
   3  Normalizat    1.0401        1.3032        .84480E-06    242.82    
   4  Prefactor     .89722        1.2495        .31204E-05   -321.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56532e-13
Minuit parameter uncertainties:
  1  4.23198e-06
  2  1.11294
  3  1.34689
  4  1.29319
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) = 14796.3806834
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  4.232e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.400e+00  1.113e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.972e-01  1.293e+00  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.040e+00  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.367 55.042

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/37370895/cmap_HighResolution_809913601_810518401_4FGL_J1337.4+5502_weekly_bin944.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2026-09-08 11:11:29.536729', job_id='37370895', GAL2='0.90', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1788891089.54', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='944' AND source_name='4FGL J1337.4+5502' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep  8 11:11:29 PDT 2026

