/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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

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

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

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

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


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

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


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882012', job_status='RUN', time_executed='2026-05-19 15:01:24.095348', time_epoch_executed='1779228084.1' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882012

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882012/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 5.62
user 4.75
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

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


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882022', job_status='RUN', time_executed='2026-05-19 15:01:37.529137', time_epoch_executed='1779228097.53' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882022

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882022/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 5.58
user 4.93
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

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


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882045', job_status='RUN', time_executed='2026-05-19 15:02:24.907933', time_epoch_executed='1779228144.91' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882045

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882045/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 5.25
user 4.64
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA"outfile=/lscratch/kocevski/26882012/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 19.78
user 18.96
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882012/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882012/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882012/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 73.50
user 68.50
sys 4.19

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882012/cmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=301.815 yref=66.1178 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.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882012/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=301.815 yref=66.1178 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.70
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtanumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882081', job_status='RUN', time_executed='2026-05-19 15:03:25.167717', time_epoch_executed='1779228205.17' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882081

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882081/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 8.84
user 8.06
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26882022/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 20.09
user 19.04
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882022/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882022/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882022/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 73.15
user 68.27
sys 4.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882022/cmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=301.815 yref=66.1178 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.83
user 0.25
sys 0.14

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

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

This is gtbin version HEAD
real 0.86
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evt outfile=/lscratch/kocevski/26882045/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 18.92
user 18.19
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882045/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882045/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882045/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 70.08
user 65.23
sys 4.04

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882045/cmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=301.815 yref=66.1178 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.77
user 0.23
sys 0.14

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

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

This is gtbin version HEAD
real 1.01
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882092', job_status='RUN', time_executed='2026-05-19 15:04:23.259833', time_epoch_executed='1779228263.26' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882092

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882092/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 5.43
user 4.74
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

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


Performing analysis on: 4FGL_J2007.2+6607_weekly_bin928
RA = 301.815, Dec = 66.1178
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26882089', job_status='RUN', time_executed='2026-05-19 15:04:23.048491', time_epoch_executed='1779228263.05' WHERE source_name='4FGL J2007.2+6607' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26882089

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26882089/ft1_4FGL_J2007.2+6607_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits


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

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

Done.
real 5.42
user 4.69
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6785

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26882081/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 18.49
user 17.68
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882081/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882081/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882081/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 69.03
user 64.12
sys 4.01

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882081/cmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=301.815 yref=66.1178 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.25
sys 0.13

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

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

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evt outfile=/lscratch/kocevski/26882092/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 19.33
user 18.62
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882092/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882092/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882092/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882092/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 72.28
user 67.46
sys 4.09

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

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

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

This is gtbin version HEAD
real 1.10
user 0.25
sys 0.11

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

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882092/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evt outfile=/lscratch/kocevski/26882089/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 19.30
user 18.47
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26882089/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882089/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26882089/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
.....................!
real 70.52
user 65.22
sys 4.06

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source FHES J2208.4+6443 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 J2007.2+6607 @ 301.815 66.1178

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits scfile=/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits outfile=/lscratch/kocevski/26882089/cmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=301.815 yref=66.1178 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.24
sys 0.11

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

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

This is gtbin version HEAD
real 0.85
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882045/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 326.81
user 323.02
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882045/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882045/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882045/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882045/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882045/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882045/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882045/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882045/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.0ble="EVENTS" scfile=/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882012/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 346.65
user 343.22
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882012/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882012/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882012/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882012/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882012/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882012/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882012/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882012/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.00able="EVENTS" scfile=/lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882022/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 346.35
user 342.64
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882022/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882022/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882022/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882022/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882022/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882022/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882022/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882022/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.0able="EVENTS" scfile=/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882081/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 331.83
user 328.15
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882081/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882081/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882081/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882081/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882081/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882081/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882081/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882081/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
00          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
000          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
000          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
able="EVENTS" scfile=/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882089/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 328.01
user 324.38
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882089/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882089/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882089/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882089/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882089/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882089/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882089/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882089/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.0able="EVENTS" scfile=/lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26882092/Model_4FGL_J2007.2+6607_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source CTB 109
adding source 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/26882092/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits.....................!
real 334.98
user 331.60
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26882092/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits', '/lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits', expMap='/lscratch/kocevski/26882092/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', expCube='/lscratch/kocevski/26882092/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26882092/Model_4FGL_J2007.2+6607_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.2+6607'

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  5.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26882092/ft1_filtered_4FGL_J2007.2+6607_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26882092/ft2_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26882092/expmap_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26882092/ltcube_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26882092/Model_4FGL_J2007.2+6607_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6301       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.667       1.0000          .0000       .10000E+07
     3 'Prefactor '    .91445E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0455       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8298       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1131       1.0000          .0000       .10000E+07
     7 'norm      '    10.685       1.0000          .0000       .10000E+07
     8 'norm      '    4.4101       1.0000          .0000       .10000E+07
     9 'norm      '    .29142E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20672E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6038       1.0000          .0000       .10000E+07
    12 'norm      '    2.1139       1.0000          .0000       .10000E+07
    13 'norm      '    .11423       1.0000          .0000       .10000E+07
    14 'norm      '    4.8415       1.0000          .0000       .10000E+07
    15 'norm      '    10.013       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.183       1.0000          .0000       .10000E+07
    17 'norm      '    1.4536       1.0000          .0000       .10000E+07
    18 'Prefactor '    23.261       1.0000          .0000       .10000E+07
    19 'norm      '    4.0550       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19714E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
