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

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/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/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)

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

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

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

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

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


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

 outfile=/lscratch/kocevski/39493358/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 15.83
user 15.24
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493358/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493358/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493358/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 59.09
user 55.48
sys 2.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493358/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.66
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493358/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.22
sys 0.13

Computing the diffuse outfile=/lscratch/kocevski/39493349/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 18.04
user 17.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493349/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493349/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493349/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 68.18
user 63.74
sys 3.62

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493349/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493349/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.25
sys 0.13

Computing the diffusenumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2107.7+3529_weekly_bin947
RA = 316.943, Dec = 35.4885
tmin = 811728001, tmax = 812332801
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='39493487', job_status='RUN', time_executed='2026-09-29 22:16:52.039510', time_epoch_executed='1790745412.04' WHERE source_name='4FGL J2107.7+3529' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39493487

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39493487/ft1_4FGL_J2107.7+3529_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39493487/ft1_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493487/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits ra=316.943 dec=35.4885 rad=12.0 tmin=811728001.0 tmax=812332801.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.84
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.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/39493487/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.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.74
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 8586

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2107.7+3529_weekly_bin947
RA = 316.943, Dec = 35.4885
tmin = 811728001, tmax = 812332801
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='39493502', job_status='RUN', time_executed='2026-09-29 22:17:07.110991', time_epoch_executed='1790745427.11' WHERE source_name='4FGL J2107.7+3529' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39493502

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39493502/ft1_4FGL_J2107.7+3529_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39493502/ft1_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493502/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits ra=316.943 dec=35.4885 rad=12.0 tmin=811728001.0 tmax=812332801.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.94
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.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/39493502/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.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.64
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 8586

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39493487/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 15.86
user 15.22
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493487/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493487/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493487/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 59.47
user 55.55
sys 3.36

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493487/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.79
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493487/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.22
sys 0.13

Computing the diffuse outfile=/lscratch/kocevski/39493502/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 15.85
user 15.21
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493502/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493502/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493502/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 59.94
user 56.00
sys 3.22

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493502/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.82
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493502/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.12

Computing the diffusenumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2107.7+3529_weekly_bin947
RA = 316.943, Dec = 35.4885
tmin = 811728001, tmax = 812332801
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='39493651', job_status='RUN', time_executed='2026-09-29 22:20:10.673867', time_epoch_executed='1790745610.67' WHERE source_name='4FGL J2107.7+3529' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39493651

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39493651/ft1_4FGL_J2107.7+3529_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39493651/ft1_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493651/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits ra=316.943 dec=35.4885 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.39
user 5.71
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.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/39493651/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.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.68
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 8586

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2107.7+3529_weekly_bin947
RA = 316.943, Dec = 35.4885
tmin = 811728001, tmax = 812332801
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='39493649', job_status='RUN', time_executed='2026-09-29 22:20:09.353522', time_epoch_executed='1790745609.35' WHERE source_name='4FGL J2107.7+3529' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39493649

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39493649/ft1_4FGL_J2107.7+3529_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39493649/ft1_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493649/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits ra=316.943 dec=35.4885 rad=12.0 tmin=811728001.0 tmax=812332801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.73
user 5.79
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.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/39493649/ft1_filteredMKT_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.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.78
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 8586

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39493651/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 18.70
user 17.91
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493651/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493651/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493651/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 70.41
user 65.58
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 Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493651/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.73
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493651/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.78
user 0.24
sys 0.14

Computing the diffuse outfile=/lscratch/kocevski/39493649/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 19.06
user 18.31
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39493649/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493649/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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/39493649/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
.....................!
real 71.00
user 66.12
sys 4.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 197 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 J2107.7+3529 @ 316.943 35.4885

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493649/cmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.25
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits outfile=/lscratch/kocevski/39493649/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.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=316.943 yref=35.4885 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.75
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39492877/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39492877/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39492877/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39492877/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 547.75
user 543.70
sys 0.87

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39492877/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39492877/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39492877/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39492877/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39492877/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39492877/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39492877/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39492877/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39492877/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39492877/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 * response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39492895/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39492895/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39492895/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39492895/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 549.96
user 546.19
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39492895/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39492895/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39492895/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39492895/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39492895/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39492895/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39492895/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39492895/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39492895/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39492895/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39492860/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39492860/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39492860/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39492860/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 626.52
user 621.38
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39492860/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39492860/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39492860/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39492860/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39492860/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39492860/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39492860/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39492860/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39492860/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39492860/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39492939/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39492939/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39492939/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39492939/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 627.23
user 621.35
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39492939/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39492939/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39492939/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39492939/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39492939/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39492939/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39492939/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39492939/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39492939/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39492939/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 * **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493060/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493060/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493060/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493060/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 548.56
user 544.15
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493060/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493060/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493060/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493060/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493060/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493060/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493060/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493060/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493060/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493060/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39492907/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39492907/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39492907/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39492907/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 637.06
user 631.93
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39492907/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39492907/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39492907/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39492907/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39492907/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39492907/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39492907/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39492907/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39492907/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39492907/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 ***********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493198/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493198/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493198/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493198/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 549.27
user 545.50
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493198/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493198/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493198/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493198/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493198/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493198/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493198/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493198/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493198/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493198/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 * **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39492877/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:36:29.182040', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746589.18', return_code='0', job_id='39492877', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:36:29 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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39492895/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:36:34.583260', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746594.58', return_code='0', job_id='39492895', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:36:34 PDT 2026

