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


Performing analysis on: 4FGL_J0217.4+7352_weekly_bin945
RA = 34.3533, Dec = 73.8804
tmin = 810518401, tmax = 811123201
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='38279384', job_status='RUN', time_executed='2026-09-15 01:48:44.725430', time_epoch_executed='1789462124.73' WHERE source_name='4FGL J0217.4+7352' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279384

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279384/ft1_4FGL_J0217.4+7352_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279384/ft1_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279384/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits ra=34.3533 dec=73.8804 rad=12.0 tmin=810518401.0 tmax=811123201.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.82
user 5.22
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.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/38279384/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 7491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA"number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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
Done.


Performing analysis on: 4FGL_J0217.4+7352_weekly_bin945
RA = 34.3533, Dec = 73.8804
tmin = 810518401, tmax = 811123201
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='38279355', job_status='RUN', time_executed='2026-09-15 01:48:40.772720', time_epoch_executed='1789462120.77' WHERE source_name='4FGL J0217.4+7352' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279355

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279355/ft1_4FGL_J0217.4+7352_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279355/ft1_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279355/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits ra=34.3533 dec=73.8804 rad=12.0 tmin=810518401.0 tmax=811123201.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.94
user 5.35
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.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/38279355/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.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.65
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 7491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA"
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).

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


