/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).

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


Performing analysis on: 4FGL_J1630.7+5221_weekly_bin941
RA = 247.682, Dec = 52.3543
tmin = 808099201, tmax = 808704001
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='35289408', job_status='RUN', time_executed='2026-08-18 12:37:34.833527', time_epoch_executed='1787081854.83' WHERE source_name='4FGL J1630.7+5221' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35289408

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35289408/ft1_4FGL_J1630.7+5221_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35289408/ft1_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289408/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits ra=247.682 dec=52.3543 rad=12.0 tmin=808099201.0 tmax=808704001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.09
user 5.19
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.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/35289408/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.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.22
sys 0.12

Number of photons that the gtmktime cut: 1699

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA"/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).

 outfile=/lscratch/kocevski/35289305/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 19.66
user 18.78
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289305/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289305/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289305/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 72.93
user 67.80
sys 4.22

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289305/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.10
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289305/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.94
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289305/Model_4FGL_J1630.7+5221_weekly_bin941.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 sourcnumber of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1630.7+5221_weekly_bin941
RA = 247.682, Dec = 52.3543
tmin = 808099201, tmax = 808704001
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='35289462', job_status='RUN', time_executed='2026-08-18 12:38:25.990094', time_epoch_executed='1787081905.99' WHERE source_name='4FGL J1630.7+5221' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35289462

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35289462/ft1_4FGL_J1630.7+5221_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35289462/ft1_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289462/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits ra=247.682 dec=52.3543 rad=12.0 tmin=808099201.0 tmax=808704001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.35
user 5.44
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.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/35289462/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.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.23
sys 0.13

Number of photons that the gtmktime cut: 1699

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35289312/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 19.62
user 18.47
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289312/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289312/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289312/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 73.51
user 67.77
sys 4.34

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289312/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.94
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289312/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.24
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289312/Model_4FGL_J1630.7+5221_weekly_bin941.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 sourc outfile=/lscratch/kocevski/35289309/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 21.97
user 21.02
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289309/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289309/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289309/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 82.49
user 76.15
sys 4.74

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289309/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.31
user 0.28
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289309/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.08
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289309/Model_4FGL_J1630.7+5221_weekly_bin941.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 sourcnumber of points = 17522
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1630.7+5221_weekly_bin941
RA = 247.682, Dec = 52.3543
tmin = 808099201, tmax = 808704001
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='35289510', job_status='RUN', time_executed='2026-08-18 12:39:07.876663', time_epoch_executed='1787081947.88' WHERE source_name='4FGL J1630.7+5221' and cadence='weekly' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35289510

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35289510/ft1_4FGL_J1630.7+5221_weekly_bin941.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35289510/ft1_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289510/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits ra=247.682 dec=52.3543 rad=12.0 tmin=808099201.0 tmax=808704001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.34
user 5.37
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.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/35289510/ft1_filteredMKT_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" outfile="/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.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 1.07
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 1699

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35289408/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 19.86
user 18.78
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289408/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289408/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289408/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 73.78
user 68.50
sys 4.33

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289408/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.89
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289408/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.90
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289408/Model_4FGL_J1630.7+5221_weekly_bin941.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 sourc outfile=/lscratch/kocevski/35289462/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 20.75
user 20.06
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289462/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289462/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289462/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 78.88
user 73.45
sys 4.61

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289462/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289462/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289462/Model_4FGL_J1630.7+5221_weekly_bin941.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 sourc outfile=/lscratch/kocevski/35289510/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 20.77
user 19.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35289510/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289510/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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/35289510/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
.....................!
real 77.08
user 70.91
sys 4.46

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1630.7+5221 @ 247.682 52.3543

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289510/cmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.97
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits outfile=/lscratch/kocevski/35289510/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.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=247.682 yref=52.3543 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.94
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits evtable="EVENTS" scfile=/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35289510/Model_4FGL_J1630.7+5221_weekly_bin941.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 56.48
user 54.04
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289305/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289305/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289305/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289305/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289305/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289305/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289305/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289305/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.000e GAL_V02
Working on...
/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 56.23
user 54.21
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289312/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289312/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289312/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289312/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289312/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289312/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289312/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289312/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.0000          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
0          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
e GAL_V02
Working on...
/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 62.68
user 60.23
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289309/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289309/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289309/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289309/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289309/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289309/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289309/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289309/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.000e GAL_V02
Working on...
/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 56.69
user 54.55
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289408/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289408/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289408/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289408/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289408/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289408/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289408/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289408/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.0000          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
0          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289305/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:49:58.127676', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082598.13', return_code='0', job_id='35289305', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:49:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289312/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:50:12.685781', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082612.69', return_code='0', job_id='35289312', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:50:12 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 60.55
user 58.70
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289462/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289462/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289462/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289462/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289462/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289462/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289462/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289462/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.000e GAL_V02
Working on...
/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits.....................!
real 57.79
user 55.52
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits', '/lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits', expMap='/lscratch/kocevski/35289510/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', expCube='/lscratch/kocevski/35289510/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35289510/Model_4FGL_J1630.7+5221_weekly_bin941.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1630.7+5221'

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  9.141e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35289510/ft1_filtered_4FGL_J1630.7+5221_weekly_bin941.fits
Spacecraft file(s): /lscratch/kocevski/35289510/ft2_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure map: /lscratch/kocevski/35289510/expmap_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
Exposure cube: /lscratch/kocevski/35289510/ltcube_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35289510/Model_4FGL_J1630.7+5221_weekly_bin941.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) = 18472.0816796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6312       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.5261       1.0000          .0000       .10000E+07
     3 'norm      '    .38808E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11851E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.018       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.627       1.0000          .0000       .10000E+07
    11 'norm      '    .11301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5748       1.0000          .0000       .10000E+07
    13 'Prefactor '    .98751       1.0000          .0000       .10000E+07
    14 'norm      '    19.456       1.0000          .0000       .10000E+07
    15 'norm      '    19.189       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2242       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .20290E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5714       1.0000          .0000       .10000E+07
    20 'norm      '    .26980       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2014       1.0000          .0000       .10000E+07
    22 'norm      '    .85487E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .26672E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.5363       1.0000          .0000       .10000E+07
    25 'norm      '    .18496       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3346       1.000 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
