/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
 outfile=/lscratch/kocevski/27249837/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 16.86
user 16.27
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249837/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249837/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249837/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 64.80
user 60.43
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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249837/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249837/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 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.63
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249837/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc/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).


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

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

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

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

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

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

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

Done.


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249923', job_status='RUN', time_executed='2026-05-26 12:18:57.661616', time_epoch_executed='1779823137.66' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249923

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249923/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249923/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249923/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.94
user 4.39
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249923/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249943', job_status='RUN', time_executed='2026-05-26 12:19:03.231278', time_epoch_executed='1779823143.23' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249943

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249943/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249943/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249943/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.40
user 4.47
sys 0.35

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249943/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249986', job_status='RUN', time_executed='2026-05-26 12:19:58.352632', time_epoch_executed='1779823198.35' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249986

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249986/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249986/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249986/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.30
user 3.84
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249986/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249987', job_status='RUN', time_executed='2026-05-26 12:19:58.338315', time_epoch_executed='1779823198.34' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249987

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249987/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249987/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249987/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.32
user 3.85
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249987/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249947', job_status='RUN', time_executed='2026-05-26 12:19:58.724524', time_epoch_executed='1779823198.72' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249947

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249947/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249947/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249947/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.72
user 4.13
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249947/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27249948', job_status='RUN', time_executed='2026-05-26 12:19:58.724443', time_epoch_executed='1779823198.72' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27249948

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27249948/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27249948/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249948/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.75
user 4.15
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27249948/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27249919/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 19.47
user 18.87
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249919/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249919/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249919/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 72.00
user 67.11
sys 4.15

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249919/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 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.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249919/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 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/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249919/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/27249923/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 17.93
user 17.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249923/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249923/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249923/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 69.90
user 65.25
sys 4.12

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249923/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249923/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249923/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27249782/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 44.59
user 42.44
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249782/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249782/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249782/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249782/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249782/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249782/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249782/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249782/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249782/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249782/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
e GAL_V02
Working on...
/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 39.07
user 37.74
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249837/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249837/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249837/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249837/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249837/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249837/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249837/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249837/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
 outfile=/lscratch/kocevski/27249986/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 15.59
user 15.03
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249986/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249986/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249986/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 59.41
user 55.41
sys 3.58

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249986/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249986/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249986/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/27249987/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 15.47
user 14.96
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249987/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249987/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249987/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 59.34
user 55.52
sys 3.39

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249987/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249987/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 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.60
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249987/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
 outfile=/lscratch/kocevski/27249943/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 21.33
user 20.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249943/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249943/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249943/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 70.92
user 65.94
sys 4.30

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249943/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 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.29
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249943/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 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.30
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249943/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27250007', job_status='RUN', time_executed='2026-05-26 12:21:04.108546', time_epoch_executed='1779823264.11' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27250007

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27250007/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27250007/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250007/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.78
user 4.11
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27250007/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
 outfile=/lscratch/kocevski/27249948/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 16.86
user 16.32
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249948/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249948/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249948/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 64.38
user 59.94
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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249948/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249948/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249948/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/27249947/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 16.73
user 16.15
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27249947/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249947/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27249947/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 64.47
user 60.13
sys 3.76

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249947/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27249947/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27249947/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27250039', job_status='RUN', time_executed='2026-05-26 12:22:02.297439', time_epoch_executed='1779823322.3' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27250039

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27250039/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27250039/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250039/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.15
user 4.53
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27250039/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

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


Performing analysis on: 4FGL_J1613.6+3411_weekly_bin929
RA = 243.421, Dec = 34.1982
tmin = 800841601, tmax = 801446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='27250046', job_status='RUN', time_executed='2026-05-26 12:22:03.437993', time_epoch_executed='1779823323.44' WHERE source_name='4FGL J1613.6+3411' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27250046

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27250046/ft1_4FGL_J1613.6+3411_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27250046/ft1_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250046/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits ra=243.421 dec=34.1982 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.61
user 4.87
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/27250046/ft1_filteredMKT_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA"Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249782/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249782/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:26:08.542158', job_id='27249782', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823568.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:26:08 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249837/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249837/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:26:13.037801', job_id='27249837', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823573.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:26:13 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 44.50
user 42.61
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249919/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249919/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249919/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249919/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249919/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249919/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249919/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249919/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
e GAL_V02
Working on...
/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 36.33
user 34.73
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249987/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249987/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249987/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249987/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249987/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249987/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249987/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249987/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
 outfile=/lscratch/kocevski/27250007/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 17.12
