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

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

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

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

Done.


Performing analysis on: 4FGL_J2005.1+7003_weekly_bin934
RA = 301.278, Dec = 70.0624
tmin = 803865601, tmax = 804470401
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='31214219', job_status='RUN', time_executed='2026-07-10 09:34:28.876995', time_epoch_executed='1783701268.88' WHERE source_name='4FGL J2005.1+7003' and cadence='weekly' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31214219

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31214219/ft1_4FGL_J2005.1+7003_weekly_bin934.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31214219/ft1_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31214219/ft1_filteredMKT_4FGL_J2005.1+7003_weekly_bin934.fits ra=301.278 dec=70.0624 rad=12.0 tmin=803865601.0 tmax=804470401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.01
user 3.23
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.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/31214219/ft1_filteredMKT_4FGL_J2005.1+7003_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 7969

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

 outfile=/lscratch/kocevski/31214219/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
.....................!
real 21.95
user 21.16
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31214219/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31214219/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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/31214219/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
.....................!
real 76.32
user 71.04
sys 4.33

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 193 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2005.1+7003 @ 301.278 70.0624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31214219/cmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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=301.278 yref=70.0624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31214219/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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=301.278 yref=70.0624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits evtnumber of points = 17538
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2005.1+7003_weekly_bin934
RA = 301.278, Dec = 70.0624
tmin = 803865601, tmax = 804470401
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='31215320', job_status='RUN', time_executed='2026-07-10 09:39:25.734160', time_epoch_executed='1783701565.73' WHERE source_name='4FGL J2005.1+7003' and cadence='weekly' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31215320

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31215320/ft1_4FGL_J2005.1+7003_weekly_bin934.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31215320/ft1_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31215320/ft1_filteredMKT_4FGL_J2005.1+7003_weekly_bin934.fits ra=301.278 dec=70.0624 rad=12.0 tmin=803865601.0 tmax=804470401.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 3.56
user 3.04
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.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/31215320/ft1_filteredMKT_4FGL_J2005.1+7003_weekly_bin934.fits evtable="EVENTS" outfile="/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 7969

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA"able="EVENTS" scfile=/lscratch/kocevski/31211803/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31211803/Model_4FGL_J2005.1+7003_weekly_bin934.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/31211803/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits.....................!
real 365.18
user 362.39
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31211803/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits', '/lscratch/kocevski/31211803/ft2_4FGL_J2005.1+7003_weekly_bin934.fits', expMap='/lscratch/kocevski/31211803/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', expCube='/lscratch/kocevski/31211803/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31211803/Model_4FGL_J2005.1+7003_weekly_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31211803/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits
Spacecraft file(s): /lscratch/kocevski/31211803/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure map: /lscratch/kocevski/31211803/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure cube: /lscratch/kocevski/31211803/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31211803/Model_4FGL_J2005.1+7003_weekly_bin934.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) = 78776.2323169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90410       1.0000          .0000       .10000E+07
     2 'norm      '    6.3900       1.0000          .0000       .10000E+07
     3 'norm      '    5.1231       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55962E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0689       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15663E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.954       1.0000          .0000       .10000E+07
     8 'norm      '    2.2435       1.0000          .0000       .10000E+07
     9 'norm      '    2.5513       1.0000          .0000       .10000E+07
    10 'norm      '    1.8047       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9573       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53430       1.0000          .0000       .10000E+07
    13 'norm      '    3.7699       1.0000          .0000       .10000E+07
    14 'norm      '    27.081       1.0000          .0000       .10000E+07
    15 'norm      '    .97871       1.0000          .0000       .10000E+07
    16 'norm      '    3.4647       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    18 'norm      '    .76805       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.136 outfile=/lscratch/kocevski/31215320/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
.....................!
real 20.16
user 19.55
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits evtable="EVENTS" scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31215320/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31215320/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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/31215320/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
.....................!
real 72.88
user 68.01
sys 4.22

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 193 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2005.1+7003 @ 301.278 70.0624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31215320/cmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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=301.278 yref=70.0624 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.69
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits outfile=/lscratch/kocevski/31215320/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.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=301.278 yref=70.0624 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.67
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits evt       1.0000          .0000       .10000E+07
    20 'norm      '    1.8611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37413E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.4549       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   78776.16     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1594 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90170        .96333       -.18301E-07   -.19284E-02
   2  norm          6.3904        .63409       -.17825E-07   -.26589E-01
   3  norm          5.1276        1.8564        .60098E-08    .43860E-04
   4  Prefactor     .10103E-07    16.957       -.51576E-06** at limit **
   5  Prefactor     1.0729        2.1318        .26704E-07    .41806E-03
   6  Prefactor     .49960E-09    5.8078        .38574E-06** at limit **
   7  Prefactor     25.683        4.5312        .57677E-08    .42582E-01
   8  norm          2.2416        1.1974        .34928E-07    .49650E-02
   9  norm          2.5498        1.5922       -.36866E-08   -.10638E-02
  10  norm          1.8262        3.8802       -.57510E-07   -.52439E-03
  11  Prefactor     5.9281        4.5290        .60546E-08   -.98945E-01
  12  Prefactor     .53474        1.6546       -.61105E-07   -.25958E-02
  13  norm          3.7672        .74477        .39170E-08   -.57217E-03
  14  norm          27.198        9.9658       -.88055E-07    .41218E-01
  15  norm          .98006        1.1711       -.42782E-07   -.75703E-02
  16  norm          3.4563        4.5359        .52336E-07    .26003E-02
  17  Prefactor     16.787        8.9859       -.67904E-07   -.86406E-02
  18  norm          .76709        .90281       -.51263E-07   -.53200E-02
  19  Prefactor     24.129        6.1202        .37316E-07    .11625    
  20  norm          1.8596        2.5571        .10008E-06    .20777E-02
  21  Prefactor      .0000        3.2409        .63717E-07** at limit **
  22  Prefactor     2.4317        6.8923        .19956E-06   -.11295E-01
  23  Normalizat    1.0130        .96487E-01   -.13418E-05   -.19556E-03
  24  Prefactor     1.0090        .22239E-01    .56884E-07   -.50036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.901695
  norm       = 6.39038
  norm       = 5.12757
  Prefactor  = 1.0103e-08
  Prefactor  = 1.07294
  Prefactor  = 4.996e-10
  Prefactor  = 25.6833
  norm       = 2.24157
  norm       = 2.54983
  norm       = 1.82625
  Prefactor  = 5.9281
  Prefactor  = 0.534737
  norm       = 3.76724
  norm       = 27.1976
  norm       = 0.980062
  norm       = 3.45631
  Prefactor  = 16.787
  norm       = 0.767094
  Prefactor  = 24.1289
  norm       = 1.85957
  Prefactor  = 0
  Prefactor  = 2.43167
  Normalizat = 1.01302
  Prefactor  = 1.00899