Performing analysis on: 4FGL_J0217.4+7352_weekly_bin945
RA = 34.3533, Dec = 73.8804
tmin = 810518401, tmax = 811123201
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='38279404', job_status='RUN', time_executed='2026-09-15 01:49:46.715003', time_epoch_executed='1789462186.72' WHERE source_name='4FGL J0217.4+7352' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279404

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279404/ft1_4FGL_J0217.4+7352_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279404/ft1_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279404/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits ra=34.3533 dec=73.8804 rad=12.0 tmin=810518401.0 tmax=811123201.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.98
user 5.41
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.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/38279404/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.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.66
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 7491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38279384/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 17.50
user 16.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279384/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279384/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279384/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 64.80
user 60.43
sys 3.68

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 193 point sources and 2 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 J0217.4+7352 @ 34.3533 73.8804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279384/cmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279384/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 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.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevsk outfile=/lscratch/kocevski/38279355/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 18.12
user 17.52
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279355/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279355/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279355/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 68.87
user 64.27
sys 3.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 193 point sources and 2 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 J0217.4+7352 @ 34.3533 73.8804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279355/cmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279355/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 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.62
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevsknumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.4+7352_weekly_bin945
RA = 34.3533, Dec = 73.8804
tmin = 810518401, tmax = 811123201
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='38279438', job_status='RUN', time_executed='2026-09-15 01:50:42.256320', time_epoch_executed='1789462242.26' WHERE source_name='4FGL J0217.4+7352' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38279438

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38279438/ft1_4FGL_J0217.4+7352_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38279438/ft1_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279438/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits ra=34.3533 dec=73.8804 rad=12.0 tmin=810518401.0 tmax=811123201.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.48
user 4.91
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.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/38279438/ft1_filteredMKT_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.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.57
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 7491

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38279404/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 18.86
user 18.22
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279404/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279404/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279404/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 70.90
user 66.06
sys 4.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 193 point sources and 2 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 J0217.4+7352 @ 34.3533 73.8804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279404/cmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 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.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279404/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.24
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevsk outfile=/lscratch/kocevski/38279438/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 16.70
user 16.06
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38279438/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279438/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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/38279438/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
.....................!
real 63.85
user 59.44
sys 3.80

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 193 point sources and 2 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 J0217.4+7352 @ 34.3533 73.8804

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279438/cmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 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.59
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits scfile=/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits outfile=/lscratch/kocevski/38279438/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.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=34.3533 yref=73.8804 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.57
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279384/Model_4FGL_J0217.4+7352_weekly_bin945.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 EG_v02
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits.....................!
real 328.40
user 325.93
sys 0.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits', '/lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits', expMap='/lscratch/kocevski/38279384/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', expCube='/lscratch/kocevski/38279384/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279384/Model_4FGL_J0217.4+7352_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.4+7352'

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279384/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279384/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279384/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279384/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279384/Model_4FGL_J0217.4+7352_weekly_bin945.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) = 71339.0113186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62617E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0894       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26593E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7490       1.0000         .10000E-03   10000.    
     5 'norm      '    .83093       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3829       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11746E-06   1.0000          .0000       .10000E+07
     8 'norm      '    5.3828       1.0000          .0000       .10000E+07
     9 'norm      '    3.4582       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27272E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2780       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11029       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36948E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51275       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3157       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   71337.95     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      920 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .91785        .20370E-07** at limit **
   2  Prefactor     6.0960        2.3317        .87331E-07    .91788E-01
   3  Prefactor     .22371E-07    52.499        .92768E-06** at limit **
   4  Prefactor     2.7490        .61387       -.59481E-07    .12416E-04
   5  norm          .82991        .65099       -.19260E-07    .50436E-01
   6  Prefactor     2.3869        1.6002        .12001E-07   -.16109E-02
   7  Prefactor      .0000        1.8426       -.78392E-07** at limit **
   8  norm          5.3831        3.9114       -.23895E-07    .15670E-03
   9  norm          3.4591        2.9331        .41259E-07   -.14674E-03
  10  Prefactor     .11102E-09    3.4696       -.79072E-07** at limit **
  11  Prefactor     2.2782        1.4155        .17784E-07    .49566E-03
  12  Prefactor     .17398        24.127       -.11715E-05** at limit **
  13  Prefactor      .0000        11.308       -.16330E-06** at limit **
  14  Prefactor     .57490        9.0696       -.16347E-06    .66242E-02
  15  Normalizat    1.3151        .13983       -.26234E-06   -.98820E-04
  16  Prefactor     .95381        .21660E-01    .27930E-07   -.19650E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.09597
  Prefactor  = 2.2371e-08
  Prefactor  = 2.74899
  norm       = 0.829909
  Prefactor  = 2.38691
  Prefactor  = 0
  norm       = 5.38311
  norm       = 3.45914
  Prefactor  = 1.11022e-10
  Prefactor  = 2.27817
  Prefactor  = 0.173981
  Prefactor  = 0
  Prefactor  = 0.574902
  Normalizat = 1.31508
  Prefactor  = 0.953807
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.95     FROM HESSE     STATUS=OK           241 CALLS     1161 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .90347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0960        6.6717        .40662E-03   -1.5659    
   3  Prefactor     .22371E-07    53.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7490        .61754        .61383E-02   -1.5376    
   5  norm          .82991        4.7895        .50658E-03   -1.5690    
   6  Prefactor     2.3869        1.6188        .66330E-03   -1.5677    
   7  Prefactor      .0000        1.8550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.3831        3.9076        .43291E-03   -1.5662    
   9  norm          3.4591        2.9591        .54358E-03   -1.5671    
  10  Prefactor     .11102E-09    3.4800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2782        1.4178        .68005E-03   -1.5678    
  12  Prefactor     .17398        .95387        .13661E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57490        9.5570        .77437E-03   -1.5693    
  15  Normalizat    1.3151        .13634        .15915       -.83117    
  16  Prefactor     .95381        .20768E-01    .28536E-01   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71785e-06
Minuit parameter uncertainties:
  1  1.08986e-07
  2  6.67175
  3  0.00218297
  4  0.617539
  5  3.98742
  6  1.61876
  7  5.86612e-07
  8  3.90761
  9  2.95911
  10  4.30957e-05
  11  1.41784
  12  0.814752
  13  9.31475e-06
  14  4.68801
  15  0.136376
  16  0.0207683
