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


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847376', job_status='RUN', time_executed='2026-05-19 03:03:11.651514', time_epoch_executed='1779184991.65' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847376

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847376/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.28
user 4.59
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.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 = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847364', job_status='RUN', time_executed='2026-05-19 03:03:12.791915', time_epoch_executed='1779184992.79' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847364

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847364/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.67
user 4.86
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

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

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

Working on file /lscratch/kocevski/26847362/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 16.42
user 15.73
sys 0.19

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847362/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 61.07
user 56.62
sys 3.62

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

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

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

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

This is gtbin version HEAD
real 0.80
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847362/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847362/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847362/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 librarynumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847458', job_status='RUN', time_executed='2026-05-19 03:04:17.831982', time_epoch_executed='1779185057.83' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847458

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847458/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.14
user 4.38
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

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

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

Working on file /lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 18.84
user 18.00
sys 0.23

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847376/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 70.46
user 65.60
sys 3.99

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

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847376/cmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=56.7527 yref=48.7376 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.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847376/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 outfile=/lscratch/kocevski/26847364/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 20.02
user 19.07
sys 0.26

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847364/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 73.60
user 68.39
sys 4.24

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 172 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

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

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

This is gtbin version HEAD
real 1.05
user 0.27
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847364/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847364/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 librarynumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847499', job_status='RUN', time_executed='2026-05-19 03:05:16.534231', time_epoch_executed='1779185116.53' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847499

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847499/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.27
user 4.58
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

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

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

Working on file /lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 17.90
user 17.11
sys 0.26

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847458/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 65.64
user 61.04
sys 3.89

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 172 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

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

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

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847458/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847458/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 librarynumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847532', job_status='RUN', time_executed='2026-05-19 03:06:11.432771', time_epoch_executed='1779185171.43' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847532

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847532/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.36
user 4.64
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

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

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

Working on file /lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 18.84
user 18.09
sys 0.21

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847499/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 70.79
user 65.81
sys 4.15

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 172 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847499/cmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=56.7527 yref=48.7376 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847499/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 librarynumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0347.0+4844_weekly_bin928
RA = 56.7527, Dec = 48.7376
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26847591', job_status='RUN', time_executed='2026-05-19 03:07:17.710930', time_epoch_executed='1779185237.71' WHERE source_name='4FGL J0347.0+4844' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26847591

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26847591/ft1_4FGL_J0347.0+4844_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits


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

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

Done.
real 5.92
user 4.76
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 5148

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

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

Working on file /lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 18.99
user 18.23
sys 0.26

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847532/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 71.21
user 66.02
sys 4.21

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 172 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847532/cmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=56.7527 yref=48.7376 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.84
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits scfile=/lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits outfile=/lscratch/kocevski/26847532/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=56.7527 yref=48.7376 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 outfile=/lscratch/kocevski/26847591/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 20.36
user 19.40
sys 0.23

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26847591/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
.....................!
real 71.04
user 66.02
sys 4.10

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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 HB 3 in ROI with RadialDisk spatial model.
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 172 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0347.0+4844 @ 56.7527 48.7376

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

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

This is gtbin version HEAD
real 0.79
user 0.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.78
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847362/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847362/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847362/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847362/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 308.82
user 305.58
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847362/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847362/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847362/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847362/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847362/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847362/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847362/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847362/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847362/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847362/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 (v3.41).

This is gtbin version HEAD
real 0.79
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847376/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 329.32
user 325.78
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847376/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847376/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847376/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847376/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847376/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847376/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847376/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847376/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 (v3.41).

This is gtbin version HEAD
real 0.84
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847364/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847364/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847364/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 345.76
user 341.90
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847364/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847364/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847364/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847364/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847364/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847364/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847364/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847364/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847364/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05  **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
 (v3.41).

This is gtbin version HEAD
real 0.82
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847458/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847458/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847458/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 328.41
user 325.62
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847458/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847458/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847458/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847458/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847458/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847458/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847458/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847458/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847458/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
  .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 (v3.41).

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847499/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 336.40
user 332.88
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847499/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847499/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847499/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847499/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847499/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847499/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847499/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847499/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05  **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
  .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847362/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 (v3.41).

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847532/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 341.81
user 337.21
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847532/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847532/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847532/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847532/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847532/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847532/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847532/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847532/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05  **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847362/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:21:23.188990', job_id='26847362', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186083.19', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:21:23 PDT 2026

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

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
  .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847376/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847376/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:22:22.810625', job_id='26847376', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186142.81', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:22:23 PDT 2026

 (v3.41).