000          .0000       .10000E+07
    21 'Prefactor '    .54760       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66445.78     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1471 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6273        1.9077       -.15100E-06   -.33628E-03
   2  Prefactor     22.493        33.576        .93114E-06   -.20767E-02
   3  Prefactor     .10300        15.474       -.14559E-06** at limit **
   4  Prefactor     1.0319        8.1961       -.36299E-06    .11522E-02
   5  Prefactor     4.8207        7.7214       -.39703E-07   -.30903E-02
   6  Prefactor     3.0928        1.6752        .12081E-07   -.29546E-01
   7  norm          10.685        2.0093       -.15733E-07    .13293E-02
   8  norm          4.4105        2.1645       -.10742E-06    .69922E-03
   9  norm          .14988E-08    3.2065        .60691E-06** at limit **
  10  Prefactor     .30531E-08    4.0034       -.23978E-06** at limit **
  11  Prefactor     1.6037        1.8642        .10183E-06   -.76214E-04
  12  norm          2.1119        .64695        .28099E-07   -.23926E-03
  13  norm          .20267E-06    1.0139        .78757E-07** at limit **
  14  norm          4.8415        1.9531        .56192E-07    .10358E-02
  15  norm          10.023        6.2082       -.11756E-06   -.20861E-01
  16  Prefactor     17.271        2.6655       -.47240E-07    .65552E-01
  17  norm          1.4553        1.2754       -.11173E-07   -.36756E-03
  18  Prefactor     23.268        2.2425        .16154E-07   -.31436E-01
  19  norm          4.0590        4.0918       -.29169E-06    .71130E-03
  20  Prefactor     .29421E-08    7.3586        .16358E-07** at limit **
  21  Prefactor     .54922        1.4821        .12122E-06   -.88265E-03
  22  Normalizat    1.1189        .10812       -.17158E-05   -.14196E-04
  23  Prefactor     1.0081        .24448E-01    .43808E-06   -.10752E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6273
  Prefactor  = 22.4934
  Prefactor  = 0.103003
  Prefactor  = 1.03185
  Prefactor  = 4.82066
  Prefactor  = 3.09275
  norm       = 10.6853
  norm       = 4.41052
  norm       = 1.4988e-09
  Prefactor  = 3.05311e-09
  Prefactor  = 1.60365
  norm       = 2.11185
  norm       = 2.02671e-07
  norm       = 4.84154
  norm       = 10.0229
  Prefactor  = 17.2707
  norm       = 1.45528
  Prefactor  = 23.2676
  norm       = 4.05904
  Prefactor  = 2.94209e-09
  Prefactor  = 0.549217
  Normalizat = 1.1189
  Prefactor  = 1.00813
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.78     FROM HESSE     STATUS=OK           444 CALLS     1915 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6273        1.9079        .53001E-03   -1.5670    
   2  Prefactor     22.493        33.572        .21489E-03   -1.5613    
   3  Prefactor     .10300        .53655        .10108E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0319        2.6380        .12169E-01   -1.5688    
   5  Prefactor     4.8207        7.8467        .45751E-03   -1.5664    
   6  Prefactor     3.0928        31.520        .57443E-03   -1.5673    
   7  norm          10.685        2.0373        .30626E-03   -1.5643    
   8  norm          4.4105        2.1664        .47932E-03   -1.5666    
   9  norm          .14988E-08    3.2335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .30531E-08    4.0366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        1.8856        .83659E-03   -1.5683    
  12  norm          2.1119        .65345        .70921E-03   -1.5679    
  13  norm          .20267E-06    3.4547        .24699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8415        1.9758        .45695E-03   -1.5664    
  15  norm          10.023        6.5133        .31642E-03   -1.5645    
  16  Prefactor     17.271        9.7475        .24135E-03   -1.5625    
  17  norm          1.4553        1.2955        .89290E-03   -1.5684    
  18  Prefactor     23.268        7.0382        .20739E-03   -1.5611    
  19  norm          4.0590        4.0927        .50048E-03   -1.5668    
  20  Prefactor     .29421E-08    7.3585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54922        1.4836        .74059E-03   -1.5693    
  22  Normalizat    1.1189        .10657        .12263       -.89147    
  23  Prefactor     1.0081        .23378E-01    .30495E-01   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71286e-05