i/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279355/Model_4FGL_J0217.4+7352_weekly_bin945.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 EG_v02
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits.....................!
real 376.65
user 372.99
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits', '/lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits', expMap='/lscratch/kocevski/38279355/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', expCube='/lscratch/kocevski/38279355/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279355/Model_4FGL_J0217.4+7352_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.4+7352'

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279355/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279355/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279355/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279355/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279355/Model_4FGL_J0217.4+7352_weekly_bin945.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) = 71339.0113186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62617E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0894       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26593E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7490       1.0000         .10000E-03   10000.    
     5 'norm      '    .83093       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3829       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11746E-06   1.0000          .0000       .10000E+07
     8 'norm      '    5.3828       1.0000          .0000       .10000E+07
     9 'norm      '    3.4582       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27272E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2780       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11029       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36948E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51275       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3157       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   71337.95     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      920 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .91785        .20370E-07** at limit **
   2  Prefactor     6.0960        2.3317        .87331E-07    .91788E-01
   3  Prefactor     .22371E-07    52.499        .92768E-06** at limit **
   4  Prefactor     2.7490        .61387       -.59481E-07    .12416E-04
   5  norm          .82991        .65099       -.19260E-07    .50436E-01
   6  Prefactor     2.3869        1.6002        .12001E-07   -.16109E-02
   7  Prefactor      .0000        1.8426       -.78392E-07** at limit **
   8  norm          5.3831        3.9114       -.23895E-07    .15670E-03
   9  norm          3.4591        2.9331        .41259E-07   -.14674E-03
  10  Prefactor     .11102E-09    3.4696       -.79072E-07** at limit **
  11  Prefactor     2.2782        1.4155        .17784E-07    .49566E-03
  12  Prefactor     .17398        24.127       -.11715E-05** at limit **
  13  Prefactor      .0000        11.308       -.16330E-06** at limit **
  14  Prefactor     .57490        9.0696       -.16347E-06    .66242E-02
  15  Normalizat    1.3151        .13983       -.26234E-06   -.98820E-04
  16  Prefactor     .95381        .21660E-01    .27930E-07   -.19650E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.09597
  Prefactor  = 2.2371e-08
  Prefactor  = 2.74899
  norm       = 0.829909
  Prefactor  = 2.38691
  Prefactor  = 0
  norm       = 5.38311
  norm       = 3.45914
  Prefactor  = 1.11022e-10
  Prefactor  = 2.27817
  Prefactor  = 0.173981
  Prefactor  = 0
  Prefactor  = 0.574902
  Normalizat = 1.31508
  Prefactor  = 0.953807
i/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279438/Model_4FGL_J0217.4+7352_weekly_bin945.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 EG_v02
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits.....................!
real 345.09
user 341.97
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits', '/lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits', expMap='/lscratch/kocevski/38279438/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', expCube='/lscratch/kocevski/38279438/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279438/Model_4FGL_J0217.4+7352_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.4+7352'

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279438/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279438/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279438/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279438/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279438/Model_4FGL_J0217.4+7352_weekly_bin945.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) = 71339.0113186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62617E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0894       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26593E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7490       1.0000         .10000E-03   10000.    
     5 'norm      '    .83093       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3829       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11746E-06   1.0000          .0000       .10000E+07
     8 'norm      '    5.3828       1.0000          .0000       .10000E+07
     9 'norm      '    3.4582       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27272E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2780       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11029       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36948E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51275       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3157       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   71337.95     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      920 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .91785        .20370E-07** at limit **
   2  Prefactor     6.0960        2.3317        .87331E-07    .91788E-01
   3  Prefactor     .22371E-07    52.499        .92768E-06** at limit **
   4  Prefactor     2.7490        .61387       -.59481E-07    .12416E-04
   5  norm          .82991        .65099       -.19260E-07    .50436E-01
   6  Prefactor     2.3869        1.6002        .12001E-07   -.16109E-02
   7  Prefactor      .0000        1.8426       -.78392E-07** at limit **
   8  norm          5.3831        3.9114       -.23895E-07    .15670E-03
   9  norm          3.4591        2.9331        .41259E-07   -.14674E-03
  10  Prefactor     .11102E-09    3.4696       -.79072E-07** at limit **
  11  Prefactor     2.2782        1.4155        .17784E-07    .49566E-03
  12  Prefactor     .17398        24.127       -.11715E-05** at limit **
  13  Prefactor      .0000        11.308       -.16330E-06** at limit **
  14  Prefactor     .57490        9.0696       -.16347E-06    .66242E-02
  15  Normalizat    1.3151        .13983       -.26234E-06   -.98820E-04
  16  Prefactor     .95381        .21660E-01    .27930E-07   -.19650E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.09597
  Prefactor  = 2.2371e-08
  Prefactor  = 2.74899
  norm       = 0.829909
  Prefactor  = 2.38691
  Prefactor  = 0
  norm       = 5.38311
  norm       = 3.45914
  Prefactor  = 1.11022e-10
  Prefactor  = 2.27817
  Prefactor  = 0.173981
  Prefactor  = 0
  Prefactor  = 0.574902
  Normalizat = 1.31508
  Prefactor  = 0.953807