able="EVENTS" scfile=/lscratch/kocevski/31211892/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31211892/Model_4FGL_J2005.1+7003_weekly_bin934.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/31211892/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits.....................!
real 388.11
user 384.60
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31211892/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits', '/lscratch/kocevski/31211892/ft2_4FGL_J2005.1+7003_weekly_bin934.fits', expMap='/lscratch/kocevski/31211892/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', expCube='/lscratch/kocevski/31211892/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31211892/Model_4FGL_J2005.1+7003_weekly_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31211892/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits
Spacecraft file(s): /lscratch/kocevski/31211892/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure map: /lscratch/kocevski/31211892/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure cube: /lscratch/kocevski/31211892/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31211892/Model_4FGL_J2005.1+7003_weekly_bin934.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) = 78776.2323169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90410       1.0000          .0000       .10000E+07
     2 'norm      '    6.3900       1.0000          .0000       .10000E+07
     3 'norm      '    5.1231       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55962E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0689       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15663E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.954       1.0000          .0000       .10000E+07
     8 'norm      '    2.2435       1.0000          .0000       .10000E+07
     9 'norm      '    2.5513       1.0000          .0000       .10000E+07
    10 'norm      '    1.8047       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9573       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53430       1.0000          .0000       .10000E+07
    13 'norm      '    3.7699       1.0000          .0000       .10000E+07
    14 'norm      '    27.081       1.0000          .0000       .10000E+07
    15 'norm      '    .97871       1.0000          .0000       .10000E+07
    16 'norm      '    3.4647       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    18 'norm      '    .76805       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.136       1.0000          .0000       .10000E+07
    20 'norm      '    1.8611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37413E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.4549       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   78776.16     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1594 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90170        .96333       -.18301E-07   -.19284E-02
   2  norm          6.3904        .63409       -.17825E-07   -.26589E-01
   3  norm          5.1276        1.8564        .60098E-08    .43860E-04
   4  Prefactor     .10103E-07    16.957       -.51576E-06** at limit **
   5  Prefactor     1.0729        2.1318        .26704E-07    .41806E-03
   6  Prefactor     .49960E-09    5.8078        .38574E-06** at limit **
   7  Prefactor     25.683        4.5312        .57677E-08    .42582E-01
   8  norm          2.2416        1.1974        .34928E-07    .49650E-02
   9  norm          2.5498        1.5922       -.36866E-08   -.10638E-02
  10  norm          1.8262        3.8802       -.57510E-07   -.52439E-03
  11  Prefactor     5.9281        4.5290        .60546E-08   -.98945E-01
  12  Prefactor     .53474        1.6546       -.61105E-07   -.25958E-02
  13  norm          3.7672        .74477        .39170E-08   -.57217E-03
  14  norm          27.198        9.9658       -.88055E-07    .41218E-01
  15  norm          .98006        1.1711       -.42782E-07   -.75703E-02
  16  norm          3.4563        4.5359        .52336E-07    .26003E-02
  17  Prefactor     16.787        8.9859       -.67904E-07   -.86406E-02
  18  norm          .76709        .90281       -.51263E-07   -.53200E-02
  19  Prefactor     24.129        6.1202        .37316E-07    .11625    
  20  norm          1.8596        2.5571        .10008E-06    .20777E-02
  21  Prefactor      .0000        3.2409        .63717E-07** at limit **
  22  Prefactor     2.4317        6.8923        .19956E-06   -.11295E-01
  23  Normalizat    1.0130        .96487E-01   -.13418E-05   -.19556E-03
  24  Prefactor     1.0090        .22239E-01    .56884E-07   -.50036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.901695
  norm       = 6.39038
  norm       = 5.12757
  Prefactor  = 1.0103e-08
  Prefactor  = 1.07294
  Prefactor  = 4.996e-10
  Prefactor  = 25.6833
  norm       = 2.24157
  norm       = 2.54983
  norm       = 1.82625
  Prefactor  = 5.9281
  Prefactor  = 0.534737
  norm       = 3.76724
  norm       = 27.1976
  norm       = 0.980062
  norm       = 3.45631
  Prefactor  = 16.787
  norm       = 0.767094
  Prefactor  = 24.1289
  norm       = 1.85957
  Prefactor  = 0
  Prefactor  = 2.43167
  Normalizat = 1.01302
  Prefactor  = 1.00899
