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


Performing analysis on: 4FGL_J0607.4+4739_weekly_bin945
RA = 91.8571, Dec = 47.6635
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38288046', job_status='RUN', time_executed='2026-09-15 04:27:33.422943', time_epoch_executed='1789471653.42' WHERE source_name='4FGL J0607.4+4739' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38288046

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38288046/ft1_4FGL_J0607.4+4739_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38288046/ft1_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288046/ft1_filteredMKT_4FGL_J0607.4+4739_weekly_bin945.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.41
user 5.01
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits

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

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

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

Number of photons that the gtmktime cut: 4169

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J0607.4+4739_weekly_bin945
RA = 91.8571, Dec = 47.6635
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38288033', job_status='RUN', time_executed='2026-09-15 04:27:29.071675', time_epoch_executed='1789471649.07' WHERE source_name='4FGL J0607.4+4739' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38288033

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38288033/ft1_4FGL_J0607.4+4739_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38288033/ft1_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288033/ft1_filteredMKT_4FGL_J0607.4+4739_weekly_bin945.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.50
user 5.94
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits

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

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

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

Number of photons that the gtmktime cut: 4169

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA"number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0607.4+4739_weekly_bin945
RA = 91.8571, Dec = 47.6635
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38288086', job_status='RUN', time_executed='2026-09-15 04:28:22.367023', time_epoch_executed='1789471702.37' WHERE source_name='4FGL J0607.4+4739' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38288086

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38288086/ft1_4FGL_J0607.4+4739_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38288086/ft1_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288086/ft1_filteredMKT_4FGL_J0607.4+4739_weekly_bin945.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.78
user 5.38
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits

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

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

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

Number of photons that the gtmktime cut: 4169

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38288046/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 16.71
user 16.30
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38288046/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288046/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38288046/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 64.40
user 60.23
sys 3.71

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0607.4+4739 @ 91.8571 47.6635

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits scfile=/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288046/cmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=91.8571 yref=47.6635 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.49
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits scfile=/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288046/cmap_HighResolution_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=91.8571 yref=47.6635 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.45
user 0. outfile=/lscratch/kocevski/38288033/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 20.36
user 19.41
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38288033/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288033/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38288033/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 76.65
user 71.49
sys 4.38

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0607.4+4739 @ 91.8571 47.6635

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits scfile=/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288033/cmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=91.8571 yref=47.6635 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.63
user 0.26
sys 0.11

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

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