********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39492860/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:38:13.902702', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746693.9', return_code='0', job_id='39492860', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:38:14 PDT 2026

 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493358/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 548.73
user 544.63
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493358/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493358/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493358/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493358/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493358/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493358/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493358/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493358/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 *Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39492939/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:39:57.312736', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746797.31', return_code='0', job_id='39492939', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:39:57 PDT 2026

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

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493060/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:40:18.701764', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746818.7', return_code='0', job_id='39493060', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:40:18 PDT 2026

*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493487/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 551.48
user 547.25
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493487/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493487/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493487/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493487/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493487/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493487/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493487/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493487/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 * **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493502/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 553.90
user 548.82
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493502/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493502/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493502/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493502/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493502/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493502/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493502/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493502/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 *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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493198/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:41:59.309195', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746919.31', return_code='0', job_id='39493198', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:41:59 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39492907/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:42:33.854756', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790746953.85', return_code='0', job_id='39492907', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:42:34 PDT 2026

*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493349/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 642.11
user 637.31
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493349/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493349/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493349/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493349/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493349/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493349/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493349/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493349/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 *Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493358/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:44:37.458798', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747077.46', return_code='0', job_id='39493358', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:44:37 PDT 2026

*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493487/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:47:24.450684', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747244.45', return_code='0', job_id='39493487', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:47:24 PDT 2026

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

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493502/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:47:29.490770', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747249.49', return_code='0', job_id='39493502', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:47:29 PDT 2026

 response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493649/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 655.83
user 649.98
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493649/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493649/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493649/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493649/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493649/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493649/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493649/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493649/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 * response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39493651/Model_4FGL_J2107.7+3529_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits.....................!
real 669.17
user 663.55
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits', '/lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits', expMap='/lscratch/kocevski/39493651/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', expCube='/lscratch/kocevski/39493651/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39493651/Model_4FGL_J2107.7+3529_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2107.7+3529'

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  3.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39493651/ft1_filtered_4FGL_J2107.7+3529_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39493651/ft2_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39493651/expmap_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39493651/ltcube_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39493651/Model_4FGL_J2107.7+3529_weekly_bin947.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) = 80435.6900256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52720E-04   1.0000          .0000       .10000E+07
     2 'norm      '    4.7347       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1096       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5301       1.0000          .0000       .10000E+07
     5 'norm      '    28.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.4656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10334E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16216E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    46.629       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32973E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .64220E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.0027       1.0000          .0000       .10000E+07
    13 'norm      '    .19613E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54556       1.0000          .0000       .10000E+07
    16 'norm      '    .12323E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96860       1.0000          .0000       10.000    
 *Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493349/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:50:08.867393', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747408.87', return_code='0', job_id='39493349', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:50:09 PDT 2026