able="EVENTS" scfile=/lscratch/kocevski/31212378/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31212378/Model_4FGL_J2005.1+7003_weekly_bin934.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/31212378/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits.....................!
real 392.89
user 389.20
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31212378/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits', '/lscratch/kocevski/31212378/ft2_4FGL_J2005.1+7003_weekly_bin934.fits', expMap='/lscratch/kocevski/31212378/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', expCube='/lscratch/kocevski/31212378/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31212378/Model_4FGL_J2005.1+7003_weekly_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31212378/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits
Spacecraft file(s): /lscratch/kocevski/31212378/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure map: /lscratch/kocevski/31212378/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure cube: /lscratch/kocevski/31212378/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31212378/Model_4FGL_J2005.1+7003_weekly_bin934.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) = 78776.2323169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90410       1.0000          .0000       .10000E+07
     2 'norm      '    6.3900       1.0000          .0000       .10000E+07
     3 'norm      '    5.1231       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55962E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0689       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15663E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.954       1.0000          .0000       .10000E+07
     8 'norm      '    2.2435       1.0000          .0000       .10000E+07
     9 'norm      '    2.5513       1.0000          .0000       .10000E+07
    10 'norm      '    1.8047       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9573       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53430       1.0000          .0000       .10000E+07
    13 'norm      '    3.7699       1.0000          .0000       .10000E+07
    14 'norm      '    27.081       1.0000          .0000       .10000E+07
    15 'norm      '    .97871       1.0000          .0000       .10000E+07
    16 'norm      '    3.4647       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    18 'norm      '    .76805       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.136 **********
 **   18 **HESSE 
 **********

 FCN=   78776.16     FROM HESSE     STATUS=OK           471 CALLS     2065 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90170        .97192        .45477E-03   -1.5689    
   2  norm          6.3904        .63412        .39682E-03   -1.5657    
   3  norm          5.1276        1.8777        .44395E-03   -1.5663    
   4  Prefactor     .10103E-07    17.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0729        2.1622        .11759E-02   -1.5687    
   6  Prefactor     .49960E-09    5.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.683        19.796        .20023E-03   -1.5607    
   8  norm          2.2416        1.2111        .68585E-03   -1.5678    
   9  norm          2.5498        1.6055        .63898E-03   -1.5676    
  10  norm          1.8262        3.9592        .77766E-03   -1.5681    
  11  Prefactor     5.9281        6.4752        .41117E-03   -1.5659    
  12  Prefactor     .53474        1.6573        .75331E-03   -1.5693    
  13  norm          3.7672        .74763        .51971E-03   -1.5669    
  14  norm          27.198        14.133        .19220E-03   -1.5604    
  15  norm          .98006        1.1847        .43010E-03   -1.5688    
  16  norm          3.4563        4.5612        .54305E-03   -1.5671    
  17  Prefactor     16.787        9.0130        .24540E-03   -1.5626    
  18  norm          .76709        .91476        .55348E-03   -1.5690    
  19  Prefactor     24.129        6.7786        .20359E-03   -1.5610    
  20  norm          1.8596        2.5709        .76354E-03   -1.5681    
  21  Prefactor      .0000        .37911        .58609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4317        23.121        .65254E-03   -1.5677    
  23  Normalizat    1.0130        .94211E-01    .11906       -.92595    
  24  Prefactor     1.0090        .21553E-01    .30339E-01   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52531e-05
Minuit parameter uncertainties:
  1  0.971922
  2  0.634125
  3  1.87765
  4  0.000836968
  5  2.16222
  6  0.000107713
  7  19.7959
  8  1.21113
  9  1.6055
  10  3.95921
  11  6.47516
  12  1.6573
  13  0.74763
  14  14.1329
  15  1.18468
  16  4.56118
  17  9.01299
  18  0.914762
  19  6.77857
  20  2.57091
  21  2.13549e-06
  22  14.9964
  23  0.094226
  24  0.0215529
       1.0000          .0000       .10000E+07
    20 'norm      '    1.8611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37413E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.4549       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   78776.16     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1594 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90170        .96333       -.18301E-07   -.19284E-02
   2  norm          6.3904        .63409       -.17825E-07   -.26589E-01
   3  norm          5.1276        1.8564        .60098E-08    .43860E-04
   4  Prefactor     .10103E-07    16.957       -.51576E-06** at limit **
   5  Prefactor     1.0729        2.1318        .26704E-07    .41806E-03
   6  Prefactor     .49960E-09    5.8078        .38574E-06** at limit **
   7  Prefactor     25.683        4.5312        .57677E-08    .42582E-01
   8  norm          2.2416        1.1974        .34928E-07    .49650E-02
   9  norm          2.5498        1.5922       -.36866E-08   -.10638E-02
  10  norm          1.8262        3.8802       -.57510E-07   -.52439E-03
  11  Prefactor     5.9281        4.5290        .60546E-08   -.98945E-01
  12  Prefactor     .53474        1.6546       -.61105E-07   -.25958E-02
  13  norm          3.7672        .74477        .39170E-08   -.57217E-03
  14  norm          27.198        9.9658       -.88055E-07    .41218E-01
  15  norm          .98006        1.1711       -.42782E-07   -.75703E-02
  16  norm          3.4563        4.5359        .52336E-07    .26003E-02
  17  Prefactor     16.787        8.9859       -.67904E-07   -.86406E-02
  18  norm          .76709        .90281       -.51263E-07   -.53200E-02
  19  Prefactor     24.129        6.1202        .37316E-07    .11625    
  20  norm          1.8596        2.5571        .10008E-06    .20777E-02
  21  Prefactor      .0000        3.2409        .63717E-07** at limit **
  22  Prefactor     2.4317        6.8923        .19956E-06   -.11295E-01
  23  Normalizat    1.0130        .96487E-01   -.13418E-05   -.19556E-03
  24  Prefactor     1.0090        .22239E-01    .56884E-07   -.50036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.901695
  norm       = 6.39038
  norm       = 5.12757
  Prefactor  = 1.0103e-08
  Prefactor  = 1.07294
  Prefactor  = 4.996e-10
  Prefactor  = 25.6833
  norm       = 2.24157
  norm       = 2.54983
  norm       = 1.82625
  Prefactor  = 5.9281
  Prefactor  = 0.534737
  norm       = 3.76724
  norm       = 27.1976
  norm       = 0.980062
  norm       = 3.45631
  Prefactor  = 16.787
  norm       = 0.767094
  Prefactor  = 24.1289
  norm       = 1.85957
  Prefactor  = 0
  Prefactor  = 2.43167
  Normalizat = 1.01302
  Prefactor  = 1.00899
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.720e+01  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  9.423e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 301.278 70.062
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 6.85e-09 +/- 3.56e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 9.50e-06

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) = 78776.1279519
delta logL = 0.0293412815809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78776.1255338
delta logL = 0.0317594134249

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78776.13     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.317        14.717        .77986E-05    .58218E-02
   2  alpha         1.7510        .45058        .29691E-01    .17774E-03
   3  Normalizat    1.0129        .84554E-01    .52818E-03   -.27895E-03
   4  Prefactor     1.0088        .21646E-01    .13409E-03   -.11165E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3172
  alpha      = 1.751
  Normalizat = 1.01287
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   78776.13     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.317        14.285        .15597E-05   -1.5605    
   2  alpha         1.7510        .43828        .11876E-02   -.30427    
   3  Normalizat    1.0129        .84572E-01    .21127E-04   -.92601    
   4  Prefactor     1.0088        .21651E-01    .53634E-05   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75853e-10