This is gtbin version HEAD
real 0.75
user 0. outfile=/lscratch/kocevski/38288086/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 18.63
user 18.19
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38288086/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288086/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38288086/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
.....................!
real 69.51
user 64.87
sys 4.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0607.4+4739 @ 91.8571 47.6635

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits scfile=/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288086/cmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=91.8571 yref=47.6635 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.47
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits scfile=/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits outfile=/lscratch/kocevski/38288086/cmap_HighResolution_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=91.8571 yref=47.6635 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.47
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38288046/Model_4FGL_J0607.4+4739_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits.....................!
real 312.68
user 309.64
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits', '/lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits', expMap='/lscratch/kocevski/38288046/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', expCube='/lscratch/kocevski/38288046/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38288046/Model_4FGL_J0607.4+4739_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0607.4+4739'

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38288046/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38288046/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38288046/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38288046/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38288046/Model_4FGL_J0607.4+4739_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.152       1.0000          .0000       .10000E+07
     2 'norm      '    1.4470       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.061       1.0000          .0000       .10000E+07
     4 'norm      '    2.5949       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.531       1.0000          .0000       .10000E+07
     6 'norm      '    1.3300       1.0000          .0000       .10000E+07
     7 'norm      '    .44132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .66054E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25724E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80774E-05   1.0000          .0000       .10000E+07
    11 'norm      '    3.6141       1.0000          .0000       .10000E+07
    12 'norm      '    1.6344       1.0000          .0000       .10000E+07
    13 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.6335       1.0000          .0000       .10000E+07
    15 'Prefactor '    .37053E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2652       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42497.60     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      961 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.711        9.2870        .64007E-05   -.21345E-01
   2  norm          1.4473        .62837       -.74713E-07   -.27526E-02
   3  Prefactor     18.534        9.6161       -.57035E-05   -.39002E-01
   4  norm          2.5903        1.3679        .21266E-06    .23812E-01
   5  Prefactor     23.398        2.5149       -.12491E-05    .72398E-01
   6  norm          1.3313        .98700       -.37959E-07    .12081E-01
   7  norm          .43981        1.1024       -.19997E-06    .17128E-01
   8  Prefactor     .11102E-09    4.8877       -.25603E-05** at limit **
   9  Prefactor     .72164E-09    2.0897       -.64854E-06** at limit **
  10  Prefactor      .0000        12.075       -.38609E-05** at limit **
  11  norm          3.6147        2.0216        .21891E-08    .53334E-02
  12  norm          1.6329        1.4079       -.23001E-06    .13562E-01
  13  norm           .0000        .83086       -.37062E-06** at limit **
  14  Prefactor     2.6483        3.2035       -.37470E-06   -.15209E-01
  15  Prefactor     .55511E-10    3.7856        .72645E-06** at limit **
  16  Normalizat    1.2651        .12960        .17925E-05   -.48803E-05
  17  Prefactor     1.0046        .32385E-01   -.71108E-06   -.95469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7115
  norm       = 1.44728
  Prefactor  = 18.5339
  norm       = 2.59032
  Prefactor  = 23.3976
  norm       = 1.33125
  norm       = 0.439812
  Prefactor  = 1.11022e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 3.61474
  norm       = 1.63287
  norm       = 0
  Prefactor  = 2.64828
  Prefactor  = 5.55112e-11
  Normalizat = 1.26515
  Prefactor  = 1.00464
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.60     FROM HESSE     STATUS=OK           263 CALLS     1224 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.711        13.209        .26599E-03   -1.5634    
   2  norm          1.4473        .63564        .89571E-03   -1.5684    
   3  Prefactor     18.534        12.964        .23540E-03   -1.5622    
   4  norm          2.5903        1.3818        .63313E-03   -1.5676    
   5  Prefactor     23.398        17.862        .20620E-03   -1.5611    
   6  norm          1.3313        .99238        .95195E-03   -1.5685    
   7  norm          .43981        1.1064        .84847E-03   -1.5695    
   8  Prefactor     .11102E-09    4.8322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72164E-09    2.0968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        12.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6147        2.0290        .53123E-03   -1.5670    
  12  norm          1.6329        1.4249        .82658E-03   -1.5682    
  13  norm           .0000        .83334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6483        3.2064        .62810E-03   -1.5675    
  15  Prefactor     .55511E-10    3.7997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2651        .12282        .11307       -.84613    
  17  Prefactor     1.0046        .31030E-01    .31618E-01   -.92575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83503e-07
Minuit parameter uncertainties:
  1  13.2094
  2  0.635639
  3  12.964
  4  1.38183
  5  17.8625
  6  0.992379
  7  1.10639
  8  4.30092e-05
  9  7.63049e-05
  10  9.97291e-06
  11  2.02898
  12  1.4249
  13  5.98182e-06
  14  3.20637
  15  3.16636e-05
  16  0.122849
  17  0.0310304
Done.

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

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.331e+00  9.924e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.103e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.265e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 91.857 47.663
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 1.43e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 7.79e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5805662
delta logL = 0.0217704430834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5803896
delta logL = 0.0219469960648

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   42497.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3378        21.038        .94757E-03    .13860E-01
   2  alpha         2.0636        3.3400        .41972        .49849E-04
   3  Normalizat    1.2628        .67175E-01    .11316        .11036E-03
   4  Prefactor     1.0047        .12451E-01    .31616E-01   -.45803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33783
  alpha      = 2.06355
  Normalizat = 1.2628
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.58     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3378        .98322        .16883E-04   -1.5685    
   2  alpha         2.0636        .60169        .35877E-01   -.17548    
   3  Normalizat    1.2628        .12562        .50178E-03   -.84684    
   4  Prefactor     1.0047        .31706E-01    .13971E-03   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88705e-12
Minuit parameter uncertainties:
  1  0.98322
  2  0.607849
  3  0.125649
  4  0.0317067
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) = 42497.5803894
delta logL = 0.0219472570971

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.338e+00  9.832e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.064e+00  6.078e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.171e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.263e+00  1.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 91.857 47.663
Photon Index (Free Index): 2.06 +/- 0.61
Photon Flux (Free Index): 1.72e-08 +/- 1.83e-08
Energy Flux (Free Index): 9.84e-06 +/- 7.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38288046/cmap_HighResolution_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-08', energy_flux2='9.84e-06', photon_flux_error='1.07e-08', dlogl='2.19e-02', energy_flux='1.05e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2026-09-15 04:40:09.761556', photon_index_error2='0.61', photon_index2='2.06', ts='4.63', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='7.78e-06', EG='1.27', time_epoch_completed='1789472409.76', return_code='0', job_id='38288046', GAL2='1.00', EG2='1.26', return_code2='0', energy_flux_error='7.79e-06', photon_flux_error2='1.83e-08', ts2='4.67', photon_index='1.94' WHERE bin_id='945' AND source_name='4FGL J0607.4+4739' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 04:40:09 PDT 2026