*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
*********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1375 TOTAL
                     EDM=   .65E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.917        .71302E-06** at limit **
   2  norm          4.7465        3.8613       -.18900E-06   -.11039E-03
   3  Prefactor     2.1093        .17736        .14841E-06   -.91393E-04
   4  norm          1.5260        2.2505        .19081E-06    .45971E-04
   5  norm          28.412        4.8763        .22008E-07    .23502E-05
   6  Prefactor     1.4663        2.1133       -.20832E-05   -.53456E-05
   7  norm           .0000        6.7765        .15887E-06** at limit **
   8  Prefactor      .0000        40.178       -.75423E-06** at limit **
   9  Prefactor     46.479        24.060       -.79134E-06    .22947E-03
  10  Prefactor      .0000        6.0198        .13907E-06** at limit **
  11  norm           .0000        1.4356       -.22925E-07** at limit **
  12  norm          1.0041        .89548       -.81021E-08   -.35728E-05
  13  norm           .0000        3.8221       -.88086E-06** at limit **
  14  Prefactor     .90560        3.8516       -.35702E-06    .15654E-03
  15  Prefactor     .59275        5.5220        .27534E-06    .77001E-05
  16  norm           .0000        .24068       -.65675E-07** at limit **
  17  Normalizat    1.3104        .17278        .71016E-05    .61651E-05
  18  Prefactor     .96858        .20835E-01   -.10768E-05   -.54606E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.74654
  Prefactor  = 2.10931
  norm       = 1.526
  norm       = 28.4122
  Prefactor  = 1.46626
  norm       = 0
  Prefactor  = 0
  Prefactor  = 46.4786
  Prefactor  = 0
  norm       = 0
  norm       = 1.00413
  norm       = 0
  Prefactor  = 0.9056
  Prefactor  = 0.592754
  norm       = 0
  Normalizat = 1.3104
  Prefactor  = 0.968576
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK           284 CALLS     1659 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7465        3.8604        .46219E-03   -1.5664    
   3  Prefactor     2.1093        .17830        .71012E-02   -1.5417    
   4  norm          1.5260        2.2560        .86254E-03   -1.5683    
   5  norm          28.412        4.8589        .18770E-03   -1.5601    
   6  Prefactor     1.4663        2.1367        .88797E-02   -1.5466    
   7  norm           .0000        6.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        39.693        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.479        24.075        .14646E-03   -1.5572    
  10  Prefactor      .0000        5.8888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.4366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0041        .90088        .43862E-03   -1.5688    
  13  norm           .0000        3.8176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .90560        3.8697        .42513E-03   -1.5689    
  15  Prefactor     .59275        5.4736        .74253E-03   -1.5693    
  16  norm           .0000        .23551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3104        .17444        .23537       -.83257    
  18  Prefactor     .96858        .20394E-01    .30638E-01   -.93784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05874e-05
Minuit parameter uncertainties:
  1  1.18676e-06
  2  3.86045
  3  0.178304
  4  2.25602
  5  4.8589
  6  2.13679
  7  1.00886e-06
  8  1.63542e-06
  9  24.0751
  10  1.79207e-06
  11  5.06482e-07
  12  0.900883
  13  1.48572e-06
  14  3.74401
  15  3.60249
  16  6.46515e-09
  17  0.174522
  18  0.0203943
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
Done.

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

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.648e+01  2.408e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.542e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.686e-01  2.039e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.310e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 316.943 35.489
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.23e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6515089
delta logL = 0.00344580211095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 80435.6501909
delta logL = 0.00476382109628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.755       1.0000          .0000       .10000E+07
     2 'Index     '    2.4986       1.0000          .0000       10.000    
     3 'Normalizat'    1.3133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   80435.65     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      264 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.786        170.68        .14472E-03    .26747E-02
   2  Index         2.4960        .94392        .38061        .25963E-03
   3  Normalizat    1.3133        .45864E-01    .23516        .42675E-03
   4  Prefactor     .96848        .48419E-02    .30640E-01   -.60769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.7856
  Index      = 2.49603
  Normalizat = 1.31327
  Prefactor  = 0.968479
 **********
 **   18 **HESSE 
 **********

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493649/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:55:48.612214', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747748.61', return_code='0', job_id='39493649', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:55:48 PDT 2026

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

 FCN=   80435.65     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.786        28.673        .57887E-05   -1.5570    
   2  Index         2.4960        .48046        .86389E-02   -.52452    
   3  Normalizat    1.3133        .16957        .10530E-02   -.83171    
   4  Prefactor     .96848        .18844E-01    .13539E-03   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08164e-10
Minuit parameter uncertainties:
  1  28.6727
  2  0.481451
  3  0.169642
  4  0.0188442
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) = 80435.6501718
delta logL = 0.00478294184722

Extracting fit parameters...

4FGL J2107.7+3529
   Spectrum: PowerLaw
421    Prefactor:  4.779e+01  2.867e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.496e+00  4.815e-01  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  9.237e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
719    Prefactor:  9.685e-01  1.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
720        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
721        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
718   Normalization:  1.313e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 316.943 35.489
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 5.63e-08
Energy Flux (Free Index): 2.40e-05 +/- 1.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/39493651/cmap_HighResolution_811728001_812332801_4FGL_J2107.7+3529_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.40e-05', photon_flux_error='4.44e-08', dlogl='4.78e-03', energy_flux='2.38e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2026-09-29 22:56:00.854498', photon_index_error2='0.48', photon_index2='2.50', ts='5.63', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1790747760.85', return_code='0', job_id='39493651', GAL2='0.97', EG2='1.31', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.63e-08', ts2='5.62', photon_index='2.54' WHERE bin_id='947' AND source_name='4FGL J2107.7+3529' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 22:56:01 PDT 2026

