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


Performing analysis on: 4FGL_J2118.2+5752_weekly_bin928
RA = 319.551, Dec = 57.8703
tmin = 800236801, tmax = 800841601
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='26884451', job_status='RUN', time_executed='2026-05-19 15:43:37.468350', time_epoch_executed='1779230617.47' WHERE source_name='4FGL J2118.2+5752' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26884451

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26884451/ft1_4FGL_J2118.2+5752_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26884451/ft1_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884451/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits ra=319.551 dec=57.8703 rad=12.0 tmin=800236801.0 tmax=800841601.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.71
user 4.89
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.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/26884451/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 12826

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

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

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

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

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

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

" outfile=/lscratch/kocevski/26884444/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 20.46
user 19.23
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26884444/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884444/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884444/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 76.09
user 69.38
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 186 point sources and 7 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 J2118.2+5752 @ 319.551 57.8703

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884444/cmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.28
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884444/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 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 linke" outfile=/lscratch/kocevski/26884451/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 20.31
user 19.23
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26884451/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884451/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884451/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 73.81
user 68.75
sys 4.20

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 186 point sources and 7 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 J2118.2+5752 @ 319.551 57.8703

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884451/cmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884451/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 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 linkenumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2118.2+5752_weekly_bin928
RA = 319.551, Dec = 57.8703
tmin = 800236801, tmax = 800841601
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='26884499', job_status='RUN', time_executed='2026-05-19 15:45:54.737589', time_epoch_executed='1779230754.74' WHERE source_name='4FGL J2118.2+5752' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26884499

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26884499/ft1_4FGL_J2118.2+5752_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26884499/ft1_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884499/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits ra=319.551 dec=57.8703 rad=12.0 tmin=800236801.0 tmax=800841601.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 4.70
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.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/26884499/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 12826

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATAnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2118.2+5752_weekly_bin928
RA = 319.551, Dec = 57.8703
tmin = 800236801, tmax = 800841601
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='26884515', job_status='RUN', time_executed='2026-05-19 15:47:36.948529', time_epoch_executed='1779230856.95' WHERE source_name='4FGL J2118.2+5752' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26884515

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26884515/ft1_4FGL_J2118.2+5752_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26884515/ft1_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884515/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits ra=319.551 dec=57.8703 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.64
user 4.78
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.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/26884515/ft1_filteredMKT_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.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 2.67
user 0.22
sys 0.16

Number of photons that the gtmktime cut: 12826

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26884499/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 19.16
user 18.25
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26884499/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884499/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884499/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 70.29
user 65.15
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 FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 186 point sources and 7 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 J2118.2+5752 @ 319.551 57.8703

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884499/cmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884499/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 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 linke" outfile=/lscratch/kocevski/26884515/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 19.40
user 18.33
sys 0.17

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26884515/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884515/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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/26884515/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
.....................!
real 70.48
user 65.15
sys 3.97

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 186 point sources and 7 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 J2118.2+5752 @ 319.551 57.8703

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884515/cmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits outfile=/lscratch/kocevski/26884515/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.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.551 yref=57.8703 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26884451/Model_4FGL_J2118.2+5752_weekly_bin928.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 CTB 109
adding source Cygnus Cocoon
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits.....................!
real 678.75
user 673.24
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits', '/lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits', expMap='/lscratch/kocevski/26884451/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', expCube='/lscratch/kocevski/26884451/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26884451/Model_4FGL_J2118.2+5752_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.2+5752'

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  3.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26884451/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26884451/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26884451/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26884451/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26884451/Model_4FGL_J2118.2+5752_weekly_bin928.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) = 117016.806789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3824       1.0000          .0000       .10000E+07
     2 'norm      '    8.6007       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.674       1.0000          .0000       .10000E+07
     4 'norm      '    .34374       1.0000          .0000       .10000E+07
     5 'norm      '    3.7531       1.0000          .0000       .10000E+07
     6 'norm      '    6.4099       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9572       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68313E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46010       1.0000          .0000       .10000E+07
    10 'norm      '    .62885E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .15466       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6516       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6270       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94951       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********d library (v3.41).

