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

Done.


Performing analysis on: 4FGL_J2116.2+3339_weekly_bin937
RA = 319.06, Dec = 33.6567
tmin = 805680001, tmax = 806284801
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='32673343', job_status='RUN', time_executed='2026-07-21 18:41:07.222436', time_epoch_executed='1784684467.22' WHERE source_name='4FGL J2116.2+3339' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32673343

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32673343/ft1_4FGL_J2116.2+3339_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32673343/ft1_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673343/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits ra=319.06 dec=33.6567 rad=12.0 tmin=805680001.0 tmax=806284801.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.37
user 3.67
sys 0.36

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.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/32673343/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6797

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" o/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).


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

utfile=/lscratch/kocevski/32673398/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 16.48
user 15.17
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32673398/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673398/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673398/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 59.89
user 55.62
sys 3.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673398/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.20
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673398/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.44
user 0.23
sys 0.12

Computing the diffuse respnumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2116.2+3339_weekly_bin937
RA = 319.06, Dec = 33.6567
tmin = 805680001, tmax = 806284801
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='32673609', job_status='RUN', time_executed='2026-07-21 18:43:07.469759', time_epoch_executed='1784684587.47' WHERE source_name='4FGL J2116.2+3339' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32673609

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32673609/ft1_4FGL_J2116.2+3339_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32673609/ft1_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673609/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits ra=319.06 dec=33.6567 rad=12.0 tmin=805680001.0 tmax=806284801.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.57
user 4.22
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.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/32673609/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6797

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32673343/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 16.95
user 15.22
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32673343/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673343/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673343/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 60.67
user 55.86
sys 3.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673343/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.52
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673343/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.58
user 0.21
sys 0.14

Computing the diffuse resputfile=/lscratch/kocevski/32673609/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 19.02
user 17.60
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32673609/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673609/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32673609/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 69.20
user 63.78
sys 4.17

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673609/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.44
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32673609/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.54
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32672706/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32672706/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32672706/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32672706/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 432.99
user 428.66
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32672706/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32672706/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32672706/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32672706/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32672706/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32672706/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32672706/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32672706/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32672706/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32672706/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    number of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2116.2+3339_weekly_bin937
RA = 319.06, Dec = 33.6567
tmin = 805680001, tmax = 806284801
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='32674501', job_status='RUN', time_executed='2026-07-21 18:47:11.071787', time_epoch_executed='1784684831.07' WHERE source_name='4FGL J2116.2+3339' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32674501

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32674501/ft1_4FGL_J2116.2+3339_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32674501/ft1_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32674501/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits ra=319.06 dec=33.6567 rad=12.0 tmin=805680001.0 tmax=806284801.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.27
user 4.10
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.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/32674501/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6797

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" o.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
nse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32672719/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32672719/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32672719/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32672719/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 477.15
user 472.99
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32672719/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32672719/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32672719/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32672719/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32672719/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32672719/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32672719/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32672719/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32672719/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32672719/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .utfile=/lscratch/kocevski/32674501/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 19.98
user 18.81
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32674501/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32674501/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32674501/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 65.04
user 60.30
sys 3.67

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
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32674501/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.23
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32674501/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.36
user 0.22
sys 0.14

Computing the diffuse resp **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32672706/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:01:13.961025', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784685673.96', return_code='0', job_id='32672706', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:01:15 PDT 2026

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

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32673076/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673076/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32673076/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32673076/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 437.06
user 432.39
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32673076/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32673076/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32673076/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32673076/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32673076/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32673076/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32673076/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32673076/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32673076/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32673076/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32672719/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:03:02.626247', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784685782.63', return_code='0', job_id='32672719', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:03:03 PDT 2026

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


Performing analysis on: 4FGL_J2116.2+3339_weekly_bin937
RA = 319.06, Dec = 33.6567
tmin = 805680001, tmax = 806284801
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='32675065', job_status='RUN', time_executed='2026-07-21 18:52:18.244941', time_epoch_executed='1784685138.24' WHERE source_name='4FGL J2116.2+3339' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32675065

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32675065/ft1_4FGL_J2116.2+3339_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32675065/ft1_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675065/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits ra=319.06 dec=33.6567 rad=12.0 tmin=805680001.0 tmax=806284801.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.26
user 3.95
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.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/32675065/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6797

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" onumber of points = 17284
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2116.2+3339_weekly_bin937
RA = 319.06, Dec = 33.6567
tmin = 805680001, tmax = 806284801
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='32675061', job_status='RUN', time_executed='2026-07-21 18:52:18.771188', time_epoch_executed='1784685138.77' WHERE source_name='4FGL J2116.2+3339' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32675061

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32675061/ft1_4FGL_J2116.2+3339_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32675061/ft1_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675061/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits ra=319.06 dec=33.6567 rad=12.0 tmin=805680001.0 tmax=806284801.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.81
user 3.68
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.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/32675061/ft1_filteredMKT_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 6797

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" o.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32673318/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673318/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32673318/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32673318/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 463.44
user 458.85
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32673318/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32673318/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32673318/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32673318/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32673318/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32673318/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32673318/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32673318/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32673318/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32673318/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32673398/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 411.26
user 407.13
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32673398/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32673398/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32673398/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32673398/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32673398/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32673398/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32673398/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32673398/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    utfile=/lscratch/kocevski/32675065/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 16.77
user 15.68
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32675065/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675065/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32675065/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 60.67
user 56.12
sys 3.45

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675065/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675065/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.01
user 0.22
sys 0.13

