number of points = 17272
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.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224558', job_status='RUN', time_executed='2026-05-26 01:44:39.239969', time_epoch_executed='1779785079.24' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224558

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224558/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224558/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224558/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.35
user 3.80
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.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/27224558/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.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.63
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" o
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)
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224553', job_status='RUN', time_executed='2026-05-26 01:44:27.944859', time_epoch_executed='1779785067.94' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224553

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224553/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224553/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224553/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.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.17
user 4.46
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.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/27224553/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.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.59
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" o
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224561', job_status='RUN', time_executed='2026-05-26 01:44:51.789821', time_epoch_executed='1779785091.79' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224561

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224561/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224561/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224561/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.35
user 3.83
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

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

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

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

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27224503/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224503/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 15.58
user 14.99
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224503/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224503/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224503/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224503/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224503/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 59.76
user 55.51
sys 3.57

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

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

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

This is gtbin version HEAD
real 0.82
user 0.21
sys 0.13

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

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

This is gtbin version HEAD
real 0.70
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224503/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224503/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224503/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALutfile=/lscratch/kocevski/27224518/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 18.33
user 17.62
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224518/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224518/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224518/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 69.58
user 65.01
sys 3.91

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224518/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224518/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.68
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224518/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALutfile=/lscratch/kocevski/27224521/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 19.80
user 19.14
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224521/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224521/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224521/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 69.58
user 65.00
sys 3.95

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

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

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

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224521/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.60
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224521/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALutfile=/lscratch/kocevski/27224549/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 15.43
user 14.90
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224549/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224549/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224549/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 59.56
user 55.56
sys 3.40

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224549/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.61
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224549/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.68
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224549/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALutfile=/lscratch/kocevski/27224532/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 18.37
user 17.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224532/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224532/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224532/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 71.02
user 65.55
sys 4.50

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224532/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.74
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224532/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224532/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224606', job_status='RUN', time_executed='2026-05-26 01:46:40.942028', time_epoch_executed='1779785200.94' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224606

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224606/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224606/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224606/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.46
user 3.84
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.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/27224606/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.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.72
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/27224503/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 53.56
user 51.97
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224503/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224503/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224503/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224503/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224503/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224503/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224503/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224503/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224503/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224503/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
utfile=/lscratch/kocevski/27224558/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 15.70
user 15.15
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224558/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224558/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224558/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 59.46
user 55.47
sys 3.39

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224558/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.61
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224558/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.68
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224558/Model_4FGL_J0217.8+0144_weekly_bin929.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 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
utfile=/lscratch/kocevski/27224561/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 16.03
user 15.39
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224561/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224561/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224561/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 59.67
user 55.47
sys 3.55

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224561/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.20
sys 0.15

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

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

This is gtbin version HEAD
real 0.76
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224561/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALDone.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
utfile=/lscratch/kocevski/27224553/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 18.50
user 17.75
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224553/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224553/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224553/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 70.57
user 65.52
sys 4.29

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224553/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.92
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224553/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.64
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224553/Model_4FGL_J0217.8+0144_weekly_bin929.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 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224503/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:51:35.760531', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785495.76', return_code='0', job_id='27224503', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:51:36 PDT 2026

_V02
Working on...
/lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 62.17
user 60.56
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224518/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224518/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224518/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224518/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224518/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224518/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224518/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224518/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
_V02
Working on...
/lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 63.02
user 61.07
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224521/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224521/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224521/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224521/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224521/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224521/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224521/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224521/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
_V02
Working on...
/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 53.42
user 51.99
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224549/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224549/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224549/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224549/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224549/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224549/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224549/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224549/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224623', job_status='RUN', time_executed='2026-05-26 01:47:25.836065', time_epoch_executed='1779785245.84' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224623

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224623/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224623/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224623/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.76
user 4.06
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.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/27224623/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.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.71
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224639', job_status='RUN', time_executed='2026-05-26 01:48:00.513463', time_epoch_executed='1779785280.51' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224639

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224639/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224639/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224639/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.72
user 4.12
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

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

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

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

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224518/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:52:44.133697', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785564.13', return_code='0', job_id='27224518', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:52:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
_V02
Working on...
/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 62.27
user 60.37
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224532/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224532/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224532/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224532/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224532/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224532/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224532/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224532/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224521/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:52:52.773998', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785572.77', return_code='0', job_id='27224521', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:52:53 PDT 2026

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

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
_V02
Working on...
/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 52.76
user 51.20
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224558/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224558/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224558/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224558/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224558/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224558/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224558/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224558/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224549/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:53:11.106357', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785591.11', return_code='0', job_id='27224549', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:53:11 PDT 2026

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

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
utfile=/lscratch/kocevski/27224606/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 15.76
user 15.09
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224606/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224606/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224606/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 60.07
user 55.91
sys 3.53

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224606/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.60
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224606/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.72
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224606/Model_4FGL_J0217.8+0144_weekly_bin929.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 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
_V02
Working on...
/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 53.36
user 51.76
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224561/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224561/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224561/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224561/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224561/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224561/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224561/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224561/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0217.8+0144_weekly_bin929
RA = 34.4621, Dec = 1.7346
tmin = 800841601, tmax = 801446401
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='27224680', job_status='RUN', time_executed='2026-05-26 01:49:00.810458', time_epoch_executed='1779785340.81' WHERE source_name='4FGL J0217.8+0144' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27224680

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27224680/ft1_4FGL_J0217.8+0144_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27224680/ft1_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224680/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits ra=34.4621 dec=1.7346 rad=12.0 tmin=800841601.0 tmax=801446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.56
user 4.05
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.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/27224680/ft1_filteredMKT_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.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.61
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" oshell-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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224532/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:53:29.964518', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785609.96', return_code='0', job_id='27224532', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:53:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224558/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:53:34.749461', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785614.75', return_code='0', job_id='27224558', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:53:34 PDT 2026

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

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
_V02
Working on...
/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 60.40
user 58.58
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224553/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224553/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224553/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224553/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224553/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224553/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224553/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224553/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224561/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:53:54.679851', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785634.68', return_code='0', job_id='27224561', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:53:54 PDT 2026

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

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224553/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:54:21.601646', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785661.6', return_code='0', job_id='27224553', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:54:21 PDT 2026