24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38288086/Model_4FGL_J0607.4+4739_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits.....................!
real 356.35
user 352.57
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits', '/lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits', expMap='/lscratch/kocevski/38288086/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', expCube='/lscratch/kocevski/38288086/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38288086/Model_4FGL_J0607.4+4739_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0607.4+4739'

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38288086/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38288086/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38288086/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38288086/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38288086/Model_4FGL_J0607.4+4739_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.152       1.0000          .0000       .10000E+07
     2 'norm      '    1.4470       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.061       1.0000          .0000       .10000E+07
     4 'norm      '    2.5949       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.531       1.0000          .0000       .10000E+07
     6 'norm      '    1.3300       1.0000          .0000       .10000E+07
     7 'norm      '    .44132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .66054E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25724E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80774E-05   1.0000          .0000       .10000E+07
    11 'norm      '    3.6141       1.0000          .0000       .10000E+07
    12 'norm      '    1.6344       1.0000          .0000       .10000E+07
    13 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.6335       1.0000          .0000       .10000E+07
    15 'Prefactor '    .37053E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2652       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0047       1.0000          .0000       10.00026
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38288033/Model_4FGL_J0607.4+4739_weekly_bin945.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits.....................!
real 375.52
user 371.24
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits', '/lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits', expMap='/lscratch/kocevski/38288033/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', expCube='/lscratch/kocevski/38288033/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38288033/Model_4FGL_J0607.4+4739_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0607.4+4739'

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38288033/ft1_filtered_4FGL_J0607.4+4739_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38288033/ft2_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38288033/expmap_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38288033/ltcube_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38288033/Model_4FGL_J0607.4+4739_weekly_bin945.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.152       1.0000          .0000       .10000E+07
     2 'norm      '    1.4470       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.061       1.0000          .0000       .10000E+07
     4 'norm      '    2.5949       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.531       1.0000          .0000       .10000E+07
     6 'norm      '    1.3300       1.0000          .0000       .10000E+07
     7 'norm      '    .44132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .66054E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .25724E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80774E-05   1.0000          .0000       .10000E+07
    11 'norm      '    3.6141       1.0000          .0000       .10000E+07
    12 'norm      '    1.6344       1.0000          .0000       .10000E+07
    13 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.6335       1.0000          .0000       .10000E+07
    15 'Prefactor '    .37053E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2652       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42497.60     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      961 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.711        9.2870        .64007E-05   -.21345E-01
   2  norm          1.4473        .62837       -.74713E-07   -.27526E-02
   3  Prefactor     18.534        9.6161       -.57035E-05   -.39002E-01
   4  norm          2.5903        1.3679        .21266E-06    .23812E-01
   5  Prefactor     23.398        2.5149       -.12491E-05    .72398E-01
   6  norm          1.3313        .98700       -.37959E-07    .12081E-01
   7  norm          .43981        1.1024       -.19997E-06    .17128E-01
   8  Prefactor     .11102E-09    4.8877       -.25603E-05** at limit **
   9  Prefactor     .72164E-09    2.0897       -.64854E-06** at limit **
  10  Prefactor      .0000        12.075       -.38609E-05** at limit **
  11  norm          3.6147        2.0216        .21891E-08    .53334E-02
  12  norm          1.6329        1.4079       -.23001E-06    .13562E-01
  13  norm           .0000        .83086       -.37062E-06** at limit **
  14  Prefactor     2.6483        3.2035       -.37470E-06   -.15209E-01
  15  Prefactor     .55511E-10    3.7856        .72645E-06** at limit **
  16  Normalizat    1.2651        .12960        .17925E-05   -.48803E-05
  17  Prefactor     1.0046        .32385E-01   -.71108E-06   -.95469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7115
  norm       = 1.44728
  Prefactor  = 18.5339
  norm       = 2.59032
  Prefactor  = 23.3976
  norm       = 1.33125
  norm       = 0.439812
  Prefactor  = 1.11022e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 3.61474
  norm       = 1.63287
  norm       = 0
  Prefactor  = 2.64828
  Prefactor  = 5.55112e-11
  Normalizat = 1.26515
  Prefactor  = 1.00464
    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   42497.60     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      961 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.711        9.2870        .64007E-05   -.21345E-01
   2  norm          1.4473        .62837       -.74713E-07   -.27526E-02
   3  Prefactor     18.534        9.6161       -.57035E-05   -.39002E-01
   4  norm          2.5903        1.3679        .21266E-06    .23812E-01
   5  Prefactor     23.398        2.5149       -.12491E-05    .72398E-01
   6  norm          1.3313        .98700       -.37959E-07    .12081E-01
   7  norm          .43981        1.1024       -.19997E-06    .17128E-01
   8  Prefactor     .11102E-09    4.8877       -.25603E-05** at limit **
   9  Prefactor     .72164E-09    2.0897       -.64854E-06** at limit **
  10  Prefactor      .0000        12.075       -.38609E-05** at limit **
  11  norm          3.6147        2.0216        .21891E-08    .53334E-02
  12  norm          1.6329        1.4079       -.23001E-06    .13562E-01
  13  norm           .0000        .83086       -.37062E-06** at limit **
  14  Prefactor     2.6483        3.2035       -.37470E-06   -.15209E-01
  15  Prefactor     .55511E-10    3.7856        .72645E-06** at limit **
  16  Normalizat    1.2651        .12960        .17925E-05   -.48803E-05
  17  Prefactor     1.0046        .32385E-01   -.71108E-06   -.95469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7115
  norm       = 1.44728
  Prefactor  = 18.5339
  norm       = 2.59032
  Prefactor  = 23.3976
  norm       = 1.33125
  norm       = 0.439812
  Prefactor  = 1.11022e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 3.61474
  norm       = 1.63287
  norm       = 0
  Prefactor  = 2.64828
  Prefactor  = 5.55112e-11
  Normalizat = 1.26515
  Prefactor  = 1.00464
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.60     FROM HESSE     STATUS=OK           263 CALLS     1224 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.711        13.209        .26599E-03   -1.5634    
   2  norm          1.4473        .63564        .89571E-03   -1.5684    
   3  Prefactor     18.534        12.964        .23540E-03   -1.5622    
   4  norm          2.5903        1.3818        .63313E-03   -1.5676    
   5  Prefactor     23.398        17.862        .20620E-03   -1.5611    
   6  norm          1.3313        .99238        .95195E-03   -1.5685    
   7  norm          .43981        1.1064        .84847E-03   -1.5695    
   8  Prefactor     .11102E-09    4.8322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72164E-09    2.0968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        12.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6147        2.0290        .53123E-03   -1.5670    
  12  norm          1.6329        1.4249        .82658E-03   -1.5682    
  13  norm           .0000        .83334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6483        3.2064        .62810E-03   -1.5675    
  15  Prefactor     .55511E-10    3.7997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2651        .12282        .11307       -.84613    
  17  Prefactor     1.0046        .31030E-01    .31618E-01   -.92575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83503e-07