Computing the diffuse resputfile=/lscratch/kocevski/32675061/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 16.24
user 15.19
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32675061/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675061/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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/32675061/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
.....................!
real 60.45
user 55.86
sys 3.49

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
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 200 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2116.2+3339 @ 319.06 33.6567

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675061/cmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.16
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits outfile=/lscratch/kocevski/32675061/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.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=319.06 yref=33.6567 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.07
user 0.22
sys 0.14

Computing the diffuse resp.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32673343/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 412.97
user 408.51
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32673343/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32673343/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32673343/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32673343/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32673343/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32673343/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32673343/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32673343/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE     **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32673609/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 443.10
user 438.77
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32673609/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32673609/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32673609/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32673609/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32673609/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32673609/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32673609/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32673609/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE     **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32673076/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:06:59.243509', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686019.24', return_code='0', job_id='32673076', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:06:59 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32673318/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:07:54.235944', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686074.24', return_code='0', job_id='32673318', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:07:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32673398/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:08:20.964470', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686100.96', return_code='0', job_id='32673398', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:08:21 PDT 2026

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

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32673343/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:10:06.097237', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686206.1', return_code='0', job_id='32673343', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:10:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32673609/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:10:55.444030', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686255.44', return_code='0', job_id='32673609', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:10:55 PDT 2026

onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32674501/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 423.08
user 418.79
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32674501/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32674501/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32674501/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32674501/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32674501/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32674501/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32674501/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32674501/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32674501/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:16:13.108122', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686573.11', return_code='0', job_id='32674501', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:16:13 PDT 2026

onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32675061/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 411.06
user 407.23
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32675061/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32675061/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32675061/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32675061/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32675061/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32675061/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32675061/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32675061/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    onse:
time -p gtdiffrsp evfile=/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32675065/Model_4FGL_J2116.2+3339_weekly_bin937.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits.....................!
real 427.98
user 424.14
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits', '/lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits', expMap='/lscratch/kocevski/32675065/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', expCube='/lscratch/kocevski/32675065/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32675065/Model_4FGL_J2116.2+3339_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2116.2+3339'

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.245e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32675065/ft1_filtered_4FGL_J2116.2+3339_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32675065/ft2_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32675065/expmap_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32675065/ltcube_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32675065/Model_4FGL_J2116.2+3339_weekly_bin937.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) = 61911.9649302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24611E-04   1.0000          .0000       .10000E+07
     2 'norm      '    7.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10412E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36886E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9051       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80386E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.0497       1.0000          .0000       .10000E+07
     9 'norm      '    1.2782       1.0000          .0000       .10000E+07
    10 'norm      '    .16859E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4954       1.0000          .0000       .10000E+07
    13 'norm      '    .67331       1.0000          .0000       .10000E+07
    14 'Normalizat'    .59821       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