Minuit parameter uncertainties:
  1  14.2853
  2  0.440786
  3  0.0845828
  4  0.0216513
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) = 78776.1255332
delta logL = 0.0317600047711

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.632e+01  1.429e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.751e+00  4.408e-01  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  8.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 301.278 70.062
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 7.84e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.08e-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/31211803/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-09', energy_flux2='1.65e-05', photon_flux_error='3.56e-09', dlogl='3.18e-02', energy_flux='1.83e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2026-07-10 09:51:31.900676', photon_index_error2='0.44', photon_index2='1.75', ts='10.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.01', time_epoch_completed='1783702291.9', return_code='0', job_id='31211803', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.78e-09', ts2='10.83', photon_index='1.64' WHERE bin_id='934' AND source_name='4FGL J2005.1+7003' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 09:51:32 PDT 2026

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

 FCN=   78776.16     FROM HESSE     STATUS=OK           471 CALLS     2065 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90170        .97192        .45477E-03   -1.5689    
   2  norm          6.3904        .63412        .39682E-03   -1.5657    
   3  norm          5.1276        1.8777        .44395E-03   -1.5663    
   4  Prefactor     .10103E-07    17.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0729        2.1622        .11759E-02   -1.5687    
   6  Prefactor     .49960E-09    5.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.683        19.796        .20023E-03   -1.5607    
   8  norm          2.2416        1.2111        .68585E-03   -1.5678    
   9  norm          2.5498        1.6055        .63898E-03   -1.5676    
  10  norm          1.8262        3.9592        .77766E-03   -1.5681    
  11  Prefactor     5.9281        6.4752        .41117E-03   -1.5659    
  12  Prefactor     .53474        1.6573        .75331E-03   -1.5693    
  13  norm          3.7672        .74763        .51971E-03   -1.5669    
  14  norm          27.198        14.133        .19220E-03   -1.5604    
  15  norm          .98006        1.1847        .43010E-03   -1.5688    
  16  norm          3.4563        4.5612        .54305E-03   -1.5671    
  17  Prefactor     16.787        9.0130        .24540E-03   -1.5626    
  18  norm          .76709        .91476        .55348E-03   -1.5690    
  19  Prefactor     24.129        6.7786        .20359E-03   -1.5610    
  20  norm          1.8596        2.5709        .76354E-03   -1.5681    
  21  Prefactor      .0000        .37911        .58609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4317        23.121        .65254E-03   -1.5677    
  23  Normalizat    1.0130        .94211E-01    .11906       -.92595    
  24  Prefactor     1.0090        .21553E-01    .30339E-01   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52531e-05
Minuit parameter uncertainties:
  1  0.971922
  2  0.634125
  3  1.87765
  4  0.000836968
  5  2.16222
  6  0.000107713
  7  19.7959
  8  1.21113
  9  1.6055
  10  3.95921
  11  6.47516
  12  1.6573
  13  0.74763
  14  14.1329
  15  1.18468
  16  4.56118
  17  9.01299
  18  0.914762
  19  6.77857
  20  2.57091
  21  2.13549e-06
  22  14.9964
  23  0.094226
  24  0.0215529
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.720e+01  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  9.423e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 301.278 70.062
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 6.85e-09 +/- 3.56e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 9.50e-06

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) = 78776.1279519
delta logL = 0.0293412815809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78776.1255338
delta logL = 0.0317594134249

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78776.13     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.317        14.717        .77986E-05    .58218E-02
   2  alpha         1.7510        .45058        .29691E-01    .17774E-03
   3  Normalizat    1.0129        .84554E-01    .52818E-03   -.27895E-03
   4  Prefactor     1.0088        .21646E-01    .13409E-03   -.11165E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3172
  alpha      = 1.751
  Normalizat = 1.01287
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   78776.13     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.317        14.285        .15597E-05   -1.5605    
   2  alpha         1.7510        .43828        .11876E-02   -.30427    
   3  Normalizat    1.0129        .84572E-01    .21127E-04   -.92601    
   4  Prefactor     1.0088        .21651E-01    .53634E-05   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75853e-10