Minuit parameter uncertainties:
  1  13.2094
  2  0.635639
  3  12.964
  4  1.38183
  5  17.8625
  6  0.992379
  7  1.10639
  8  4.30092e-05
  9  7.63049e-05
  10  9.97291e-06
  11  2.02898
  12  1.4249
  13  5.98182e-06
  14  3.20637
  15  3.16636e-05
  16  0.122849
  17  0.0310304
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.60     FROM HESSE     STATUS=OK           263 CALLS     1224 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.711        13.209        .26599E-03   -1.5634    
   2  norm          1.4473        .63564        .89571E-03   -1.5684    
   3  Prefactor     18.534        12.964        .23540E-03   -1.5622    
   4  norm          2.5903        1.3818        .63313E-03   -1.5676    
   5  Prefactor     23.398        17.862        .20620E-03   -1.5611    
   6  norm          1.3313        .99238        .95195E-03   -1.5685    
   7  norm          .43981        1.1064        .84847E-03   -1.5695    
   8  Prefactor     .11102E-09    4.8322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72164E-09    2.0968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        12.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6147        2.0290        .53123E-03   -1.5670    
  12  norm          1.6329        1.4249        .82658E-03   -1.5682    
  13  norm           .0000        .83334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6483        3.2064        .62810E-03   -1.5675    
  15  Prefactor     .55511E-10    3.7997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2651        .12282        .11307       -.84613    
  17  Prefactor     1.0046        .31030E-01    .31618E-01   -.92575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83503e-07
Minuit parameter uncertainties:
  1  13.2094
  2  0.635639
  3  12.964
  4  1.38183
  5  17.8625
  6  0.992379
  7  1.10639
  8  4.30092e-05
  9  7.63049e-05
  10  9.97291e-06
  11  2.02898
  12  1.4249
  13  5.98182e-06
  14  3.20637
  15  3.16636e-05
  16  0.122849
  17  0.0310304