0          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
0          .0000       .10000E+07
    27 'Prefactor '    .88031E-01   1.0000          .0000       .10000E+07
    28 'norm      '    .16986E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    9.4229       1.0000          .0000       .10000E+07
    30 'Prefactor '    9.7970       1.0000          .0000       .10000E+07
    31 'Prefactor '    .30432E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81067       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     3274 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6316        1.3273       -.27931E-07   -.35386E-02
   2  Prefactor     8.4820        4.1602       -.28477E-07   -.19711E-02
   3  norm          .11102E-09    1.4666        .39929E-07** at limit **
   4  Prefactor     .26995E-06    22.746       -.59441E-06** at limit **
   5  Prefactor     16.155        10.532        .11994E-06   -.56427E-01
   6  Prefactor     1.0401        1.9433       -.11592E-06   -.31104E-02
   7  Prefactor     4.0777        2.5584        .43359E-07    .23371E-01
   8  Prefactor     2.4271        3.6365        .15749E-07    .46269E-03
   9  Prefactor      .0000        .67545        .38840E-07** at limit **
  10  norm          10.644        1.2898        .59353E-08    .11008E-01
  11  norm          .55511E-10    1.8155       -.70028E-07** at limit **
  12  Prefactor     5.5663        3.0779       -.17065E-07   -.29626E-03
  13  Prefactor     .98976        .84586        .13697E-07    .47469E-01
  14  norm          19.543        14.265        .28416E-07   -.69556E-01
  15  norm          19.193        2.2147       -.11202E-07   -.12633    
  16  Prefactor     3.2248        2.5375        .19780E-07    .20352E-02
  17  Prefactor      .0000        .38903        .14027E-07** at limit **
  18  Prefactor     .73830E-08    4.0501        .11868E-06** at limit **
  19  Prefactor     3.5893        7.1417        .27934E-07    .25757E-03
  20  norm          .26948        .47610       -.49168E-08    .47185E-03
  21  Prefactor     7.2083        4.5788       -.70728E-07   -.68345E-03
  22  norm           .0000        .41820        .37423E-07** at limit **
  23  Prefactor     .16043E-07    3.7546        .13074E-06** at limit **
  24  Prefactor     9.4877        5.0542        .46941E-07    .68248E-02
  25  norm          .18454        1.1683       -.11166E-07** at limit **
  26  Prefactor     1.3345        1.0991        .23116E-08    .76442E-03
  27  Prefactor     .47073E-06    18.463       -.16218E-06** at limit **
  28  norm          .55511E-10    1.4387        .73847E-07** at limit **
  29  Prefactor     9.4319        3.1997        .75156E-08    .25269E-02
  30  Prefactor     9.7560        8.9792       -.12415E-06   -.37451E-01
  31  Prefactor     .31752E-06    20.494       -.23167E-06** at limit **
  32  Normalizat    1.2428        .13111        .58542E-06    .44116E-03
  33  Prefactor     .81069        .11748        .12353E-05    .41832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.63162
  Prefactor  = 8.48198
  norm       = 1.11022e-10
  Prefactor  = 2.69951e-07
  Prefactor  = 16.1553
  Prefactor  = 1.04011
  Prefactor  = 4.07767
  Prefactor  = 2.42706
  Prefactor  = 0
  norm       = 10.6442
  norm       = 5.55112e-11
  Prefactor  = 5.56628
  Prefactor  = 0.989757
  norm       = 19.5431
  norm       = 19.1926
  Prefactor  = 3.22483
  Prefactor  = 0
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  Prefactor  = 3.58932
  norm       = 0.269485
  Prefactor  = 7.2083
  norm       = 0
  Prefactor  = 1.60427e-08
  Prefactor  = 9.48774
  norm       = 0.184544
  Prefactor  = 1.33451
  Prefactor  = 4.70735e-07
  norm       = 5.55112e-11
  Prefactor  = 9.43192
  Prefactor  = 9.75602
  Prefactor  = 3.17524e-07
  Normalizat = 1.24278
  Prefactor  = 0.810689
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289408/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:51:45.644425', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082705.64', return_code='0', job_id='35289408', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:51:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289309/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:51:55.159168', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082715.16', return_code='0', job_id='35289309', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:51:55 PDT 2026

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

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK           779 CALLS     4053 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6316        1.3282        .62838E-03   -1.5676    
   2  Prefactor     8.4820        4.1594        .34307E-03   -1.5650    
   3  norm          .11102E-09    1.4792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26995E-06    29.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.155        38.301        .24998E-03   -1.5628    
   6  Prefactor     1.0401        2.3352        .59124E-02   -1.5688    
   7  Prefactor     4.0777        9.2269        .49776E-03   -1.5668    
   8  Prefactor     2.4271        3.7730        .65778E-03   -1.5677    
   9  Prefactor      .0000        .67582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        7.6828        .30711E-03   -1.5643    
  11  norm          .55511E-10    1.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5663        3.1203        .42526E-03   -1.5661    
  13  Prefactor     .98976        2.3833        .43323E-03   -1.5688    
  14  norm          19.543        18.521        .22679E-03   -1.5620    
  15  norm          19.193        6.0409        .22836E-03   -1.5620    
  16  Prefactor     3.2248        2.6267        .56391E-03   -1.5672    
  17  Prefactor      .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .73830E-08    4.5587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5893        7.4692        .53452E-03   -1.5670    
  20  norm          .26948        .50869        .10646E-02   -1.5698    
  21  Prefactor     7.2083        4.7916        .37355E-03   -1.5654    
  22  norm           .0000        .18774        .19412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16043E-07    4.6398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.4877        5.0749        .32427E-03   -1.5646    
  25  norm          .18454        .61691        .30273E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.3345        1.1015        .94949E-04   -1.5685    
  27  Prefactor     .47073E-06    47.963        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    1.4422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.4319        3.2110        .32623E-03   -1.5647    
  30  Prefactor     9.7560        12.306        .31991E-03   -1.5645    
  31  Prefactor     .31752E-06    25.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.2428        .11217        .53929E-01   -.85291    
  33  Prefactor     .81069        .99815E-01    .43856E-01   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45337e-07