This is gtbin version HEAD
real 0.84
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26884444/Model_4FGL_J2118.2+5752_weekly_bin928.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 CTB 109
adding source Cygnus Cocoon
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits.....................!
real 723.85
user 703.42
sys 2.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits', '/lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits', expMap='/lscratch/kocevski/26884444/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', expCube='/lscratch/kocevski/26884444/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26884444/Model_4FGL_J2118.2+5752_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.2+5752'

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  3.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26884444/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26884444/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26884444/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26884444/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26884444/Model_4FGL_J2118.2+5752_weekly_bin928.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) = 117016.806789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3824       1.0000          .0000       .10000E+07
     2 'norm      '    8.6007       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.674       1.0000          .0000       .10000E+07
     4 'norm      '    .34374       1.0000          .0000       .10000E+07
     5 'norm      '    3.7531       1.0000          .0000       .10000E+07
     6 'norm      '    6.4099       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9572       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68313E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46010       1.0000          .0000       .10000E+07
    10 'norm      '    .62885E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .15466       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6516       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6270       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94951       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3835        .71835        .56589E-07    .19896E-01
   2  norm          8.5524        2.5474        .66016E-06   -.10726E-01
   3  Prefactor     13.680        4.2052       -.76904E-06    .14140    
   4  norm          .34286        1.8477       -.30564E-06   -.28579E-02
   5  norm          3.7469        2.9486       -.11595E-06    .13854E-02
   6  norm          6.4083        3.0212        .36961E-07    .33417E-02
   7  Prefactor     2.9495        1.0370        .11485E-06    .18184E-01
   8  Prefactor     .14377E-07    2.3696        .36875E-06** at limit **
   9  Prefactor     .46489        1.4050       -.27797E-07    .78967E-03
  10  norm          .38913E-07    3.0508       -.53719E-06** at limit **
  11  norm          .15565        1.5323       -.84960E-07** at limit **
  12  Prefactor     1.7000        5.3458        .33626E-05    .26048E-01
  13  Normalizat    1.6271        .15226        .48337E-06    .90647E-04
  14  Prefactor     .94950        .15067E-01   -.12845E-07   -.89966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38346
  norm       = 8.55238
  Prefactor  = 13.6798
  norm       = 0.342858
  norm       = 3.74688
  norm       = 6.40831
  Prefactor  = 2.94947
  Prefactor  = 1.43774e-08
  Prefactor  = 0.464893
  norm       = 3.89133e-08
  norm       = 0.15565
  Prefactor  = 1.70004
  Normalizat = 1.62707
  Prefactor  = 0.949498

 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3835        .71835        .56589E-07    .19896E-01
   2  norm          8.5524        2.5474        .66016E-06   -.10726E-01
   3  Prefactor     13.680        4.2052       -.76904E-06    .14140    
   4  norm          .34286        1.8477       -.30564E-06   -.28579E-02
   5  norm          3.7469        2.9486       -.11595E-06    .13854E-02
   6  norm          6.4083        3.0212        .36961E-07    .33417E-02
   7  Prefactor     2.9495        1.0370        .11485E-06    .18184E-01
   8  Prefactor     .14377E-07    2.3696        .36875E-06** at limit **
   9  Prefactor     .46489        1.4050       -.27797E-07    .78967E-03
  10  norm          .38913E-07    3.0508       -.53719E-06** at limit **
  11  norm          .15565        1.5323       -.84960E-07** at limit **
  12  Prefactor     1.7000        5.3458        .33626E-05    .26048E-01
  13  Normalizat    1.6271        .15226        .48337E-06    .90647E-04
  14  Prefactor     .94950        .15067E-01   -.12845E-07   -.89966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38346
  norm       = 8.55238
  Prefactor  = 13.6798
  norm       = 0.342858
  norm       = 3.74688
  norm       = 6.40831
  Prefactor  = 2.94947
  Prefactor  = 1.43774e-08
  Prefactor  = 0.464893
  norm       = 3.89133e-08
  norm       = 0.15565
  Prefactor  = 1.70004
  Normalizat = 1.62707
  Prefactor  = 0.949498
d library (v3.41).