Minuit parameter uncertainties:
  1  14.2853
  2  0.440786
  3  0.0845828
  4  0.0216513
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) = 78776.1255332
delta logL = 0.0317600047711

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.632e+01  1.429e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.751e+00  4.408e-01  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  8.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 301.278 70.062
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 7.84e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.08e-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/31211892/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-09', energy_flux2='1.65e-05', photon_flux_error='3.56e-09', dlogl='3.18e-02', energy_flux='1.83e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2026-07-10 09:53:50.041774', photon_index_error2='0.44', photon_index2='1.75', ts='10.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.01', time_epoch_completed='1783702430.04', return_code='0', job_id='31211892', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.78e-09', ts2='10.83', photon_index='1.64' WHERE bin_id='934' AND source_name='4FGL J2005.1+7003' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 09:53:50 PDT 2026

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

 FCN=   78776.16     FROM HESSE     STATUS=OK           471 CALLS     2065 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90170        .97192        .45477E-03   -1.5689    
   2  norm          6.3904        .63412        .39682E-03   -1.5657    
   3  norm          5.1276        1.8777        .44395E-03   -1.5663    
   4  Prefactor     .10103E-07    17.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0729        2.1622        .11759E-02   -1.5687    
   6  Prefactor     .49960E-09    5.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.683        19.796        .20023E-03   -1.5607    
   8  norm          2.2416        1.2111        .68585E-03   -1.5678    
   9  norm          2.5498        1.6055        .63898E-03   -1.5676    
  10  norm          1.8262        3.9592        .77766E-03   -1.5681    
  11  Prefactor     5.9281        6.4752        .41117E-03   -1.5659    
  12  Prefactor     .53474        1.6573        .75331E-03   -1.5693    
  13  norm          3.7672        .74763        .51971E-03   -1.5669    
  14  norm          27.198        14.133        .19220E-03   -1.5604    
  15  norm          .98006        1.1847        .43010E-03   -1.5688    
  16  norm          3.4563        4.5612        .54305E-03   -1.5671    
  17  Prefactor     16.787        9.0130        .24540E-03   -1.5626    
  18  norm          .76709        .91476        .55348E-03   -1.5690    
  19  Prefactor     24.129        6.7786        .20359E-03   -1.5610    
  20  norm          1.8596        2.5709        .76354E-03   -1.5681    
  21  Prefactor      .0000        .37911        .58609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4317        23.121        .65254E-03   -1.5677    
  23  Normalizat    1.0130        .94211E-01    .11906       -.92595    
  24  Prefactor     1.0090        .21553E-01    .30339E-01   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52531e-05
Minuit parameter uncertainties:
  1  0.971922
  2  0.634125
  3  1.87765
  4  0.000836968
  5  2.16222
  6  0.000107713
  7  19.7959
  8  1.21113
  9  1.6055
  10  3.95921
  11  6.47516
  12  1.6573
  13  0.74763
  14  14.1329
  15  1.18468
  16  4.56118
  17  9.01299
  18  0.914762
  19  6.77857
  20  2.57091
  21  2.13549e-06
  22  14.9964
  23  0.094226
  24  0.0215529
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.720e+01  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  9.423e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 301.278 70.062
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 6.85e-09 +/- 3.56e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 9.50e-06

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) = 78776.1279519
delta logL = 0.0293412815809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78776.1255338
delta logL = 0.0317594134249

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78776.13     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.317        14.717        .77986E-05    .58218E-02
   2  alpha         1.7510        .45058        .29691E-01    .17774E-03
   3  Normalizat    1.0129        .84554E-01    .52818E-03   -.27895E-03
   4  Prefactor     1.0088        .21646E-01    .13409E-03   -.11165E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3172
  alpha      = 1.751
  Normalizat = 1.01287
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   78776.13     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.317        14.285        .15597E-05   -1.5605    
   2  alpha         1.7510        .43828        .11876E-02   -.30427    
   3  Normalizat    1.0129        .84572E-01    .21127E-04   -.92601    
   4  Prefactor     1.0088        .21651E-01    .53634E-05   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75853e-10
Minuit parameter uncertainties:
  1  14.2853
  2  0.440786
  3  0.0845828
  4  0.0216513
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) = 78776.1255332
delta logL = 0.0317600047711

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.632e+01  1.429e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.751e+00  4.408e-01  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  8.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 301.278 70.062
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 7.84e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.08e-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/31212378/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-09', energy_flux2='1.65e-05', photon_flux_error='3.56e-09', dlogl='3.18e-02', energy_flux='1.83e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2026-07-10 09:56:34.348695', photon_index_error2='0.44', photon_index2='1.75', ts='10.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.01', time_epoch_completed='1783702594.35', return_code='0', job_id='31212378', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.78e-09', ts2='10.83', photon_index='1.64' WHERE bin_id='934' AND source_name='4FGL J2005.1+7003' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 09:56:34 PDT 2026