Minuit parameter uncertainties:
  1  1.32819
  2  4.15944
  3  2.72506e-05
  4  0.00564121
  5  38.3016
  6  2.33525
  7  9.22696
  8  3.77301
  9  2.961e-06
  10  7.68281
  11  1.43699e-05
  12  3.12029
  13  2.38325
  14  18.5215
  15  6.04088
  16  2.62667
  17  8.84247e-07
  18  0.000366722
  19  7.46922
  20  0.508695
  21  4.79159
  22  1.68531e-06
  23  0.0005455
  24  5.07493
  25  0.616909
  26  1.10154
  27  0.00950332
  28  1.41638e-05
  29  3.21097
  30  12.3058
  31  0.00574559
  32  0.112192
  33  0.0998374
Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289462/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:53:46.015646', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082826.02', return_code='0', job_id='35289462', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:53:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.064e+01  7.683e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.947e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.107e-01  9.984e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.243e+00  1.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 247.682 52.354
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 8.21e-09
Energy Flux (Fixed Index): 8.16e-06 +/- 5.89e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0566304
delta logL = 0.00563388950104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659472855114

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18472.06     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.290        13.748        .31211E-03    .16536E-01
   2  alpha         1.8417        1.0778        .43117       -.96952E-04
   3  Normalizat    1.2446        .11130        .53896E-01    .25039E-03
   4  Prefactor     .81012        .99436E-01    .43849E-01    .32662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2903
  alpha      = 1.84173
  Normalizat = 1.24458
  Prefactor  = 0.810117
 **********
 **   18 **HESSE 
 **********

 FCN=   18472.06     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.290        8.0734        .12484E-04   -1.5644    
   2  alpha         1.8417        .84968        .32323E-01   -.26645    
   3  Normalizat    1.2446        .12593        .23831E-03   -.85236    
   4  Prefactor     .81012        .11634        .26685E-03   -.99356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61834e-09