user 16.48
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27250007/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250007/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27250007/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 64.18
user 59.84
sys 3.66

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250007/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 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.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250007/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27250007/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
e GAL_V02
Working on...
/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 35.94
user 34.71
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249986/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249986/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249986/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249986/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249986/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249986/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249986/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249986/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
e GAL_V02
Working on...
/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 42.33
user 40.70
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249923/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249923/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249923/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249923/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249923/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249923/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249923/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249923/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
outfile=/lscratch/kocevski/27250039/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 18.69
user 18.11
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27250039/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250039/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27250039/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 70.76
user 66.09
sys 4.13

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250039/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250039/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27250039/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source outfile=/lscratch/kocevski/27250046/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 21.75
user 20.99
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27250046/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250046/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/27250046/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
.....................!
real 75.00
user 69.94
sys 4.29

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

Setting source of interest to:
4FGL J1613.6+3411 @ 243.421 34.1982

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250046/cmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=243.421 yref=34.1982 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.87
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits outfile=/lscratch/kocevski/27250046/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.421 yref=34.1982 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.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27250046/Model_4FGL_J1613.6+3411_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcDone.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249919/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
e GAL_V02
Working on...
/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 39.69
user 38.25
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249947/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249947/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249947/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249947/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249947/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249947/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249947/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249947/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249919/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:28:21.208496', job_id='27249919', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823701.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:28:21 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 39.53
user 38.14
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249948/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249948/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249948/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249948/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249948/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249948/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249948/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249948/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249987/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249987/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:28:32.452083', job_id='27249987', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823712.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:28:32 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 47.15
user 44.07
sys 2.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27249943/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27249943/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27249943/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27249943/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27249943/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27249943/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27249943/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27249943/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249986/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249986/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:28:37.270726', job_id='27249986', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823717.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:28:37 PDT 2026

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

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249923/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249923/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:28:56.043796', job_id='27249923', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823736.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:28:56 PDT 2026

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

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249947/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249947/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:29:53.155889', job_id='27249947', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823793.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:29:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249948/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249948/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:29:59.318680', job_id='27249948', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823799.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:29:59 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 38.69
user 37.21
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27250007/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27250007/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27250007/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27250007/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27250007/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27250007/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27250007/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27250007/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27249943/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27249943/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:30:42.956278', job_id='27249943', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823842.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:30:43 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 44.84
user 42.45
sys 1.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27250039/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27250039/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27250039/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27250039/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27250039/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27250039/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27250039/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27250039/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27250007/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27250007/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:31:35.533319', job_id='27250007', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823895.53', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:31:35 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits.....................!
real 46.04
user 44.14
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits', '/lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits', expMap='/lscratch/kocevski/27250046/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', expCube='/lscratch/kocevski/27250046/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27250046/Model_4FGL_J1613.6+3411_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1613.6+3411'

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.261e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27250046/ft1_filtered_4FGL_J1613.6+3411_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27250046/ft2_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27250046/expmap_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27250046/ltcube_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27250046/Model_4FGL_J1613.6+3411_weekly_bin929.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.029       1.0000          .0000       .10000E+07
     2 'norm      '    2.6364       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.871       1.0000          .0000       .10000E+07
     5 'norm      '    12.772       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74007E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.8486       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.358       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21649E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .59555E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .15160E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72590E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .56988E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91423       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5755       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.592       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0681       1.0000          .0000       .10000E+07
    19 'norm      '    4.7330       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0594       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1651 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.059        1.1191        .40063E-07   -.26689E-01
   2  norm          2.6365        .75441       -.39311E-08    .16934E-01
   3  Prefactor     .55511E-10    1.4181       -.32886E-07** at limit **
   4  Prefactor     10.874        1.3862        .11306E-06   -.20211E-01
   5  norm          12.692        8.3004        .15488E-07   -.18810E-01
   6  Prefactor     .22204E-09    1.1407       -.52842E-07** at limit **
   7  Prefactor     7.8565        1.0277        .86250E-08    .32171E-03
   8  Prefactor     10.358        5.4932       -.72743E-06   -.36037E-01
   9  Prefactor     .22204E-09    .80348       -.22003E-07** at limit **
  10  Prefactor     .55511E-10    .98656       -.59881E-07** at limit **
  11  norm          .59524E-01    .66309E-01    .48110E-09** at limit **
  12  norm          .22204E-09    1.8997        .49680E-07** at limit **
  13  Prefactor     .18874E-08    6.0369       -.14994E-06** at limit **
  14  norm          .61062E-09    20.967       -.32557E-07** at limit **
  15  Prefactor     .91476        1.0658        .46766E-08    .55905E-03
  16  Prefactor     3.5748        1.1936        .13526E-07    .17505E-01
  17  Prefactor     18.603        3.8041       -.28504E-06    .66924E-01
  18  Prefactor     1.0682        .99050        .25449E-07    .67132E-02
  19  norm          4.7326        1.2085       -.18799E-08   -.48881E-02
  20  Normalizat    1.0596        .12506       -.19297E-05   -.45516E-03
  21  Prefactor     .76100        .97291E-01    .26787E-05   -.73464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0588
  norm       = 2.63651
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8744
  norm       = 12.6916
  Prefactor  = 2.22045e-10
  Prefactor  = 7.85652
  Prefactor  = 10.3579
  Prefactor  = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 0.0595242
  norm       = 2.22045e-10
  Prefactor  = 1.88738e-09
  norm       = 6.10623e-10
  Prefactor  = 0.914762
  Prefactor  = 3.57484
  Prefactor  = 18.6032
  Prefactor  = 1.06818
  norm       = 4.73256
  Normalizat = 1.05956
  Prefactor  = 0.760999
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
 **********
 **   18 **HESSE 
 **********

 FCN=   15596.73     FROM HESSE     STATUS=OK           361 CALLS     2012 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.059        28.624        .19238E-03   -1.5604    
   2  norm          2.6365        .76085        .62771E-03   -1.5675    
   3  Prefactor     .55511E-10    1.4240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.874        11.302        .30362E-03   -1.5642    
   5  norm          12.692        8.5589        .28003E-03   -1.5637    
   6  Prefactor     .22204E-09    1.1175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8565        10.598        .35768E-03   -1.5652    
   8  Prefactor     10.358        5.7763        .31108E-03   -1.5644    
   9  Prefactor     .22204E-09    .80100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    .98468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .59524E-01    .64404E-01    .70823E-03   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .22204E-09    1.9002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18874E-08    6.0783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    20.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91476        1.0374        .44781E-03   -1.5689    
  16  Prefactor     3.5748        1.1681        .53421E-03   -1.5670    
  17  Prefactor     18.603        8.9569        .23200E-03   -1.5622    
  18  Prefactor     1.0682        .97286        .11771E-02   -1.5687    
  19  norm          4.7326        1.2090        .46227E-03   -1.5664    
  20  Normalizat    1.0596        .10899        .39964E-01   -.91061    
  21  Prefactor     .76100        .84997E-01    .43208E-01   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35667e-08