utfile=/lscratch/kocevski/27224623/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 17.54
user 16.77
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224623/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224623/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224623/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 64.53
user 60.04
sys 3.78

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224623/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.91
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224623/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.88
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224623/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALutfile=/lscratch/kocevski/27224639/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 17.17
user 16.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224639/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224639/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224639/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 65.46
user 61.14
sys 3.66

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

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

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

This is gtbin version HEAD
real 0.85
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224639/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.93
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224639/Model_4FGL_J0217.8+0144_weekly_bin929.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
Working on...
/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 55.24
user 53.45
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224606/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224606/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224606/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224606/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224606/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224606/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224606/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224606/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
utfile=/lscratch/kocevski/27224680/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 16.48
user 15.94
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27224680/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224680/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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/27224680/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
.....................!
real 63.37
user 58.87
sys 3.79

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
Added 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0217.8+0144 @ 34.4621 1.7346

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits scfile=/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits outfile=/lscratch/kocevski/27224680/cmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.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.4621 yref=1.7346 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.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.71
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27224680/Model_4FGL_J0217.8+0144_weekly_bin929.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 GALshell-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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224606/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:55:50.280113', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785750.28', return_code='0', job_id='27224606', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:55:50 PDT 2026

_V02
Working on...
/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 57.26
user 55.47
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224623/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224623/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224623/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224623/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224623/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224623/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224623/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224623/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
_V02
Working on...
/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 58.29
user 56.44
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224639/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224639/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224639/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224639/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224639/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224639/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224639/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224639/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224623/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:57:37.806109', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785857.81', return_code='0', job_id='27224623', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:57:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224639/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:57:44.200108', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785864.2', return_code='0', job_id='27224639', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:57:44 PDT 2026

_V02
Working on...
/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits.....................!
real 57.01
user 55.37
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits', '/lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits', expMap='/lscratch/kocevski/27224680/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', expCube='/lscratch/kocevski/27224680/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27224680/Model_4FGL_J0217.8+0144_weekly_bin929.xml', optimizer='MINUIT')

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

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  1.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27224680/ft1_filtered_4FGL_J0217.8+0144_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27224680/ft2_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27224680/expmap_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27224680/ltcube_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27224680/Model_4FGL_J0217.8+0144_weekly_bin929.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) = 15221.6047216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86958E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.120       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6256       1.0000          .0000       .10000E+07
     4 'norm      '    6.2691       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8077       1.0000          .0000       .10000E+07
     6 'norm      '    3.5379       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.596       1.0000          .0000       .10000E+07
     8 'Prefactor '    29.974       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7751       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19748E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .67930E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2486       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6303       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60488       1.0000          .0000       .10000E+07
    15 'norm      '    .31926E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.6638       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81711       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15221.57     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1416 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5605       -.16972E-06** at limit **
   2  norm          15.106        9.3037       -.10173E-05   -.28122E-03
   3  Prefactor     6.6460        4.4950       -.27831E-06    .37432E-03
   4  norm          6.2665        3.1930        .14482E-07    .33463E-03
   5  Prefactor     6.7948        2.2078        .38956E-07    .21428E-03
   6  norm          3.5385        .72816       -.85012E-09    .52122E-03
   7  Prefactor     31.374        22.233       -.68681E-06    .46615E-04
   8  Prefactor     32.866        51.357        .24634E-05   -.29830E-03
   9  Prefactor     7.8197        13.693        .72338E-06   -.20150E-03
  10  Prefactor      .0000        6.3333        .20058E-05** at limit **
  11  norm           .0000        3.3672       -.32637E-06** at limit **
  12  Prefactor     1.3862        7.9196       -.74795E-06    .14360E-03
  13  Prefactor     2.9057        104.63       -.41875E-05   -.92970E-04
  14  Prefactor     .65119        4.6617       -.90773E-06   -.80109E-03
  15  norm           .0000        4.1729       -.12270E-05** at limit **
  16  norm          3.6666        3.6181        .71656E-07   -.81720E-03
  17  Normalizat    .81778        .13146       -.32576E-05   -.21969E-04
  18  Prefactor     1.0174        .10023        .24845E-05   -.64609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 15.1055
  Prefactor  = 6.646
  norm       = 6.26653
  Prefactor  = 6.79478
  norm       = 3.53852
  Prefactor  = 31.3741
  Prefactor  = 32.8664
  Prefactor  = 7.81969
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.3862
  Prefactor  = 2.90571
  Prefactor  = 0.651186
  norm       = 0
  norm       = 3.66664
  Normalizat = 0.817776
  Prefactor  = 1.0174
 **********
 **   18 **HESSE 
 **********

 FCN=   15221.57     FROM HESSE     STATUS=OK           288 CALLS     1704 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.106        9.3018        .25731E-03   -1.5630    
   3  Prefactor     6.6460        4.4950        .38961E-03   -1.5656    
   4  norm          6.2665        3.1962        .40068E-03   -1.5658    
   5  Prefactor     6.7948        2.2136        .38431E-03   -1.5656    
   6  norm          3.5385        .72903        .53716E-03   -1.5670    
   7  Prefactor     31.374        22.309        .17793E-03   -1.5596    
   8  Prefactor     32.866        51.083        .18268E-03   -1.5593    
   9  Prefactor     7.8197        13.693        .35938E-03   -1.5652    
  10  Prefactor      .0000        6.3193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.3536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3862        7.9952        .10010E-02   -1.5684    
  13  Prefactor     2.9057        106.09        .46749E-03   -1.5674    
  14  Prefactor     .65119        4.5927        .68792E-03   -1.5692    
  15  norm           .0000        4.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6666        3.6110        .52747E-03   -1.5670    
  17  Normalizat    .81778        .11630        .68582E-01   -.99413    
  18  Prefactor     1.0174        .87762E-01    .42326E-01   -.92152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70181e-06