This is gtbin version HEAD
real 1.04
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26884499/Model_4FGL_J2118.2+5752_weekly_bin928.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 CTB 109
adding source Cygnus Cocoon
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits.....................!
real 672.77
user 667.18
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits', '/lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits', expMap='/lscratch/kocevski/26884499/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', expCube='/lscratch/kocevski/26884499/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26884499/Model_4FGL_J2118.2+5752_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.2+5752'

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  3.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26884499/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26884499/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26884499/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26884499/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26884499/Model_4FGL_J2118.2+5752_weekly_bin928.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) = 117016.806789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3824       1.0000          .0000       .10000E+07
     2 'norm      '    8.6007       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.674       1.0000          .0000       .10000E+07
     4 'norm      '    .34374       1.0000          .0000       .10000E+07
     5 'norm      '    3.7531       1.0000          .0000       .10000E+07
     6 'norm      '    6.4099       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9572       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68313E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46010       1.0000          .0000       .10000E+07
    10 'norm      '    .62885E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .15466       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6516       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6270       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94951       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********d library (v3.41).

This is gtbin version HEAD
real 0.92
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26884515/Model_4FGL_J2118.2+5752_weekly_bin928.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 CTB 109
adding source Cygnus Cocoon
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source FHES J2304.0+5406
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits.....................!
real 654.99
user 648.96
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits', '/lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits', expMap='/lscratch/kocevski/26884515/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', expCube='/lscratch/kocevski/26884515/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26884515/Model_4FGL_J2118.2+5752_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2118.2+5752'

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  3.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26884515/ft1_filtered_4FGL_J2118.2+5752_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26884515/ft2_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26884515/expmap_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26884515/ltcube_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26884515/Model_4FGL_J2118.2+5752_weekly_bin928.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) = 117016.806789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3824       1.0000          .0000       .10000E+07
     2 'norm      '    8.6007       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.674       1.0000          .0000       .10000E+07
     4 'norm      '    .34374       1.0000          .0000       .10000E+07
     5 'norm      '    3.7531       1.0000          .0000       .10000E+07
     6 'norm      '    6.4099       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9572       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68313E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46010       1.0000          .0000       .10000E+07
    10 'norm      '    .62885E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .15466       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6516       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6270       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94951       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3835        .71835        .56589E-07    .19896E-01
   2  norm          8.5524        2.5474        .66016E-06   -.10726E-01
   3  Prefactor     13.680        4.2052       -.76904E-06    .14140    
   4  norm          .34286        1.8477       -.30564E-06   -.28579E-02
   5  norm          3.7469        2.9486       -.11595E-06    .13854E-02
   6  norm          6.4083        3.0212        .36961E-07    .33417E-02
   7  Prefactor     2.9495        1.0370        .11485E-06    .18184E-01
   8  Prefactor     .14377E-07    2.3696        .36875E-06** at limit **
   9  Prefactor     .46489        1.4050       -.27797E-07    .78967E-03
  10  norm          .38913E-07    3.0508       -.53719E-06** at limit **
  11  norm          .15565        1.5323       -.84960E-07** at limit **
  12  Prefactor     1.7000        5.3458        .33626E-05    .26048E-01
  13  Normalizat    1.6271        .15226        .48337E-06    .90647E-04
  14  Prefactor     .94950        .15067E-01   -.12845E-07   -.89966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38346
  norm       = 8.55238
  Prefactor  = 13.6798
  norm       = 0.342858
  norm       = 3.74688
  norm       = 6.40831
  Prefactor  = 2.94947
  Prefactor  = 1.43774e-08
  Prefactor  = 0.464893
  norm       = 3.89133e-08
  norm       = 0.15565
  Prefactor  = 1.70004
  Normalizat = 1.62707
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********

 FCN=   117016.4     FROM HESSE     STATUS=OK           208 CALLS      924 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3835        .73712        .66337E-03   -1.5677    
   2  norm          8.5524        6.0860        .34156E-03   -1.5649    
   3  Prefactor     13.680        10.148        .27061E-03   -1.5634    
   4  norm          .34286        .84717        .96318E-02   -1.5696    
   5  norm          3.7469        3.9628        .52091E-03   -1.5669    
   6  norm          6.4083        3.0540        .39619E-03   -1.5657    
   7  Prefactor     2.9495        3.4777        .59027E-03   -1.5674    
   8  Prefactor     .14377E-07    2.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46489        1.4014        .82829E-03   -1.5694    
  10  norm          .38913E-07    3.2301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15565        .31324        .78551E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7000        5.9684        .82117E-03   -1.5682    
  13  Normalizat    1.6271        .15269        .20998       -.74268    
  14  Prefactor     .94950        .14707E-01    .26157E-01   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66439e-05