i/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38279404/Model_4FGL_J0217.4+7352_weekly_bin945.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 EG_v02
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits.....................!
real 388.64
user 385.12
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits', '/lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits', expMap='/lscratch/kocevski/38279404/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', expCube='/lscratch/kocevski/38279404/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38279404/Model_4FGL_J0217.4+7352_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0217.4+7352'

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.785e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38279404/ft1_filtered_4FGL_J0217.4+7352_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38279404/ft2_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38279404/expmap_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38279404/ltcube_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38279404/Model_4FGL_J0217.4+7352_weekly_bin945.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) = 71339.0113186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62617E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0894       1.0000          .0000       .10000E+07
     3 'Prefactor '    .26593E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7490       1.0000         .10000E-03   10000.    
     5 'norm      '    .83093       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3829       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11746E-06   1.0000          .0000       .10000E+07
     8 'norm      '    5.3828       1.0000          .0000       .10000E+07
     9 'norm      '    3.4582       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27272E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.2780       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11029       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36948E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51275       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3157       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   71337.95     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      920 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .91785        .20370E-07** at limit **
   2  Prefactor     6.0960        2.3317        .87331E-07    .91788E-01
   3  Prefactor     .22371E-07    52.499        .92768E-06** at limit **
   4  Prefactor     2.7490        .61387       -.59481E-07    .12416E-04
   5  norm          .82991        .65099       -.19260E-07    .50436E-01
   6  Prefactor     2.3869        1.6002        .12001E-07   -.16109E-02
   7  Prefactor      .0000        1.8426       -.78392E-07** at limit **
   8  norm          5.3831        3.9114       -.23895E-07    .15670E-03
   9  norm          3.4591        2.9331        .41259E-07   -.14674E-03
  10  Prefactor     .11102E-09    3.4696       -.79072E-07** at limit **
  11  Prefactor     2.2782        1.4155        .17784E-07    .49566E-03
  12  Prefactor     .17398        24.127       -.11715E-05** at limit **
  13  Prefactor      .0000        11.308       -.16330E-06** at limit **
  14  Prefactor     .57490        9.0696       -.16347E-06    .66242E-02
  15  Normalizat    1.3151        .13983       -.26234E-06   -.98820E-04
  16  Prefactor     .95381        .21660E-01    .27930E-07   -.19650E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.09597
  Prefactor  = 2.2371e-08
  Prefactor  = 2.74899
  norm       = 0.829909
  Prefactor  = 2.38691
  Prefactor  = 0
  norm       = 5.38311
  norm       = 3.45914
  Prefactor  = 1.11022e-10
  Prefactor  = 2.27817
  Prefactor  = 0.173981
  Prefactor  = 0
  Prefactor  = 0.574902
  Normalizat = 1.31508
  Prefactor  = 0.953807
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.95     FROM HESSE     STATUS=OK           241 CALLS     1161 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .90347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0960        6.6717        .40662E-03   -1.5659    
   3  Prefactor     .22371E-07    53.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7490        .61754        .61383E-02   -1.5376    
   5  norm          .82991        4.7895        .50658E-03   -1.5690    
   6  Prefactor     2.3869        1.6188        .66330E-03   -1.5677    
   7  Prefactor      .0000        1.8550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.3831        3.9076        .43291E-03   -1.5662    
   9  norm          3.4591        2.9591        .54358E-03   -1.5671    
  10  Prefactor     .11102E-09    3.4800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2782        1.4178        .68005E-03   -1.5678    
  12  Prefactor     .17398        .95387        .13661E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57490        9.5570        .77437E-03   -1.5693    
  15  Normalizat    1.3151        .13634        .15915       -.83117    
  16  Prefactor     .95381        .20768E-01    .28536E-01   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71785e-06