This is gtbin version HEAD
real 0.75
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26847591/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26847591/Model_4FGL_J0347.0+4844_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/26847591/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits.....................!
real 343.90
user 339.74
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26847591/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits', '/lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits', expMap='/lscratch/kocevski/26847591/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', expCube='/lscratch/kocevski/26847591/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26847591/Model_4FGL_J0347.0+4844_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0347.0+4844'

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  4.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26847591/ft1_filtered_4FGL_J0347.0+4844_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26847591/ft2_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26847591/expmap_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26847591/ltcube_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26847591/Model_4FGL_J0347.0+4844_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17213E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .99375       1.0000          .0000       .10000E+07
     3 'norm      '    3.4360       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55889E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4580       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16443E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84549E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .14017E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0766       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    16.546       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8980       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.7775       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05  **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847364/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847364/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:23:26.179769', job_id='26847364', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186206.18', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:23:26 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847458/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
  .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      833 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86255E-05    24.065        .96457E-05** at limit **
   2  Prefactor     .99469        1.8021       -.10270E-06   -.79819E-02
   3  norm          3.4352        2.6539       -.18223E-06   -.95294E-02
   4  Prefactor     .38858E-09    4.3735       -.29500E-05** at limit **
   5  norm          2.4578        .58026        .38351E-07    .52409E-03
   6  Prefactor     .10549E-04    37.527       -.89671E-05** at limit **
   7  Prefactor      .0000        7.5808       -.39161E-06** at limit **
   8  norm          .12057E-06    18.736       -.11917E-05** at limit **
   9  Prefactor     15.760        15.495       -.11261E-04   -.37800E-01
  10  Prefactor     3.0791        2.8641        .36059E-06    .63390E-02
  11  Prefactor     .27761E-04    15.676        .81562E-05** at limit **
  12  norm          16.468        7.4566        .10528E-06    .53657E-02
  13  Prefactor     5.8970        5.3129        .88668E-06   -.13006E-01
  14  Normalizat    1.7776        .24558       -.12447E-04   -.20630E-03
  15  Prefactor     .95417        .25431E-01   -.63769E-06    .95834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62549e-06
  Prefactor  = 0.994693
  norm       = 3.43525
  Prefactor  = 3.88578e-10
  norm       = 2.45784
  Prefactor  = 1.05492e-05
  Prefactor  = 0
  norm       = 1.2057e-07
  Prefactor  = 15.7599
  Prefactor  = 3.07909
  Prefactor  = 2.77612e-05
  norm       = 16.468
  Prefactor  = 5.89705
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847458/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:23:42.831181', job_id='26847458', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186222.83', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:23:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847499/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847499/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:24:34.524859', job_id='26847499', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186274.52', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:24:34 PDT 2026

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

 FCN=   48573.44     FROM HESSE     STATUS=OK           214 CALLS     1047 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86255E-05    30.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .99469        1.8025        .43544E-03   -1.5688    
   3  norm          3.4352        2.6542        .54541E-03   -1.5671    
   4  Prefactor     .38858E-09    4.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4578        .57876        .65209E-03   -1.5677    
   6  Prefactor     .10549E-04    45.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        7.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12057E-06    18.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.760        15.622        .25332E-03   -1.5629    
  10  Prefactor     3.0791        2.8692        .57802E-03   -1.5673    
  11  Prefactor     .27761E-04    37.220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.468        7.4440        .24595E-03   -1.5627    
  13  Prefactor     5.8970        5.3314        .41326E-03   -1.5659    
  14  Normalizat    1.7776        .23737        .19488       -.70249    
  15  Prefactor     .95417        .24226E-01    .27008E-01   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94525e-06
Minuit parameter uncertainties:
  1  0.0326685
  2  1.80248
  3  2.65417
  4  8.14061e-05
  5  0.578761
  6  0.0438037
  7  2.48635e-05
  8  0.00301821
  9  15.6216
  10  2.86917
  11  0.0642891
  12  7.44403
  13  5.3314
  14  0.237526
  15  0.0242263
Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847532/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847532/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:25:42.741806', job_id='26847532', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186342.74', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:25:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  0.000e+00  2.486e-05  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  2.577e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  2.423e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 56.753 48.738
Photon Flux Upper Limit: 7.56351094308e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00591083720499 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26847591/likelihoodResults_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48573.5059736
delta logL = -0.0636060716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423701
delta logL = -2.58484942606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.4301       1.0000          .0000       10.000    
     3 'Normalizat'    1.7780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95417       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   48573.44     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      238 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13126E-01    .42118E-03** at limit **
   2  Index         3.0219        5.3887        .50000        .36380E-10
   3  Normalizat    1.7776        .34130E-03    .19488       -.11978E-03
   4  Prefactor     .95417        .36154E-04    .27008E-01   -.15542E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.02194
  Normalizat = 1.77765
  Prefactor  = 0.95417
 **********
 **   18 **HESSE 
 **********

 FCN=   48573.44     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .95E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .99273E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0219        8.4366        .50000       -.40673    
   3  Normalizat    1.7776        .93024E-03    .86828E-03   -.70249    
   4  Prefactor     .95417        .99360E-04    .11936E-03   -.94273    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.54855e-14
Minuit parameter uncertainties:
  1  4.92528e-06
  2  20535.2
  3  0.000930239
  4  9.93602e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 48573.4423676
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J0347.0+4844
   Spectrum: PowerLaw
317    Prefactor:  5.551e-11  4.925e-06  0.000e+00  1.000e+06 ( 1.000e-13)
318        Index:  3.022e+00  2.054e+04  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.017e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.542e-01  9.936e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.778e+00  9.302e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 56.753 48.738

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/26847591/cmap_HighResolution_800236801_800841601_4FGL_J0347.0+4844_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2026-05-19 03:27:37.643682', job_id='26847591', GAL2='0.95', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1779186457.64', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='928' AND source_name='4FGL J0347.0+4844' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:27:37 PDT 2026