Minuit parameter uncertainties:
  1  4.45673e-06
  2  9.30183
  3  4.49504
  4  3.19622
  5  2.21361
  6  0.729025
  7  22.3092
  8  51.0841
  9  13.693
  10  1.33351e-06
  11  7.18038e-06
  12  6.65824
  13  35.1156
  14  3.45873
  15  8.34772e-07
  16  3.61095
  17  0.116334
  18  0.0877745
Done.

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

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.539e+00  7.290e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  2.160e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.017e+00  8.777e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.178e-01  1.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 77.10
Ra Dec: 34.462 1.735
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 3.04e-08
Energy Flux (Fixed Index): 6.29e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0158143
delta logL = 1.55061221911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15220.0153227
delta logL = 1.55110380939

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15220.02     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4388        .74555        .54518E-03    .32456E-01
   2  alpha         1.8278        .16868        .19605       -.67476E-04
   3  Normalizat    .85839        .11264        .67161E-01    .47002E-04
   4  Prefactor     1.0015        .82531E-01    .45174E-01    .23973E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43881
  alpha      = 1.82781
  Normalizat = 0.858386
  Prefactor  = 1.00146
 **********
 **   18 **HESSE 
 **********

 FCN=   15220.02     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4388        .77870        .47498E-05   -1.5671    
   2  alpha         1.8278        .18406        .82847E-02   -.27223    
   3  Normalizat    .85839        .12823        .29712E-03   -.97938    
   4  Prefactor     1.0015        .93708E-01    .20434E-03   -.92681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70206e-10
Minuit parameter uncertainties:
  1  0.778696
  2  0.184243
  3  0.128275
  4  0.093723
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) = 15220.0153227
delta logL = 1.55110381028

Extracting fit parameters...

4FGL J0217.8+0144
   Spectrum: LogParabola
242         norm:  3.439e+00  7.787e-01  0.000e+00  1.000e+06 ( 1.000e-11)
243        alpha:  1.828e+00  1.842e-01  0.000e+00  5.000e+00 ( 1.000e+00)
244         beta:  6.385e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
245           Eb:  6.330e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.001e+00  9.372e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.584e-01  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.87
Ra Dec: 34.462 1.735
Photon Index (Free Index): 1.83 +/- 0.18
Photon Flux (Free Index): 1.09e-07 +/- 3.16e-08
Energy Flux (Free Index): 8.48e-05 +/- 2.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27224680/cmap_HighResolution_800841601_801446401_4FGL_J0217.8+0144_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='8.48e-05', photon_flux_error='3.04e-08', dlogl='1.55e+00', energy_flux='6.29e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2026-05-26 01:58:23.165778', photon_index_error2='0.18', photon_index2='1.83', ts='77.10', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.82', time_epoch_completed='1779785903.17', return_code='0', job_id='27224680', GAL2='1.00', EG2='0.86', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.16e-08', ts2='79.87', photon_index='2.16' WHERE bin_id='929' AND source_name='4FGL J0217.8+0144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 01:58:23 PDT 2026