.7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   61911.25     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      843 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    12.637       -.60920E-06** at limit **
   2  norm          7.0351        3.4735       -.17480E-07   -.39317E-03
   3  Prefactor     .10000E-03    .42067       -.15983E-05** at limit **
   4  norm           .0000        6.9279       -.21230E-06** at limit **
   5  Prefactor      .0000        26.087        .28593E-07** at limit **
   6  Prefactor     4.4895        18.733        .86922E-06   -.19851E-04
   7  Prefactor     .55511E-10    6.8657       -.69899E-06** at limit **
   8  norm          2.0487        2.4408       -.59705E-07    .96133E-03
   9  norm          1.2789        .76990        .10008E-06    .21758E-02
  10  norm           .0000        1.3145       -.49139E-07** at limit **
  11  Prefactor     5.8525        3.3997       -.17357E-06   -.11271E-02
  12  Prefactor     3.4960        3.7499       -.20976E-06   -.16573E-02
  13  norm          .67258        .43248       -.34072E-07    .37949E-02
  14  Normalizat    .59878        .13553        .30504E-06   -.35963E-05
  15  Prefactor     1.0357        .22257E-01   -.85595E-06    .51238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 7.03512
  Prefactor  = 0.0001
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.48952
  Prefactor  = 5.55112e-11
  norm       = 2.04869
  norm       = 1.27891
  norm       = 0
  Prefactor  = 5.85252
  Prefactor  = 3.49595
  norm       = 0.672583
  Normalizat = 0.598782
  Prefactor  = 1.03569
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.25     FROM HESSE     STATUS=OK           224 CALLS     1067 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .57550        .55017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0351        3.4716        .37804E-03   -1.5655    
   3  Prefactor     .10000E-03    .41873        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        6.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        26.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4895        18.958        .45391E-03   -1.5666    
   7  Prefactor     .55511E-10    6.7074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0487        2.4764        .72178E-03   -1.5679    
   9  norm          1.2789        .76125        .98191E-03   -1.5685    
  10  norm           .0000        1.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8525        3.4111        .41416E-03   -1.5660    
  12  Prefactor     3.4960        3.7890        .54056E-03   -1.5671    
  13  norm          .67258        .44071        .62902E-03   -1.5692    
  14  Normalizat    .59878        .14566        .22131       -1.0804    
  15  Prefactor     1.0357        .23366E-01    .28476E-01   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21077e-07
Minuit parameter uncertainties:
  1  1.59427e-05
  2  3.47159
  3  7.01833e-07
  4  4.11923e-08
  5  2.78885e-05
  6  18.4516
  7  3.29549e-05
  8  2.47639
  9  0.761253
  10  5.81577e-06
  11  3.41113
  12  3.78896
  13  0.440714
  14  0.145755
  15  0.0233664
Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32675061/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:20:37.680063', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686837.68', return_code='0', job_id='32675061', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:20:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.279e+00  7.613e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.747e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.337e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.988e-01  1.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.06
Ra Dec: 319.060 33.657
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.62e-08 +/- 9.65e-09
Energy Flux (Fixed Index): 1.99e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.242532
delta logL = 0.00354386324034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409008
delta logL = 0.00517505330208

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3289       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    .59651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   61911.24     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3285        13.066        .95260E-03   -.47332E-02
   2  alpha         1.8313        3.1565        .43184       -.58377E-04
   3  Normalizat    .59654        .10890        .22168        .44003E-03
   4  Prefactor     1.0357        .99470E-02    .28476E-01   -.89501E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32847
  alpha      = 1.83128
  Normalizat = 0.596544
  Prefactor  = 1.0357
 **********
 **   18 **HESSE 
 **********

 FCN=   61911.24     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3285        .83296        .16155E-04   -1.5685    
   2  alpha         1.8313        .75667        .43362E-01   -.27079    
   3  Normalizat    .59654        .12941        .98833E-03   -1.0813    
   4  Prefactor     1.0357        .21190E-01    .12584E-03   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60341e-09
Minuit parameter uncertainties:
  1  0.832956
  2  0.769696
  3  0.129478
  4  0.02119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 61911.2409006
delta logL = 0.00517523521557

Extracting fit parameters...

4FGL J2116.2+3339
   Spectrum: LogParabola
448         norm:  1.328e+00  8.330e-01  0.000e+00  1.000e+06 ( 1.000e-12)
449        alpha:  1.831e+00  7.697e-01  0.000e+00  5.000e+00 ( 1.000e+00)
450         beta:  9.836e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
451           Eb:  1.649e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
727    Prefactor:  1.036e+00  2.119e-02  0.000e+00  1.000e+01 ( 1.000e+00)
728        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
729        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
726   Normalization:  5.965e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.08
Ra Dec: 319.060 33.657
Photon Index (Free Index): 1.83 +/- 0.77
Photon Flux (Free Index): 1.89e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/32675065/cmap_HighResolution_805680001_806284801_4FGL_J2116.2+3339_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-08', energy_flux2='1.92e-05', photon_flux_error='9.65e-09', dlogl='5.18e-03', energy_flux='1.99e-05', photon_flux2='1.89e-08', job_status='DONE', time_completed='2026-07-21 19:21:18.754816', photon_index_error2='0.77', photon_index2='1.83', ts='15.06', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.60', time_epoch_completed='1784686878.75', return_code='0', job_id='32675065', GAL2='1.04', EG2='0.60', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='2.75e-08', ts2='15.08', photon_index='1.75' WHERE bin_id='937' AND source_name='4FGL J2116.2+3339' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:21:19 PDT 2026