able="EVENTS" scfile=/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31214219/Model_4FGL_J2005.1+7003_weekly_bin934.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits.....................!
real 400.12
user 396.13
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits', '/lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits', expMap='/lscratch/kocevski/31214219/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', expCube='/lscratch/kocevski/31214219/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31214219/Model_4FGL_J2005.1+7003_weekly_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31214219/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits
Spacecraft file(s): /lscratch/kocevski/31214219/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure map: /lscratch/kocevski/31214219/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure cube: /lscratch/kocevski/31214219/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31214219/Model_4FGL_J2005.1+7003_weekly_bin934.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) = 78776.2323169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90410       1.0000          .0000       .10000E+07
     2 'norm      '    6.3900       1.0000          .0000       .10000E+07
     3 'norm      '    5.1231       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55962E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0689       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15663E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.954       1.0000          .0000       .10000E+07
     8 'norm      '    2.2435       1.0000          .0000       .10000E+07
     9 'norm      '    2.5513       1.0000          .0000       .10000E+07
    10 'norm      '    1.8047       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9573       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53430       1.0000          .0000       .10000E+07
    13 'norm      '    3.7699       1.0000          .0000       .10000E+07
    14 'norm      '    27.081       1.0000          .0000       .10000E+07
    15 'norm      '    .97871       1.0000          .0000       .10000E+07
    16 'norm      '    3.4647       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    18 'norm      '    .76805       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.136       1.0000          .0000       .10000E+07
    20 'norm      '    1.8611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37413E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.4549       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   78776.16     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1594 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90170        .96333       -.18301E-07   -.19284E-02
   2  norm          6.3904        .63409       -.17825E-07   -.26589E-01
   3  norm          5.1276        1.8564        .60098E-08    .43860E-04
   4  Prefactor     .10103E-07    16.957       -.51576E-06** at limit **
   5  Prefactor     1.0729        2.1318        .26704E-07    .41806E-03
   6  Prefactor     .49960E-09    5.8078        .38574E-06** at limit **
   7  Prefactor     25.683        4.5312        .57677E-08    .42582E-01
   8  norm          2.2416        1.1974        .34928E-07    .49650E-02
   9  norm          2.5498        1.5922       -.36866E-08   -.10638E-02
  10  norm          1.8262        3.8802       -.57510E-07   -.52439E-03
  11  Prefactor     5.9281        4.5290        .60546E-08   -.98945E-01
  12  Prefactor     .53474        1.6546       -.61105E-07   -.25958E-02
  13  norm          3.7672        .74477        .39170E-08   -.57217E-03
  14  norm          27.198        9.9658       -.88055E-07    .41218E-01
  15  norm          .98006        1.1711       -.42782E-07   -.75703E-02
  16  norm          3.4563        4.5359        .52336E-07    .26003E-02
  17  Prefactor     16.787        8.9859       -.67904E-07   -.86406E-02
  18  norm          .76709        .90281       -.51263E-07   -.53200E-02
  19  Prefactor     24.129        6.1202        .37316E-07    .11625    
  20  norm          1.8596        2.5571        .10008E-06    .20777E-02
  21  Prefactor      .0000        3.2409        .63717E-07** at limit **
  22  Prefactor     2.4317        6.8923        .19956E-06   -.11295E-01
  23  Normalizat    1.0130        .96487E-01   -.13418E-05   -.19556E-03
  24  Prefactor     1.0090        .22239E-01    .56884E-07   -.50036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.901695
  norm       = 6.39038
  norm       = 5.12757
  Prefactor  = 1.0103e-08
  Prefactor  = 1.07294
  Prefactor  = 4.996e-10
  Prefactor  = 25.6833
  norm       = 2.24157
  norm       = 2.54983
  norm       = 1.82625
  Prefactor  = 5.9281
  Prefactor  = 0.534737
  norm       = 3.76724
  norm       = 27.1976
  norm       = 0.980062
  norm       = 3.45631
  Prefactor  = 16.787
  norm       = 0.767094
  Prefactor  = 24.1289
  norm       = 1.85957
  Prefactor  = 0
  Prefactor  = 2.43167
  Normalizat = 1.01302
  Prefactor  = 1.00899
able="EVENTS" scfile=/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31215320/Model_4FGL_J2005.1+7003_weekly_bin934.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 EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
adding source HB 21
Working on...
/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits.....................!
real 401.90
user 398.57
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits', '/lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits', expMap='/lscratch/kocevski/31215320/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', expCube='/lscratch/kocevski/31215320/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31215320/Model_4FGL_J2005.1+7003_weekly_bin934.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.1+7003'

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  5.049e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31215320/ft1_filtered_4FGL_J2005.1+7003_weekly_bin934.fits
Spacecraft file(s): /lscratch/kocevski/31215320/ft2_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure map: /lscratch/kocevski/31215320/expmap_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
Exposure cube: /lscratch/kocevski/31215320/ltcube_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31215320/Model_4FGL_J2005.1+7003_weekly_bin934.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) = 78776.2323169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90410       1.0000          .0000       .10000E+07
     2 'norm      '    6.3900       1.0000          .0000       .10000E+07
     3 'norm      '    5.1231       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55962E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0689       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15663E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.954       1.0000          .0000       .10000E+07
     8 'norm      '    2.2435       1.0000          .0000       .10000E+07
     9 'norm      '    2.5513       1.0000          .0000       .10000E+07
    10 'norm      '    1.8047       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.9573       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53430       1.0000          .0000       .10000E+07
    13 'norm      '    3.7699       1.0000          .0000       .10000E+07
    14 'norm      '    27.081       1.0000          .0000       .10000E+07
    15 'norm      '    .97871       1.0000          .0000       .10000E+07
    16 'norm      '    3.4647       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    18 'norm      '    .76805       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.136 **********
 **   18 **HESSE 
 **********

 FCN=   78776.16     FROM HESSE     STATUS=OK           471 CALLS     2065 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90170        .97192        .45477E-03   -1.5689    
   2  norm          6.3904        .63412        .39682E-03   -1.5657    
   3  norm          5.1276        1.8777        .44395E-03   -1.5663    
   4  Prefactor     .10103E-07    17.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0729        2.1622        .11759E-02   -1.5687    
   6  Prefactor     .49960E-09    5.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.683        19.796        .20023E-03   -1.5607    
   8  norm          2.2416        1.2111        .68585E-03   -1.5678    
   9  norm          2.5498        1.6055        .63898E-03   -1.5676    
  10  norm          1.8262        3.9592        .77766E-03   -1.5681    
  11  Prefactor     5.9281        6.4752        .41117E-03   -1.5659    
  12  Prefactor     .53474        1.6573        .75331E-03   -1.5693    
  13  norm          3.7672        .74763        .51971E-03   -1.5669    
  14  norm          27.198        14.133        .19220E-03   -1.5604    
  15  norm          .98006        1.1847        .43010E-03   -1.5688    
  16  norm          3.4563        4.5612        .54305E-03   -1.5671    
  17  Prefactor     16.787        9.0130        .24540E-03   -1.5626    
  18  norm          .76709        .91476        .55348E-03   -1.5690    
  19  Prefactor     24.129        6.7786        .20359E-03   -1.5610    
  20  norm          1.8596        2.5709        .76354E-03   -1.5681    
  21  Prefactor      .0000        .37911        .58609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4317        23.121        .65254E-03   -1.5677    
  23  Normalizat    1.0130        .94211E-01    .11906       -.92595    
  24  Prefactor     1.0090        .21553E-01    .30339E-01   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52531e-05
