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


Performing analysis on: 4FGL_J2038.7+5117_weekly_bin938
RA = 309.694, Dec = 51.2851
tmin = 806284801, tmax = 806889601
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='33477360', job_status='RUN', time_executed='2026-07-28 17:57:33.111061', time_epoch_executed='1785286653.11' WHERE source_name='4FGL J2038.7+5117' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33477360

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33477360/ft1_4FGL_J2038.7+5117_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33477360/ft1_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477360/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits ra=309.694 dec=51.2851 rad=12.0 tmin=806284801.0 tmax=806889601.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.50
user 4.26
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.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/33477360/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.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.95
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 13756

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.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.
.............!
real 18.26
user 17.13
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33477260/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477260/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477260/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 68.58
user 63.40
sys 3.92

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 HB 21 in ROI with RadialDisk spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
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 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.
Added 197 point sources and 8 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 J2038.7+5117 @ 309.694 51.2851

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477260/cmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.08
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477260/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hp
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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

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

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


Performing analysis on: 4FGL_J2038.7+5117_weekly_bin938
RA = 309.694, Dec = 51.2851
tmin = 806284801, tmax = 806889601
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='33477274', job_status='RUN', time_executed='2026-07-28 17:57:15.700811', time_epoch_executed='1785286635.7' WHERE source_name='4FGL J2038.7+5117' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33477274

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33477274/ft1_4FGL_J2038.7+5117_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33477274/ft1_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477274/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits ra=309.694 dec=51.2851 rad=12.0 tmin=806284801.0 tmax=806889601.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.40
user 4.64
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.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/33477274/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.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.81
user 0.27
sys 0.17

Number of photons that the gtmktime cut: 13756

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA"" outfile=/lscratch/kocevski/33477360/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 16.27
user 15.26
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33477360/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477360/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477360/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 60.39
user 55.77
sys 3.51

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 HB 21 in ROI with RadialDisk spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
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 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.
Added 197 point sources and 8 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 J2038.7+5117 @ 309.694 51.2851

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477360/cmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477360/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.25
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33475736/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33475736/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33475736/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33475736/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 950.03
user 943.01
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33475736/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33475736/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33475736/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33475736/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33475736/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33475736/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33475736/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33475736/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33475736/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33475736/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051      outfile=/lscratch/kocevski/33477274/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 20.24
user 18.32
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33477274/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477274/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477274/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 77.12
user 71.08
sys 4.48

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 HB 21 in ROI with RadialDisk spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
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 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.
Added 197 point sources and 8 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 J2038.7+5117 @ 309.694 51.2851

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477274/cmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.50
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477274/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hp  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2038.7+5117_weekly_bin938
RA = 309.694, Dec = 51.2851
tmin = 806284801, tmax = 806889601
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='33477811', job_status='RUN', time_executed='2026-07-28 18:05:33.610763', time_epoch_executed='1785287133.61' WHERE source_name='4FGL J2038.7+5117' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33477811

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33477811/ft1_4FGL_J2038.7+5117_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33477811/ft1_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477811/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits ra=309.694 dec=51.2851 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.92
user 4.89
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.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/33477811/ft1_filteredMKT_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.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.94
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 13756

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33477811/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 18.41
user 17.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33477811/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477811/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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/33477811/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
.....................!
real 68.44
user 63.39
sys 3.84

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 HB 21 in ROI with RadialDisk spatial model.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
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 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.
Added 197 point sources and 8 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 J2038.7+5117 @ 309.694 51.2851

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477811/cmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.86
user 0.23
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits outfile=/lscratch/kocevski/33477811/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.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=309.694 yref=51.2851 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.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33476491/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33476491/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33476491/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33476491/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 932.78
user 925.08
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33476491/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33476491/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33476491/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33476491/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33476491/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33476491/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33476491/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33476491/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33476491/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33476491/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     px_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.91
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33476531/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33476531/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33476531/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33476531/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 928.88
user 921.69
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33476531/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33476531/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33476531/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33476531/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33476531/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33476531/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33476531/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33476531/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33476531/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33476531/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33475736/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33475736/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:19:38.343837', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785287978.34', return_code='0', job_id='33475736', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:19:38 PDT 2026