Minuit parameter uncertainties:
  1  1.90792
  2  33.5718
  3  0.470176
  4  2.63802
  5  7.84674
  6  19.7468
  7  2.03728
  8  2.16643
  9  0.000137983
  10  0.000222149
  11  1.88563
  12  0.65345
  13  0.00167341
  14  1.97576
  15  6.51334
  16  9.74755
  17  1.29553
  18  7.03824
  19  4.09269
  20  0.000293848
  21  1.48365
  22  0.106586
  23  0.0233782
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
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) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882045/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:30:21.448541', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229821.45', return_code='0', job_id='26882045', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:30:21 PDT 2026

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

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
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) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882081/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:30:34.100925', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229834.1', return_code='0', job_id='26882081', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:30:34 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
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) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882022/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:30:52.724391', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229852.72', return_code='0', job_id='26882022', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:30:52 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882012/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:30:55.275620', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229855.28', return_code='0', job_id='26882012', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:30:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
 **********
 **   18 **HESSE 
 **********

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
Done.

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

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.727e+01  9.748e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.581e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.008e+00  2.338e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.119e+00  1.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.29
Ra Dec: 301.815 66.118
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 6.29e-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) = 66445.6920862
delta logL = 0.0914917471091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66445.657979
delta logL = 0.125598918661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.497       1.0000          .0000       .10000E+07
     2 'Index     '    2.8523       1.0000          .0000       10.000    
     3 'Normalizat'    1.1083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0091       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6730E+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=   66445.66     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.499        15.466        .10895E-04    .11119E-01
   2  Index         2.8525        .77331        .91463E-02    .63137E-03
   3  Normalizat    1.1084        .10406        .54634E-03   -.11017E-02
   4  Prefactor     1.0091        .23881E-01    .13471E-03   -.45779E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4987
  Index      = 2.85255
  Normalizat = 1.10836
  Prefactor  = 1.00907
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) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882089/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:32:17.826128', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229937.83', return_code='0', job_id='26882089', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:32:18 PDT 2026

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

 FCN=   66445.66     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.499        11.336        .43582E-06   -1.5634    
   2  Index         2.8525        .56695        .36585E-03   -.44393    
   3  Normalizat    1.1084        .10308        .21854E-04   -.89484    
   4  Prefactor     1.0091        .23814E-01    .26941E-04   -.92428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20488e-09
Minuit parameter uncertainties:
  1  11.3362
  2  0.568448
  3  0.103097
  4  0.0238144
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) = 66445.6579785
delta logL = 0.125599382925

Extracting fit parameters...

4FGL J2007.2+6607
   Spectrum: PowerLaw
332    Prefactor:  1.350e+01  1.134e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        Index:  2.853e+00  5.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  1.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.009e+00  2.381e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  1.108e+00  1.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 301.815 66.118
Photon Index (Free Index): 2.85 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.13e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26882092/cmap_HighResolution_800236801_800841601_4FGL_J2007.2+6607_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.13e-05', photon_flux_error='2.35e-08', dlogl='1.26e-01', energy_flux='1.11e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2026-05-19 15:32:28.065221', photon_index_error2='0.57', photon_index2='2.85', ts='5.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.12', time_epoch_completed='1779229948.07', return_code='0', job_id='26882092', GAL2='1.01', EG2='1.11', return_code2='0', energy_flux_error='6.29e-06', photon_flux_error2='3.13e-08', ts2='5.61', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J2007.2+6607' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 15:32:28 PDT 2026