Minuit parameter uncertainties:
  1  0.737119
  2  6.086
  3  10.1485
  4  0.847169
  5  3.96283
  6  3.05403
  7  3.47766
  8  0.000378821
  9  1.40136
  10  0.00070929
  11  0.313238
  12  5.96839
  13  0.152733
  14  0.0147069
 **********
 **   18 **HESSE 
 **********

 FCN=   117016.4     FROM HESSE     STATUS=OK           208 CALLS      924 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3835        .73712        .66337E-03   -1.5677    
   2  norm          8.5524        6.0860        .34156E-03   -1.5649    
   3  Prefactor     13.680        10.148        .27061E-03   -1.5634    
   4  norm          .34286        .84717        .96318E-02   -1.5696    
   5  norm          3.7469        3.9628        .52091E-03   -1.5669    
   6  norm          6.4083        3.0540        .39619E-03   -1.5657    
   7  Prefactor     2.9495        3.4777        .59027E-03   -1.5674    
   8  Prefactor     .14377E-07    2.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46489        1.4014        .82829E-03   -1.5694    
  10  norm          .38913E-07    3.2301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15565        .31324        .78551E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7000        5.9684        .82117E-03   -1.5682    
  13  Normalizat    1.6271        .15269        .20998       -.74268    
  14  Prefactor     .94950        .14707E-01    .26157E-01   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66439e-05
Minuit parameter uncertainties:
  1  0.737119
  2  6.086
  3  10.1485
  4  0.847169
  5  3.96283
  6  3.05403
  7  3.47766
  8  0.000378821
  9  1.40136
  10  0.00070929
  11  0.313238
  12  5.96839
  13  0.152733
  14  0.0147069

 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3835        .71835        .56589E-07    .19896E-01
   2  norm          8.5524        2.5474        .66016E-06   -.10726E-01
   3  Prefactor     13.680        4.2052       -.76904E-06    .14140    
   4  norm          .34286        1.8477       -.30564E-06   -.28579E-02
   5  norm          3.7469        2.9486       -.11595E-06    .13854E-02
   6  norm          6.4083        3.0212        .36961E-07    .33417E-02
   7  Prefactor     2.9495        1.0370        .11485E-06    .18184E-01
   8  Prefactor     .14377E-07    2.3696        .36875E-06** at limit **
   9  Prefactor     .46489        1.4050       -.27797E-07    .78967E-03
  10  norm          .38913E-07    3.0508       -.53719E-06** at limit **
  11  norm          .15565        1.5323       -.84960E-07** at limit **
  12  Prefactor     1.7000        5.3458        .33626E-05    .26048E-01
  13  Normalizat    1.6271        .15226        .48337E-06    .90647E-04
  14  Prefactor     .94950        .15067E-01   -.12845E-07   -.89966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38346
  norm       = 8.55238
  Prefactor  = 13.6798
  norm       = 0.342858
  norm       = 3.74688
  norm       = 6.40831
  Prefactor  = 2.94947
  Prefactor  = 1.43774e-08
  Prefactor  = 0.464893
  norm       = 3.89133e-08
  norm       = 0.15565
  Prefactor  = 1.70004
  Normalizat = 1.62707
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********

 FCN=   117016.4     FROM HESSE     STATUS=OK           208 CALLS      924 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3835        .73712        .66337E-03   -1.5677    
   2  norm          8.5524        6.0860        .34156E-03   -1.5649    
   3  Prefactor     13.680        10.148        .27061E-03   -1.5634    
   4  norm          .34286        .84717        .96318E-02   -1.5696    
   5  norm          3.7469        3.9628        .52091E-03   -1.5669    
   6  norm          6.4083        3.0540        .39619E-03   -1.5657    
   7  Prefactor     2.9495        3.4777        .59027E-03   -1.5674    
   8  Prefactor     .14377E-07    2.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46489        1.4014        .82829E-03   -1.5694    
  10  norm          .38913E-07    3.2301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15565        .31324        .78551E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7000        5.9684        .82117E-03   -1.5682    
  13  Normalizat    1.6271        .15269        .20998       -.74268    
  14  Prefactor     .94950        .14707E-01    .26157E-01   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66439e-05