px_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.29
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33476894/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33476894/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33476894/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33476894/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 820.32
user 815.09
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33476894/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33476894/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33476894/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33476894/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33476894/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33476894/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33476894/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33476894/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33476894/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33476894/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051      **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
px_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.21
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477084/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477084/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477084/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477084/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 819.45
user 814.76
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477084/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477084/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477084/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477084/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477084/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477084/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477084/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477084/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477084/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477084/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     px_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.12
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33476949/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33476949/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33476949/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33476949/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 944.15
user 936.27
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33476949/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33476949/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33476949/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33476949/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33476949/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33476949/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33476949/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33476949/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33476949/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33476949/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     px_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.19
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477079/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477079/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477079/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477079/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 829.06
user 823.46
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477079/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477079/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477079/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477079/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477079/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477079/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477079/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477079/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477079/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477079/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051      **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
px_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.33
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33476931/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33476931/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33476931/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33476931/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 988.91
user 981.41
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33476931/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33476931/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33476931/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33476931/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33476931/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33476931/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33476931/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33476931/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33476931/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33476931/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
px_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.28
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477360/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 823.35
user 817.24
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477360/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477360/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477360/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477360/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477360/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477360/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477360/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477360/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051      **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33476531/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33476491/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33476531/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:29:44.352176', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288584.35', return_code='0', job_id='33476531', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:29:44 PDT 2026

px_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.08
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477216/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477216/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477216/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477216/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 978.85
user 970.26
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477216/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477216/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477216/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477216/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477216/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477216/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477216/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477216/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477216/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477216/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     x_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.11
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477260/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 947.13
user 940.29
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477260/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477260/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477260/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477260/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477260/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477260/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477260/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477260/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051       **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
px_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.15
user 0.26
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477093/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477093/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477093/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477093/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 1018.29
user 1010.98
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477093/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477093/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477093/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477093/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477093/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477093/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477093/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477093/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477093/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477093/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051   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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33476491/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:30:10.211047', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288610.21', return_code='0', job_id='33476491', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:30:10 PDT 2026

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

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33476894/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33476894/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:31:28.031227', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288688.03', return_code='0', job_id='33476894', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:31:28 PDT 2026

    1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477084/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
x_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.32
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477274/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 1037.99
user 1029.24
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477274/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477274/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477274/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477274/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477274/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477274/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477274/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477274/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051     **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33476949/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477079/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477084/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:34:15.883682', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288855.88', return_code='0', job_id='33477084', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:34:16 PDT 2026

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

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33476949/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:34:38.204832', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288878.2', return_code='0', job_id='33476949', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:34:38 PDT 2026

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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477079/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:34:45.477073', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288885.48', return_code='0', job_id='33477079', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:34:45 PDT 2026

   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33476931/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33476931/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:36:37.932053', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785288997.93', return_code='0', job_id='33476931', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:36:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477360/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
px_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33477811/Model_4FGL_J2038.7+5117_weekly_bin938.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 Cygnus Loop
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/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits.....................!
real 971.61
user 964.06
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits', '/lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits', expMap='/lscratch/kocevski/33477811/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', expCube='/lscratch/kocevski/33477811/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33477811/Model_4FGL_J2038.7+5117_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2038.7+5117'

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  1.774e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33477811/ft1_filtered_4FGL_J2038.7+5117_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33477811/ft2_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33477811/expmap_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33477811/ltcube_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33477811/Model_4FGL_J2038.7+5117_weekly_bin938.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) = 122344.417129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.070       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     3 'norm      '    11.596       1.0000          .0000       .10000E+07
     4 'norm      '    1.6315       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4363       1.0000          .0000       .10000E+07
     7 'norm      '    12.759       1.0000          .0000       .10000E+07
     8 'norm      '    3.5027       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.731       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24951E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98051      **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477360/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:37:55.834956', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289075.83', return_code='0', job_id='33477360', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:37:56 PDT 2026

  1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122344.4     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.705        15.295       -.88599E-06    .17742E-01
   2  Prefactor     15.928        8.0793       -.22422E-05    .97883E-01
   3  norm          11.574        6.3048       -.17601E-05   -.91575E-01
   4  norm          1.6320        1.0150        .93729E-07   -.68510E-02
   5  Prefactor     2.3251        .15074        .25221E-06   -.99150E-02
   6  norm          3.4352        3.4827       -.47992E-06    .52305E-02
   7  norm          12.768        3.4033        .10321E-06   -.12667E-01
   8  norm          3.5037        2.3150        .27926E-06   -.93644E-02
   9  Prefactor     16.889        6.7514       -.61066E-06   -.13948    
  10  Prefactor      .0000        2.5933       -.23360E-06** at limit **
  11  Normalizat    1.0652        .14909        .10447E-04   -.69409E-04
  12  Prefactor     .98044        .14507E-01   -.34323E-08   -.71374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.7055
  Prefactor  = 15.9284
  norm       = 11.5743
  norm       = 1.63203
  Prefactor  = 2.32513
  norm       = 3.43517
  norm       = 12.7681
  norm       = 3.50371
  Prefactor  = 16.8886
  Prefactor  = 0
  Normalizat = 1.06524
  Prefactor  = 0.980438
 **********
 **   18 **HESSE 
 **********

 FCN=   122344.4     FROM HESSE     STATUS=OK           161 CALLS      766 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.705        15.379        .14577E-03   -1.5571    
   2  Prefactor     15.928        10.633        .25151E-03   -1.5628    
   3  norm          11.574        7.3256        .29394E-03   -1.5640    
   4  norm          1.6320        1.0216        .82752E-03   -1.5682    
   5  Prefactor     2.3251        .15126        .67245E-02   -1.5403    
   6  norm          3.4352        3.4875        .54539E-03   -1.5671    
   7  norm          12.768        3.4042        .28017E-03   -1.5636    
   8  norm          3.5037        2.3197        .53996E-03   -1.5671    
   9  Prefactor     16.889        8.5427        .24459E-03   -1.5626    
  10  Prefactor      .0000        2.5900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0652        .15577        .26776       -.90876    
  12  Prefactor     .98044        .14778E-01    .26828E-01   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47997e-07