Minuit parameter uncertainties:
  1  1.08986e-07
  2  6.67175
  3  0.00218297
  4  0.617539
  5  3.98742
  6  1.61876
  7  5.86612e-07
  8  3.90761
  9  2.95911
  10  4.30957e-05
  11  1.41784
  12  0.814752
  13  9.31475e-06
  14  4.68801
  15  0.136376
  16  0.0207683
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.95     FROM HESSE     STATUS=OK           241 CALLS     1161 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .90347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0960        6.6717        .40662E-03   -1.5659    
   3  Prefactor     .22371E-07    53.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7490        .61754        .61383E-02   -1.5376    
   5  norm          .82991        4.7895        .50658E-03   -1.5690    
   6  Prefactor     2.3869        1.6188        .66330E-03   -1.5677    
   7  Prefactor      .0000        1.8550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.3831        3.9076        .43291E-03   -1.5662    
   9  norm          3.4591        2.9591        .54358E-03   -1.5671    
  10  Prefactor     .11102E-09    3.4800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2782        1.4178        .68005E-03   -1.5678    
  12  Prefactor     .17398        .95387        .13661E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57490        9.5570        .77437E-03   -1.5693    
  15  Normalizat    1.3151        .13634        .15915       -.83117    
  16  Prefactor     .95381        .20768E-01    .28536E-01   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71785e-06
Minuit parameter uncertainties:
  1  1.08986e-07
  2  6.67175
  3  0.00218297
  4  0.617539
  5  3.98742
  6  1.61876
  7  5.86612e-07
  8  3.90761
  9  2.95911
  10  4.30957e-05
  11  1.41784
  12  0.814752
  13  9.31475e-06
  14  4.68801
  15  0.136376
  16  0.0207683
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.95     FROM HESSE     STATUS=OK           241 CALLS     1161 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .90347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0960        6.6717        .40662E-03   -1.5659    
   3  Prefactor     .22371E-07    53.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7490        .61754        .61383E-02   -1.5376    
   5  norm          .82991        4.7895        .50658E-03   -1.5690    
   6  Prefactor     2.3869        1.6188        .66330E-03   -1.5677    
   7  Prefactor      .0000        1.8550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.3831        3.9076        .43291E-03   -1.5662    
   9  norm          3.4591        2.9591        .54358E-03   -1.5671    
  10  Prefactor     .11102E-09    3.4800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2782        1.4178        .68005E-03   -1.5678    
  12  Prefactor     .17398        .95387        .13661E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        11.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57490        9.5570        .77437E-03   -1.5693    
  15  Normalizat    1.3151        .13634        .15915       -.83117    
  16  Prefactor     .95381        .20768E-01    .28536E-01   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71785e-06
Minuit parameter uncertainties:
  1  1.08986e-07
  2  6.67175
  3  0.00218297
  4  0.617539
  5  3.98742
  6  1.61876
  7  5.86612e-07
  8  3.90761
  9  2.95911
  10  4.30957e-05
  11  1.41784
  12  0.814752
  13  9.31475e-06
  14  4.68801
  15  0.136376
  16  0.0207683
Done.

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

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  2.387e+00  1.619e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.538e-01  2.077e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.315e+00  1.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Index (Fixed Index): 2.94 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 7.68e-06

TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Flux Upper Limit: 1.21267177432e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00967182713116 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279384/likelihoodResults_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 71337.5897338
delta logL = 0.355876733447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 71337.5665106
delta logL = 0.379099945174

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   71337.57     FROM MIGRAD    STATUS=FAILED       108 CALLS      358 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .15821E-04   -.91981E-03
   2  Index         4.0956        6.9558        .12968E-01    .12635E-02
   3  Normalizat    1.2912        .13052        .71311E-03   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .12597E-03   -.25992E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   71337.57     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      443 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .12305E-04   -.91981E-03
   2  Index         4.0956        6.9558        .21855E-02    .12635E-02
   3  Normalizat    1.2912        .13052        .89909E-04   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .10145E-04   -.25992E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   71337.57     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      475 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        3.2734        .63282E-06   -.10311E-02
   2  Index         4.0956        2.7002        .25936E-02   -.46989E-05
   3  Normalizat    1.2912        .13812        .28525E-04   -.89277E-05
   4  Prefactor     .95601        .21183E-01    .50387E-05   -.28880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14751
  Index      = 4.09562
  Normalizat = 1.29115
  Prefactor  = 0.956011
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.57     FROM HESSE     STATUS=OK            23 CALLS      498 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1475        2.4115        .37400E-06   -1.5687    
   2  Index         4.0956        2.0413        .10374E-03   -.18188    
   3  Normalizat    1.2912        .13784        .57049E-05   -.83831    
   4  Prefactor     .95601        .21058E-01    .10077E-05   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84861e-13
Minuit parameter uncertainties:
  1  2.41153
  2  2.10499
  3  0.137884
  4  0.0210584
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) = 71337.5665063
delta logL = 0.379104268286

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.148e+00  2.412e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  4.096e+00  2.105e+00  0.000e+00  1.000e+01 (-1.000e+00)
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.560e-01  2.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.291e+00  1.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 34.353 73.880
Photon Index (Free Index): 4.10 +/- 2.10
Photon Flux (Free Index): 7.40e-08 +/- 4.35e-08
Energy Flux (Free Index): 1.09e-05 +/- 7.21e-06

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/38279384/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='1.09e-05', photon_flux_error='3.73e-08', dlogl='3.79e-01', energy_flux='1.13e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2026-09-15 02:10:33.760342', photon_index_error2='2.10', photon_index2='4.10', ts='2.61', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='7.21e-06', EG='1.32', time_epoch_completed='1789463433.76', return_code='0', job_id='38279384', GAL2='0.96', EG2='1.29', return_code2='0', energy_flux_error='7.68e-06', photon_flux_error2='4.35e-08', ts2='3.48', photon_index='2.94' WHERE bin_id='945' AND source_name='4FGL J0217.4+7352' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 02:10:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  2.387e+00  1.619e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.538e-01  2.077e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.315e+00  1.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Index (Fixed Index): 2.94 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 7.68e-06

TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Flux Upper Limit: 1.21267177432e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00967182713116 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279355/likelihoodResults_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 71337.5897338
delta logL = 0.355876733447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 71337.5665106
delta logL = 0.379099945174

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   71337.57     FROM MIGRAD    STATUS=FAILED       108 CALLS      358 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .15821E-04   -.91981E-03
   2  Index         4.0956        6.9558        .12968E-01    .12635E-02
   3  Normalizat    1.2912        .13052        .71311E-03   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .12597E-03   -.25992E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   71337.57     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      443 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .12305E-04   -.91981E-03
   2  Index         4.0956        6.9558        .21855E-02    .12635E-02
   3  Normalizat    1.2912        .13052        .89909E-04   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .10145E-04   -.25992E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   71337.57     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      475 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        3.2734        .63282E-06   -.10311E-02
   2  Index         4.0956        2.7002        .25936E-02   -.46989E-05
   3  Normalizat    1.2912        .13812        .28525E-04   -.89277E-05
   4  Prefactor     .95601        .21183E-01    .50387E-05   -.28880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14751
  Index      = 4.09562
  Normalizat = 1.29115
  Prefactor  = 0.956011
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.57     FROM HESSE     STATUS=OK            23 CALLS      498 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1475        2.4115        .37400E-06   -1.5687    
   2  Index         4.0956        2.0413        .10374E-03   -.18188    
   3  Normalizat    1.2912        .13784        .57049E-05   -.83831    
   4  Prefactor     .95601        .21058E-01    .10077E-05   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84861e-13