Minuit parameter uncertainties:
  1  0.737119
  2  6.086
  3  10.1485
  4  0.847169
  5  3.96283
  6  3.05403
  7  3.47766
  8  0.000378821
  9  1.40136
  10  0.00070929
  11  0.313238
  12  5.96839
  13  0.152733
  14  0.0147069
 **********
 **   18 **HESSE 
 **********

 FCN=   117016.4     FROM HESSE     STATUS=OK           208 CALLS      924 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3835        .73712        .66337E-03   -1.5677    
   2  norm          8.5524        6.0860        .34156E-03   -1.5649    
   3  Prefactor     13.680        10.148        .27061E-03   -1.5634    
   4  norm          .34286        .84717        .96318E-02   -1.5696    
   5  norm          3.7469        3.9628        .52091E-03   -1.5669    
   6  norm          6.4083        3.0540        .39619E-03   -1.5657    
   7  Prefactor     2.9495        3.4777        .59027E-03   -1.5674    
   8  Prefactor     .14377E-07    2.4998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46489        1.4014        .82829E-03   -1.5694    
  10  norm          .38913E-07    3.2301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15565        .31324        .78551E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7000        5.9684        .82117E-03   -1.5682    
  13  Normalizat    1.6271        .15269        .20998       -.74268    
  14  Prefactor     .94950        .14707E-01    .26157E-01   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66439e-05
Minuit parameter uncertainties:
  1  0.737119
  2  6.086
  3  10.1485
  4  0.847169
  5  3.96283
  6  3.05403
  7  3.47766
  8  0.000378821
  9  1.40136
  10  0.00070929
  11  0.313238
  12  5.96839
  13  0.152733
  14  0.0147069
Done.

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

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  1.438e-08  3.788e-04  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.471e-02  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.551 57.870
Photon Flux Upper Limit: 4.5648384964e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00355407990333 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26884451/likelihoodResults_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.40511
delta logL = -0.00219192003715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.402918
delta logL = -2.85639544018e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33645E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1902       1.0000          .0000       10.000    
     3 'Normalizat'    1.6271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94950       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      241 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8110        .42118E-03** at limit **
   2  Index         1.6296        1.2618       -.18717E-04     .0000    
   3  Normalizat    1.6271        1.0386        .27184E-04    .27752E-04
   4  Prefactor     .94950        1.2918       -.36438E-05    .13827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62964
  Normalizat = 1.62706
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   117016.4     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25554        1.5769       -.18717E-04   -.73971    
   3  Normalizat    1.6271        1.0386        .27184E-04   -.74268    
   4  Prefactor     .94950        1.2918       -.36438E-05   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.88009e-13
Minuit parameter uncertainties:
  1  3.70997e-07
  2  1.2877
  3  1.05291
  4  1.33771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 117016.402918
delta logL = 2.89583113045e-09

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  3.710e-07  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  1.630e+00  1.288e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.338e+00  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.551 57.870

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/26884451/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2026-05-19 16:21:58.457104', job_id='26884451', GAL2='0.95', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1779232918.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J2118.2+5752' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 16:21:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  1.438e-08  3.788e-04  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.471e-02  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.551 57.870
Photon Flux Upper Limit: 4.5648384964e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00355407990333 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26884444/likelihoodResults_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.40511
delta logL = -0.00219192003715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.402918
delta logL = -2.85639544018e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33645E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1902       1.0000          .0000       10.000    
     3 'Normalizat'    1.6271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94950       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      241 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8110        .42118E-03** at limit **
   2  Index         1.6296        1.2618       -.18717E-04     .0000    
   3  Normalizat    1.6271        1.0386        .27184E-04    .27752E-04
   4  Prefactor     .94950        1.2918       -.36438E-05    .13827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62964
  Normalizat = 1.62706
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   117016.4     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25554        1.5769       -.18717E-04   -.73971    
   3  Normalizat    1.6271        1.0386        .27184E-04   -.74268    
   4  Prefactor     .94950        1.2918       -.36438E-05   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.88009e-13