Done.

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

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.331e+00  9.924e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.103e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.265e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 91.857 47.663
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 1.43e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 7.79e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5805662
delta logL = 0.0217704430834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5803896
delta logL = 0.0219469960648

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   42497.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3378        21.038        .94757E-03    .13860E-01
   2  alpha         2.0636        3.3400        .41972        .49849E-04
   3  Normalizat    1.2628        .67175E-01    .11316        .11036E-03
   4  Prefactor     1.0047        .12451E-01    .31616E-01   -.45803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33783
  alpha      = 2.06355
  Normalizat = 1.2628
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.58     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3378        .98322        .16883E-04   -1.5685    
   2  alpha         2.0636        .60169        .35877E-01   -.17548    
   3  Normalizat    1.2628        .12562        .50178E-03   -.84684    
   4  Prefactor     1.0047        .31706E-01    .13971E-03   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88705e-12
Minuit parameter uncertainties:
  1  0.98322
  2  0.607849
  3  0.125649
  4  0.0317067
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) = 42497.5803894
delta logL = 0.0219472570971

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.338e+00  9.832e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.064e+00  6.078e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.171e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.263e+00  1.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 91.857 47.663
Photon Index (Free Index): 2.06 +/- 0.61
Photon Flux (Free Index): 1.72e-08 +/- 1.83e-08
Energy Flux (Free Index): 9.84e-06 +/- 7.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38288086/cmap_HighResolution_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-08', energy_flux2='9.84e-06', photon_flux_error='1.07e-08', dlogl='2.19e-02', energy_flux='1.05e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2026-09-15 04:42:25.357727', photon_index_error2='0.61', photon_index2='2.06', ts='4.63', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='7.78e-06', EG='1.27', time_epoch_completed='1789472545.36', return_code='0', job_id='38288086', GAL2='1.00', EG2='1.26', return_code2='0', energy_flux_error='7.79e-06', photon_flux_error2='1.83e-08', ts2='4.67', photon_index='1.94' WHERE bin_id='945' AND source_name='4FGL J0607.4+4739' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 04:42:25 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.331e+00  9.924e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.103e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.265e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.63
Ra Dec: 91.857 47.663
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 1.43e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 7.79e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5805662
delta logL = 0.0217704430834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 42497.5803896
delta logL = 0.0219469960648

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   42497.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3378        21.038        .94757E-03    .13860E-01
   2  alpha         2.0636        3.3400        .41972        .49849E-04
   3  Normalizat    1.2628        .67175E-01    .11316        .11036E-03
   4  Prefactor     1.0047        .12451E-01    .31616E-01   -.45803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33783
  alpha      = 2.06355
  Normalizat = 1.2628
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   42497.58     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3378        .98322        .16883E-04   -1.5685    
   2  alpha         2.0636        .60169        .35877E-01   -.17548    
   3  Normalizat    1.2628        .12562        .50178E-03   -.84684    
   4  Prefactor     1.0047        .31706E-01    .13971E-03   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88705e-12
Minuit parameter uncertainties:
  1  0.98322
  2  0.607849
  3  0.125649
  4  0.0317067
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) = 42497.5803894
delta logL = 0.0219472570971

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.338e+00  9.832e-01  0.000e+00  1.000e+06 ( 1.000e-12)
255        alpha:  2.064e+00  6.078e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  7.395e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.005e+00  3.171e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.263e+00  1.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 91.857 47.663
Photon Index (Free Index): 2.06 +/- 0.61
Photon Flux (Free Index): 1.72e-08 +/- 1.83e-08
Energy Flux (Free Index): 9.84e-06 +/- 7.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38288033/cmap_HighResolution_810518401_811123201_4FGL_J0607.4+4739_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-08', energy_flux2='9.84e-06', photon_flux_error='1.07e-08', dlogl='2.19e-02', energy_flux='1.05e-05', photon_flux2='1.72e-08', job_status='DONE', time_completed='2026-09-15 04:42:46.983825', photon_index_error2='0.61', photon_index2='2.06', ts='4.63', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='7.78e-06', EG='1.27', time_epoch_completed='1789472566.98', return_code='0', job_id='38288033', GAL2='1.00', EG2='1.26', return_code2='0', energy_flux_error='7.79e-06', photon_flux_error2='1.83e-08', ts2='4.67', photon_index='1.94' WHERE bin_id='945' AND source_name='4FGL J0607.4+4739' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 04:42:47 PDT 2026