Minuit parameter uncertainties:
  1  2.41153
  2  2.10499
  3  0.137884
  4  0.0210584
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) = 71337.5665063
delta logL = 0.379104268286

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.148e+00  2.412e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  4.096e+00  2.105e+00  0.000e+00  1.000e+01 (-1.000e+00)
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.560e-01  2.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.291e+00  1.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 34.353 73.880
Photon Index (Free Index): 4.10 +/- 2.10
Photon Flux (Free Index): 7.40e-08 +/- 4.35e-08
Energy Flux (Free Index): 1.09e-05 +/- 7.21e-06

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/38279355/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='1.09e-05', photon_flux_error='3.73e-08', dlogl='3.79e-01', energy_flux='1.13e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2026-09-15 02:13:28.996695', photon_index_error2='2.10', photon_index2='4.10', ts='2.61', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='7.21e-06', EG='1.32', time_epoch_completed='1789463609.0', return_code='0', job_id='38279355', GAL2='0.96', EG2='1.29', return_code2='0', energy_flux_error='7.68e-06', photon_flux_error2='4.35e-08', ts2='3.48', photon_index='2.94' WHERE bin_id='945' AND source_name='4FGL J0217.4+7352' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 02:13:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  2.387e+00  1.619e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.538e-01  2.077e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.315e+00  1.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Index (Fixed Index): 2.94 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 7.68e-06

TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Flux Upper Limit: 1.21267177432e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00967182713116 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279438/likelihoodResults_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 71337.5897338
delta logL = 0.355876733447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 71337.5665106
delta logL = 0.379099945174

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   71337.57     FROM MIGRAD    STATUS=FAILED       108 CALLS      358 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .15821E-04   -.91981E-03
   2  Index         4.0956        6.9558        .12968E-01    .12635E-02
   3  Normalizat    1.2912        .13052        .71311E-03   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .12597E-03   -.25992E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   71337.57     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      443 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .12305E-04   -.91981E-03
   2  Index         4.0956        6.9558        .21855E-02    .12635E-02
   3  Normalizat    1.2912        .13052        .89909E-04   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .10145E-04   -.25992E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   71337.57     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      475 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        3.2734        .63282E-06   -.10311E-02
   2  Index         4.0956        2.7002        .25936E-02   -.46989E-05
   3  Normalizat    1.2912        .13812        .28525E-04   -.89277E-05
   4  Prefactor     .95601        .21183E-01    .50387E-05   -.28880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14751
  Index      = 4.09562
  Normalizat = 1.29115
  Prefactor  = 0.956011
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.57     FROM HESSE     STATUS=OK            23 CALLS      498 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1475        2.4115        .37400E-06   -1.5687    
   2  Index         4.0956        2.0413        .10374E-03   -.18188    
   3  Normalizat    1.2912        .13784        .57049E-05   -.83831    
   4  Prefactor     .95601        .21058E-01    .10077E-05   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84861e-13