Minuit parameter uncertainties:
  1  0.971922
  2  0.634125
  3  1.87765
  4  0.000836968
  5  2.16222
  6  0.000107713
  7  19.7959
  8  1.21113
  9  1.6055
  10  3.95921
  11  6.47516
  12  1.6573
  13  0.74763
  14  14.1329
  15  1.18468
  16  4.56118
  17  9.01299
  18  0.914762
  19  6.77857
  20  2.57091
  21  2.13549e-06
  22  14.9964
  23  0.094226
  24  0.0215529
       1.0000          .0000       .10000E+07
    20 'norm      '    1.8611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .37413E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.4549       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0090       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   78776.16     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1594 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90170        .96333       -.18301E-07   -.19284E-02
   2  norm          6.3904        .63409       -.17825E-07   -.26589E-01
   3  norm          5.1276        1.8564        .60098E-08    .43860E-04
   4  Prefactor     .10103E-07    16.957       -.51576E-06** at limit **
   5  Prefactor     1.0729        2.1318        .26704E-07    .41806E-03
   6  Prefactor     .49960E-09    5.8078        .38574E-06** at limit **
   7  Prefactor     25.683        4.5312        .57677E-08    .42582E-01
   8  norm          2.2416        1.1974        .34928E-07    .49650E-02
   9  norm          2.5498        1.5922       -.36866E-08   -.10638E-02
  10  norm          1.8262        3.8802       -.57510E-07   -.52439E-03
  11  Prefactor     5.9281        4.5290        .60546E-08   -.98945E-01
  12  Prefactor     .53474        1.6546       -.61105E-07   -.25958E-02
  13  norm          3.7672        .74477        .39170E-08   -.57217E-03
  14  norm          27.198        9.9658       -.88055E-07    .41218E-01
  15  norm          .98006        1.1711       -.42782E-07   -.75703E-02
  16  norm          3.4563        4.5359        .52336E-07    .26003E-02
  17  Prefactor     16.787        8.9859       -.67904E-07   -.86406E-02
  18  norm          .76709        .90281       -.51263E-07   -.53200E-02
  19  Prefactor     24.129        6.1202        .37316E-07    .11625    
  20  norm          1.8596        2.5571        .10008E-06    .20777E-02
  21  Prefactor      .0000        3.2409        .63717E-07** at limit **
  22  Prefactor     2.4317        6.8923        .19956E-06   -.11295E-01
  23  Normalizat    1.0130        .96487E-01   -.13418E-05   -.19556E-03
  24  Prefactor     1.0090        .22239E-01    .56884E-07   -.50036E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.901695
  norm       = 6.39038
  norm       = 5.12757
  Prefactor  = 1.0103e-08
  Prefactor  = 1.07294
  Prefactor  = 4.996e-10
  Prefactor  = 25.6833
  norm       = 2.24157
  norm       = 2.54983
  norm       = 1.82625
  Prefactor  = 5.9281
  Prefactor  = 0.534737
  norm       = 3.76724
  norm       = 27.1976
  norm       = 0.980062
  norm       = 3.45631
  Prefactor  = 16.787
  norm       = 0.767094
  Prefactor  = 24.1289
  norm       = 1.85957
  Prefactor  = 0
  Prefactor  = 2.43167
  Normalizat = 1.01302
  Prefactor  = 1.00899
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.720e+01  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  9.423e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 301.278 70.062
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 6.85e-09 +/- 3.56e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 9.50e-06

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) = 78776.1279519
delta logL = 0.0293412815809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78776.1255338
delta logL = 0.0317594134249

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78776.13     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.317        14.717        .77986E-05    .58218E-02
   2  alpha         1.7510        .45058        .29691E-01    .17774E-03
   3  Normalizat    1.0129        .84554E-01    .52818E-03   -.27895E-03
   4  Prefactor     1.0088        .21646E-01    .13409E-03   -.11165E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3172
  alpha      = 1.751
  Normalizat = 1.01287
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   78776.13     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.317        14.285        .15597E-05   -1.5605    
   2  alpha         1.7510        .43828        .11876E-02   -.30427    
   3  Normalizat    1.0129        .84572E-01    .21127E-04   -.92601    
   4  Prefactor     1.0088        .21651E-01    .53634E-05   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75853e-10