Minuit parameter uncertainties:
  1  28.624
  2  0.760846
  3  2.08365e-05
  4  11.3019
  5  8.55888
  6  3.22132e-05
  7  10.598
  8  5.77634
  9  2.77968e-05
  10  1.3707e-05
  11  0.0644042
  12  4.11039e-05
  13  0.000213751
  14  0.000224647
  15  1.03744
  16  1.1681
  17  8.95688
  18  0.972864
  19  1.20901
  20  0.109014
  21  0.0850112
Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27250039/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27250039/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:32:50.708226', job_id='27250039', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779823970.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:32:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  2.220e-10  2.780e-05  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  8.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.421 34.198
Photon Flux Upper Limit: 2.96335060375e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00229555177981 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27250046/likelihoodResults_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.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) = 15596.7469478
delta logL = -0.0136812583787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15596.7332666
delta logL = -2.23262759391e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1216       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15596.73     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      244 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .35546        .25979E-02** at limit **
   2  Index         3.0693        1.1470        .67867E-06     .0000    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.40708E-04
   4  Prefactor     .76100        1.1104        .18746E-05    .11447E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06932
  Normalizat = 1.05956
  Prefactor  = 0.761
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15596.73     FROM HESSE     STATUS=FAILED         9 CALLS      253 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .35546        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0634        2.0665        .67867E-06   -.39644    
   3  Normalizat    1.0596        1.1917       -.24392E-05   -.91061    
   4  Prefactor     .76100        1.1104        .18746E-05   -1.0118    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.77848e-12
Minuit parameter uncertainties:
  1  4.99055e-07
  2  1.15918
  3  1.22397
  4  1.14567
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) = 15596.7332665
delta logL = 2.38287611865e-10

Extracting fit parameters...

4FGL J1613.6+3411
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  4.991e-07  0.000e+00  1.000e+06 ( 1.000e-12)
277        Index:  3.069e+00  1.159e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.801e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.610e-01  1.146e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.060e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.421 34.198

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/27250046/cmap_HighResolution_800841601_801446401_4FGL_J1613.6+3411_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', job_status='DONE', photon_flux_upper_limit='2.96e-08', time_completed='2026-05-26 12:33:32.007241', job_id='27250046', GAL2='0.76', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1779824012.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.38e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='929' AND source_name='4FGL J1613.6+3411' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 12:33:32 PDT 2026