Minuit parameter uncertainties:
  1  2.41153
  2  2.10499
  3  0.137884
  4  0.0210584
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) = 71337.5665063
delta logL = 0.379104268286

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.148e+00  2.412e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  4.096e+00  2.105e+00  0.000e+00  1.000e+01 (-1.000e+00)
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.560e-01  2.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.291e+00  1.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 34.353 73.880
Photon Index (Free Index): 4.10 +/- 2.10
Photon Flux (Free Index): 7.40e-08 +/- 4.35e-08
Energy Flux (Free Index): 1.09e-05 +/- 7.21e-06

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/38279438/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='1.09e-05', photon_flux_error='3.73e-08', dlogl='3.79e-01', energy_flux='1.13e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2026-09-15 02:13:54.498730', photon_index_error2='2.10', photon_index2='4.10', ts='2.61', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='7.21e-06', EG='1.32', time_epoch_completed='1789463634.5', return_code='0', job_id='38279438', GAL2='0.96', EG2='1.29', return_code2='0', energy_flux_error='7.68e-06', photon_flux_error2='4.35e-08', ts2='3.48', photon_index='2.94' WHERE bin_id='945' AND source_name='4FGL J0217.4+7352' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 02:13:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  2.387e+00  1.619e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  2.940e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.538e-01  2.077e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.315e+00  1.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Index (Fixed Index): 2.94 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 7.68e-06

TS (Fixed Index): 2.61
Ra Dec: 34.353 73.880
Photon Flux Upper Limit: 1.21267177432e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00967182713116 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38279404/likelihoodResults_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 71337.5897338
delta logL = 0.355876733447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 71337.5665106
delta logL = 0.379099945174

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   71337.57     FROM MIGRAD    STATUS=FAILED       108 CALLS      358 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .15821E-04   -.91981E-03
   2  Index         4.0956        6.9558        .12968E-01    .12635E-02
   3  Normalizat    1.2912        .13052        .71311E-03   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .12597E-03   -.25992E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   71337.57     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      443 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        19.083        .12305E-04   -.91981E-03
   2  Index         4.0956        6.9558        .21855E-02    .12635E-02
   3  Normalizat    1.2912        .13052        .89909E-04   -.84175E-05
   4  Prefactor     .95601        .20823E-01    .10145E-04   -.25992E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   71337.57     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      475 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1475        3.2734        .63282E-06   -.10311E-02
   2  Index         4.0956        2.7002        .25936E-02   -.46989E-05
   3  Normalizat    1.2912        .13812        .28525E-04   -.89277E-05
   4  Prefactor     .95601        .21183E-01    .50387E-05   -.28880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14751
  Index      = 4.09562
  Normalizat = 1.29115
  Prefactor  = 0.956011
 **********
 **   18 **HESSE 
 **********

 FCN=   71337.57     FROM HESSE     STATUS=OK            23 CALLS      498 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1475        2.4115        .37400E-06   -1.5687    
   2  Index         4.0956        2.0413        .10374E-03   -.18188    
   3  Normalizat    1.2912        .13784        .57049E-05   -.83831    
   4  Prefactor     .95601        .21058E-01    .10077E-05   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84861e-13
Minuit parameter uncertainties:
  1  2.41153
  2  2.10499
  3  0.137884
  4  0.0210584
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) = 71337.5665063
delta logL = 0.379104268286

Extracting fit parameters...

4FGL J0217.4+7352
   Spectrum: PowerLaw
214    Prefactor:  1.148e+00  2.412e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        Index:  4.096e+00  2.105e+00  0.000e+00  1.000e+01 (-1.000e+00)
216        Scale:  3.641e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.560e-01  2.106e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.291e+00  1.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 34.353 73.880
Photon Index (Free Index): 4.10 +/- 2.10
Photon Flux (Free Index): 7.40e-08 +/- 4.35e-08
Energy Flux (Free Index): 1.09e-05 +/- 7.21e-06

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/38279404/cmap_HighResolution_810518401_811123201_4FGL_J0217.4+7352_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='1.09e-05', photon_flux_error='3.73e-08', dlogl='3.79e-01', energy_flux='1.13e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2026-09-15 02:14:42.740903', photon_index_error2='2.10', photon_index2='4.10', ts='2.61', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='7.21e-06', EG='1.32', time_epoch_completed='1789463682.74', return_code='0', job_id='38279404', GAL2='0.96', EG2='1.29', return_code2='0', energy_flux_error='7.68e-06', photon_flux_error2='4.35e-08', ts2='3.48', photon_index='2.94' WHERE bin_id='945' AND source_name='4FGL J0217.4+7352' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 02:14:42 PDT 2026