Minuit parameter uncertainties:
  1  14.2853
  2  0.440786
  3  0.0845828
  4  0.0216513
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) = 78776.1255332
delta logL = 0.0317600047711

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.632e+01  1.429e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.751e+00  4.408e-01  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  8.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 301.278 70.062
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 7.84e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.08e-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/31214219/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-09', energy_flux2='1.65e-05', photon_flux_error='3.56e-09', dlogl='3.18e-02', energy_flux='1.83e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2026-07-10 10:09:22.239741', photon_index_error2='0.44', photon_index2='1.75', ts='10.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.01', time_epoch_completed='1783703362.24', return_code='0', job_id='31214219', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.78e-09', ts2='10.83', photon_index='1.64' WHERE bin_id='934' AND source_name='4FGL J2005.1+7003' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 10:09:22 PDT 2026

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

 FCN=   78776.16     FROM HESSE     STATUS=OK           471 CALLS     2065 TOTAL
                     EDM=   .55E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90170        .97192        .45477E-03   -1.5689    
   2  norm          6.3904        .63412        .39682E-03   -1.5657    
   3  norm          5.1276        1.8777        .44395E-03   -1.5663    
   4  Prefactor     .10103E-07    17.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0729        2.1622        .11759E-02   -1.5687    
   6  Prefactor     .49960E-09    5.7953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.683        19.796        .20023E-03   -1.5607    
   8  norm          2.2416        1.2111        .68585E-03   -1.5678    
   9  norm          2.5498        1.6055        .63898E-03   -1.5676    
  10  norm          1.8262        3.9592        .77766E-03   -1.5681    
  11  Prefactor     5.9281        6.4752        .41117E-03   -1.5659    
  12  Prefactor     .53474        1.6573        .75331E-03   -1.5693    
  13  norm          3.7672        .74763        .51971E-03   -1.5669    
  14  norm          27.198        14.133        .19220E-03   -1.5604    
  15  norm          .98006        1.1847        .43010E-03   -1.5688    
  16  norm          3.4563        4.5612        .54305E-03   -1.5671    
  17  Prefactor     16.787        9.0130        .24540E-03   -1.5626    
  18  norm          .76709        .91476        .55348E-03   -1.5690    
  19  Prefactor     24.129        6.7786        .20359E-03   -1.5610    
  20  norm          1.8596        2.5709        .76354E-03   -1.5681    
  21  Prefactor      .0000        .37911        .58609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4317        23.121        .65254E-03   -1.5677    
  23  Normalizat    1.0130        .94211E-01    .11906       -.92595    
  24  Prefactor     1.0090        .21553E-01    .30339E-01   -.92430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52531e-05
Minuit parameter uncertainties:
  1  0.971922
  2  0.634125
  3  1.87765
  4  0.000836968
  5  2.16222
  6  0.000107713
  7  19.7959
  8  1.21113
  9  1.6055
  10  3.95921
  11  6.47516
  12  1.6573
  13  0.74763
  14  14.1329
  15  1.18468
  16  4.56118
  17  9.01299
  18  0.914762
  19  6.77857
  20  2.57091
  21  2.13549e-06
  22  14.9964
  23  0.094226
  24  0.0215529
Done.

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

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.720e+01  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.155e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  9.423e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 301.278 70.062
Photon Index (Fixed Index): 1.64 +/- 0.00
Photon Flux (Fixed Index): 6.85e-09 +/- 3.56e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 9.50e-06

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) = 78776.1279519
delta logL = 0.0293412815809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 78776.1255338
delta logL = 0.0317594134249

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   78776.13     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      250 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.317        14.717        .77986E-05    .58218E-02
   2  alpha         1.7510        .45058        .29691E-01    .17774E-03
   3  Normalizat    1.0129        .84554E-01    .52818E-03   -.27895E-03
   4  Prefactor     1.0088        .21646E-01    .13409E-03   -.11165E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3172
  alpha      = 1.751
  Normalizat = 1.01287
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   78776.13     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.317        14.285        .15597E-05   -1.5605    
   2  alpha         1.7510        .43828        .11876E-02   -.30427    
   3  Normalizat    1.0129        .84572E-01    .21127E-04   -.92601    
   4  Prefactor     1.0088        .21651E-01    .53634E-05   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75853e-10
Minuit parameter uncertainties:
  1  14.2853
  2  0.440786
  3  0.0845828
  4  0.0216513
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) = 78776.1255332
delta logL = 0.0317600047711

Extracting fit parameters...

4FGL J2005.1+7003
   Spectrum: LogParabola
354         norm:  2.632e+01  1.429e+01  0.000e+00  1.000e+06 ( 1.000e-14)
355        alpha:  1.751e+00  4.408e-01  0.000e+00  5.000e+00 ( 1.000e+00)
356         beta:  1.694e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
357           Eb:  3.789e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.009e+00  2.165e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
645   Normalization:  1.013e+00  8.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 301.278 70.062
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 7.84e-09 +/- 5.78e-09
Energy Flux (Free Index): 1.65e-05 +/- 1.08e-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/31215320/cmap_HighResolution_803865601_804470401_4FGL_J2005.1+7003_weekly_bin934.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-09', energy_flux2='1.65e-05', photon_flux_error='3.56e-09', dlogl='3.18e-02', energy_flux='1.83e-05', photon_flux2='7.84e-09', job_status='DONE', time_completed='2026-07-10 10:14:19.254058', photon_index_error2='0.44', photon_index2='1.75', ts='10.76', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.01', time_epoch_completed='1783703659.25', return_code='0', job_id='31215320', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.78e-09', ts2='10.83', photon_index='1.64' WHERE bin_id='934' AND source_name='4FGL J2005.1+7003' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 10:14:19 PDT 2026