Minuit parameter uncertainties:
  1  8.07342
  2  0.868315
  3  0.12596
  4  0.11638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18472.0556696
delta logL = 0.00659473223277

Extracting fit parameters...

4FGL J1630.7+5221
   Spectrum: LogParabola
317         norm:  1.029e+01  8.073e+00  0.000e+00  1.000e+06 ( 1.000e-13)
318        alpha:  1.842e+00  8.683e-01  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  6.119e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  8.101e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.245e+00  1.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.81
Ra Dec: 247.682 52.354
Photon Index (Free Index): 1.84 +/- 0.87
Photon Flux (Free Index): 9.61e-09 +/- 1.49e-08
Energy Flux (Free Index): 8.71e-06 +/- 8.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/35289510/cmap_HighResolution_808099201_808704001_4FGL_J1630.7+5221_weekly_bin941.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='8.71e-06', photon_flux_error='8.21e-09', dlogl='6.59e-03', energy_flux='8.16e-06', photon_flux2='9.61e-09', job_status='DONE', time_completed='2026-08-18 12:54:06.016659', photon_index_error2='0.87', photon_index2='1.84', ts='6.79', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='8.60e-06', EG='1.24', time_epoch_completed='1787082846.02', return_code='0', job_id='35289510', GAL2='0.81', EG2='1.24', return_code2='0', energy_flux_error='5.89e-06', photon_flux_error2='1.49e-08', ts2='6.81', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J1630.7+5221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug 18 12:54:06 PDT 2026