Minuit parameter uncertainties:
  1  15.3792
  2  10.6331
  3  7.3256
  4  1.02156
  5  0.151259
  6  3.48751
  7  3.40416
  8  2.31971
  9  8.54273
  10  1.33079e-05
  11  0.155835
  12  0.0147781
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477260/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477216/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477260/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:42:15.307137', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289335.31', return_code='0', job_id='33477260', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:42:15 PDT 2026

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

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477216/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:42:33.110974', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289353.11', return_code='0', job_id='33477216', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:42:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477093/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477093/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:43:27.246127', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289407.25', return_code='0', job_id='33477093', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:43:27 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477274/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477274/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:46:17.509490', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289577.51', return_code='0', job_id='33477274', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:46:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.504e+00  2.320e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.804e-01  1.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.065e+00  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 7.57e-06

TS (Fixed Index): 3.85
Ra Dec: 309.694 51.285
Photon Flux Upper Limit: 6.40251984644e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75012306979e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33477811/likelihoodResults_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.289579
delta logL = 1.10634118544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122343.26777
delta logL = 1.12815079282

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   122343.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9407        2.3736        .50783E-03    .12232E-01
   2  alpha         1.4128        .48233        .47641       -.48262E-03
   3  Normalizat    1.0707        .14890        .26724        .57139E-03
   4  Prefactor     .98064        .14235E-01    .26826E-01   -.22695E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94074
  alpha      = 1.41281
  Normalizat = 1.07071
  Prefactor  = 0.980638
 **********
 **   18 **HESSE 
 **********

 FCN=   122343.3     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9407        2.4410        .20313E-04   -1.5668    
   2  alpha         1.4128        .53790        .71679E-01   -.44990    
   3  Normalizat    1.0707        .14345        .11986E-02   -.90698    
   4  Prefactor     .98064        .13936E-01    .11856E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95658e-10
Minuit parameter uncertainties:
  1  2.44099
  2  0.543158
  3  0.143504
  4  0.0139356
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) = 122343.267769
delta logL = 1.12815146316

Extracting fit parameters...

4FGL J2038.7+5117
   Spectrum: LogParabola
361         norm:  3.941e+00  2.441e+00  0.000e+00  1.000e+06 ( 1.000e-12)
362        alpha:  1.413e+00  5.432e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  3.077e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.005e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.806e-01  1.394e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.071e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 309.694 51.285
Photon Index (Free Index): 1.41 +/- 0.54
Photon Flux (Free Index): 1.31e-08 +/- 9.52e-09
Energy Flux (Free Index): 1.67e-05 +/- 1.12e-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/33477811/cmap_HighResolution_806284801_806889601_4FGL_J2038.7+5117_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.67e-05', photon_flux_error='1.76e-08', dlogl='1.13e+00', energy_flux='1.14e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2026-07-28 18:48:07.692955', photon_index_error2='0.54', photon_index2='1.41', ts='3.85', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.40e-08', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1785289687.69', return_code='0', job_id='33477811', GAL2='0.98', EG2='1.07', return_code2='0', energy_flux_error='7.57e-06', photon_flux_error2='9.52e-09', ts2='6.11', photon_index='2.35' WHERE bin_id='938' AND source_name='4FGL J2038.7+5117' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 18:48:08 PDT 2026