Minuit parameter uncertainties:
  1  3.70997e-07
  2  1.2877
  3  1.05291
  4  1.33771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 117016.402918
delta logL = 2.89583113045e-09

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  3.710e-07  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  1.630e+00  1.288e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.338e+00  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.551 57.870

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/26884444/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2026-05-19 16:22:44.087394', job_id='26884444', GAL2='0.95', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1779232964.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J2118.2+5752' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 16:22:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  1.438e-08  3.788e-04  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.471e-02  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.551 57.870
Photon Flux Upper Limit: 4.5648384964e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00355407990333 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26884499/likelihoodResults_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.40511
delta logL = -0.00219192003715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.402918
delta logL = -2.85639544018e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33645E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1902       1.0000          .0000       10.000    
     3 'Normalizat'    1.6271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94950       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      241 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8110        .42118E-03** at limit **
   2  Index         1.6296        1.2618       -.18717E-04     .0000    
   3  Normalizat    1.6271        1.0386        .27184E-04    .27752E-04
   4  Prefactor     .94950        1.2918       -.36438E-05    .13827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62964
  Normalizat = 1.62706
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   117016.4     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25554        1.5769       -.18717E-04   -.73971    
   3  Normalizat    1.6271        1.0386        .27184E-04   -.74268    
   4  Prefactor     .94950        1.2918       -.36438E-05   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.88009e-13
Minuit parameter uncertainties:
  1  3.70997e-07
  2  1.2877
  3  1.05291
  4  1.33771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 117016.402918
delta logL = 2.89583113045e-09

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  3.710e-07  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  1.630e+00  1.288e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.338e+00  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.551 57.870

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/26884499/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2026-05-19 16:23:55.308146', job_id='26884499', GAL2='0.95', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1779233035.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J2118.2+5752' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 16:23:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  1.438e-08  3.788e-04  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  2.516e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.471e-02  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.551 57.870
Photon Flux Upper Limit: 4.5648384964e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00355407990333 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26884515/likelihoodResults_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.40511
delta logL = -0.00219192003715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 117016.402918
delta logL = -2.85639544018e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33645E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1902       1.0000          .0000       10.000    
     3 'Normalizat'    1.6271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94950       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   117016.4     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      241 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8110        .42118E-03** at limit **
   2  Index         1.6296        1.2618       -.18717E-04     .0000    
   3  Normalizat    1.6271        1.0386        .27184E-04    .27752E-04
   4  Prefactor     .94950        1.2918       -.36438E-05    .13827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.62964
  Normalizat = 1.62706
  Prefactor  = 0.949498
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   117016.4     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25554        1.5769       -.18717E-04   -.73971    
   3  Normalizat    1.6271        1.0386        .27184E-04   -.74268    
   4  Prefactor     .94950        1.2918       -.36438E-05   -.94432    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.88009e-13
Minuit parameter uncertainties:
  1  3.70997e-07
  2  1.2877
  3  1.05291
  4  1.33771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 117016.402918
delta logL = 2.89583113045e-09

Extracting fit parameters...

4FGL J2118.2+5752
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  3.710e-07  0.000e+00  1.000e+06 ( 1.000e-13)
373        Index:  1.630e+00  1.288e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
670    Prefactor:  9.495e-01  1.338e+00  0.000e+00  1.000e+01 ( 1.000e+00)
671        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
672        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.627e+00  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.551 57.870

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/26884515/cmap_HighResolution_800236801_800841601_4FGL_J2118.2+5752_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2026-05-19 16:24:08.595132', job_id='26884515', GAL2='0.95', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1779233048.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.90e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='928' AND source_name='4FGL J2118.2+5752' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 16:24:08 PDT 2026

