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


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

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

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

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


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

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


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31228256', job_status='RUN', time_executed='2026-07-10 10:54:59.450330', time_epoch_executed='1783706099.45' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31228256

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31228256/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31228256/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228256/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.84
user 5.13
sys 0.36

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31228256/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA"number of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
 outfile=/lscratch/kocevski/31227680/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 19.19
user 18.42
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31227680/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31227680/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31227680/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 70.01
user 65.04
sys 4.01

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31227680/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.23
user 0.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31227680/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.95
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratDone.


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31228706', job_status='RUN', time_executed='2026-07-10 10:56:01.023490', time_epoch_executed='1783706161.02' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31228706

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31228706/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31228706/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228706/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.57
user 4.88
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31228706/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.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.75
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA"number of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31228675', job_status='RUN', time_executed='2026-07-10 10:56:01.222572', time_epoch_executed='1783706161.22' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31228675

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31228675/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31228675/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228675/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.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.70
user 4.87
sys 0.38

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31228675/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31228256/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 18.59
user 17.94
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31228256/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228256/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228256/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 66.94
user 62.29
sys 3.93

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228256/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228256/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscrat outfile=/lscratch/kocevski/31228706/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 18.15
user 17.51
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31228706/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228706/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228706/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 66.83
user 61.77
sys 3.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228706/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228706/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.77
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscrat outfile=/lscratch/kocevski/31228675/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 18.45
user 17.52
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31228675/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228675/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228675/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 66.73
user 61.62
sys 4.01

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228675/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.77
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228675/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratnumber of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31228892', job_status='RUN', time_executed='2026-07-10 10:57:04.422943', time_epoch_executed='1783706224.42' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31228892

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31228892/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31228892/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228892/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.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.38
user 5.68
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31228892/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.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.24
sys 0.13

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31228892/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 20.29
user 19.46
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31228892/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228892/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31228892/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 76.24
user 70.97
sys 4.59

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228892/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31228892/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.26
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratnumber of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31229270', job_status='RUN', time_executed='2026-07-10 10:59:07.141774', time_epoch_executed='1783706347.14' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31229270

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31229270/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31229270/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229270/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.80
user 5.02
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31229270/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.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.77
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA"number of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2022.5+7612_weekly_bin935
RA = 305.646, Dec = 76.2007
tmin = 804470401, tmax = 805075201
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='31229218', job_status='RUN', time_executed='2026-07-10 10:59:07.277677', time_epoch_executed='1783706347.28' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31229218

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31229218/ft1_4FGL_J2022.5+7612_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31229218/ft1_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229218/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits ra=305.646 dec=76.2007 rad=12.0 tmin=804470401.0 tmax=805075201.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.00
user 5.12
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.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/31229218/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.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.75
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 4654

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31229270/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 18.08
user 17.37
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31229270/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229270/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31229270/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 67.64
user 63.14
sys 3.91

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229270/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229270/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.95
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscrat outfile=/lscratch/kocevski/31229218/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 18.27
user 17.55
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31229218/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229218/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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/31229218/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
.....................!
real 65.14
user 60.55
sys 3.86

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 206 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2022.5+7612 @ 305.646 76.2007

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229218/cmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.02
user 0.20
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits outfile=/lscratch/kocevski/31229218/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.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=305.646 yref=76.2007 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.86
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31226476/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31226476/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 239.21
user 236.58
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31226476/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31226476/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31226476/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31226476/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31226476/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31226476/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31226476/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31226476/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31226476/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31226476/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31226476/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:12:09.371053', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707129.37', return_code='0', job_id='31226476', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:12:09 PDT 2026

ch/kocevski/31227680/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 234.19
user 230.77
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31227680/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31227680/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31227680/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31227680/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31227680/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31227680/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31227680/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31227680/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          ch/kocevski/31228256/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 225.90
user 223.06
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31228256/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31228256/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31228256/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31228256/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31228256/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31228256/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31228256/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31228256/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
.0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
ch/kocevski/31228706/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 221.78
user 218.92
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31228706/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31228706/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31228706/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31228706/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31228706/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31228706/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31228706/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31228706/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          ch/kocevski/31228675/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 222.86
user 219.90
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31228675/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31228675/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31228675/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31228675/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31228675/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31228675/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31228675/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31228675/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
.0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
ch/kocevski/31228892/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 242.02
user 239.28
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31228892/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31228892/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31228892/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31228892/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31228892/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31228892/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31228892/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31228892/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000           **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
.0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
ch/kocevski/31229270/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 224.44
user 221.24
sys 1.50

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31229270/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31229270/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31229270/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31229270/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31229270/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31229270/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31229270/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31229270/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000           **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31227680/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:17:38.858697', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707458.86', return_code='0', job_id='31227680', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:17:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31228256/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:17:51.638442', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707471.64', return_code='0', job_id='31228256', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:17:51 PDT 2026

ch/kocevski/31229218/Model_4FGL_J2022.5+7612_weekly_bin935.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 FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits.....................!
real 222.45
user 219.52
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits', '/lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits', expMap='/lscratch/kocevski/31229218/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', expCube='/lscratch/kocevski/31229218/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31229218/Model_4FGL_J2022.5+7612_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2022.5+7612'

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  8.450e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31229218/ft1_filtered_4FGL_J2022.5+7612_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31229218/ft2_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31229218/expmap_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31229218/ltcube_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31229218/Model_4FGL_J2022.5+7612_weekly_bin935.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) = 46214.6363484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10995E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2269       1.0000          .0000       .10000E+07
     4 'norm      '    5.5589       1.0000          .0000       .10000E+07
     5 'norm      '    5.9561       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88818E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .29661       1.0000          .0000       .10000E+07
     8 'norm      '    1.2863       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6317       1.0000          .0000       .10000E+07
    11 'norm      '    5.4133       1.0000          .0000       .10000E+07
    12 'norm      '    .54901E-07   1.0000          .0000       .10000E+07
    13 'norm      '    1.4075       1.0000          .0000       .10000E+07
    14 'norm      '    2.6727       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.781       1.0000          .0000       .10000E+07
    16 'norm      '    .61174       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.410       1.0000          .0000       .10000E+07
    18 'norm      '    .21403E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .35716       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1123       1.0000          .0000       .10000E+07
    21 'norm      '    10.301       1.0000          .0000       .10000E+07
    22 'Prefactor '    .84490E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
.0000       .10000E+07
    23 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46214.56     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1580 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8642        1.8021       -.55189E-07   -.10688E-01
   2  Prefactor     .24092E-07    10.302       -.25680E-06** at limit **
   3  Prefactor     6.2599        1.0339       -.21682E-08    .64442E-02
   4  norm          5.5585        .62654       -.45443E-08   -.12633E-01
   5  norm          5.9629        2.3799       -.12522E-07   -.33657E-02
   6  Prefactor     .30531E-08    1.9667       -.15323E-06** at limit **
   7  Prefactor     .14431        1.2679        .27567E-07** at limit **
   8  norm          1.2922        1.2932       -.26396E-08   -.54803E-03
   9  Prefactor     10.700        6.2564       -.14343E-07   -.97548E-01
  10  Prefactor     2.6362        2.6501        .15121E-07    .10746E-02
  11  norm          5.4139        1.0461       -.57588E-08   -.30402E-02
  12  norm          .14622E-06    4.0336        .15783E-06** at limit **
  13  norm          1.4080        1.3780       -.18478E-07   -.28290E-02
  14  norm          2.6778        1.8475       -.18945E-08   -.25907E-01
  15  Prefactor     14.742        1.9625       -.43929E-08   -.24035E-01
  16  norm          .60261        1.3393       -.82390E-07   -.57824E-02
  17  Prefactor     13.376        7.0175        .78053E-08   -.13392E-01
  18  norm          .39763E-06    3.8219        .55618E-07** at limit **
  19  Prefactor     .35986        1.8062        .49308E-07    .17574E-02
  20  Prefactor     8.0305        2.3168       -.17581E-07    .17786E-01
  21  norm          10.328        1.0302       -.62635E-09   -.46600E-03
  22  Prefactor     .43132E-07    10.027       -.53090E-07** at limit **
  23  Normalizat    1.0647        .11732        .69137E-06    .10553E-03
  24  Prefactor     .98011        .30403E-01    .36384E-07    .53089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.8642
  Prefactor  = 2.40918e-08
  Prefactor  = 6.25991
  norm       = 5.55854
  norm       = 5.96291
  Prefactor  = 3.05311e-09
  Prefactor  = 0.14431
  norm       = 1.29216
  Prefactor  = 10.6996
  Prefactor  = 2.63619
  norm       = 5.41393
  norm       = 1.46216e-07
  norm       = 1.40799
  norm       = 2.67776
  Prefactor  = 14.7422
  norm       = 0.602608
  Prefactor  = 13.3757
  norm       = 3.97626e-07
  Prefactor  = 0.35986
  Prefactor  = 8.03055
  norm       = 10.3281
  Prefactor  = 4.31322e-08
  Normalizat = 1.06469
  Prefactor  = 0.980114
Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31228706/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:19:12.896579', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707552.9', return_code='0', job_id='31228706', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:19:13 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31228675/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:19:53.981172', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707593.98', return_code='0', job_id='31228675', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:19:54 PDT 2026

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

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.56     FROM HESSE     STATUS=OK           463 CALLS     2043 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8642        1.8077        .60000E-03   -1.5674    
   2  Prefactor     .24092E-07    10.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2599        29.245        .40205E-03   -1.5658    
   4  norm          5.5585        .62422        .42588E-03   -1.5661    
   5  norm          5.9629        2.3794        .41121E-03   -1.5659    
   6  Prefactor     .30531E-08    1.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14431        1.9838        .16035E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2922        1.3490        .97698E-03   -1.5685    
   9  Prefactor     10.700        9.0802        .30578E-03   -1.5643    
  10  Prefactor     2.6362        2.6763        .62832E-03   -1.5675    
  11  norm          5.4139        1.1074        .43166E-03   -1.5661    
  12  norm          .14622E-06    4.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4080        1.4007        .91327E-03   -1.5684    
  14  norm          2.6778        8.4687        .62310E-03   -1.5675    
  15  Prefactor     14.742        11.973        .26026E-03   -1.5631    
  16  norm          .60261        1.3617        .68183E-03   -1.5692    
  17  Prefactor     13.376        7.0603        .27327E-03   -1.5635    
  18  norm          .39763E-06    5.7425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35986        1.7540        .94628E-03   -1.5696    
  20  Prefactor     8.0305        16.883        .35177E-03   -1.5651    
  21  norm          10.328        14.294        .31194E-03   -1.5644    
  22  Prefactor     .43132E-07    10.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .11344        .10957       -.90894    
  24  Prefactor     .98011        .29111E-01    .31255E-01   -.93395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96306e-05
Minuit parameter uncertainties:
  1  1.80768
  2  0.00100991
  3  27.0608
  4  0.624217
  5  2.37939
  6  0.000154651
  7  1.07011
  8  1.34903
  9  9.08022
  10  2.67632
  11  1.10736
  12  0.00167012
  13  1.40068
  14  8.46869
  15  11.9735
  16  1.36174
  17  7.06028
  18  0.00302218
  19  1.58894
  20  16.8832
  21  14.294
  22  0.00133531
  23  0.11347
  24  0.0291112
Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31228892/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:22:30.020469', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707750.02', return_code='0', job_id='31228892', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:22:30 PDT 2026

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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31229270/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:22:35.613526', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707755.61', return_code='0', job_id='31229270', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:22:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.338e+01  7.060e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.801e-01  2.911e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.065e+00  1.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.54
Ra Dec: 305.646 76.201
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 7.90e-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) = 46214.5132639
delta logL = 0.0484872965681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 46214.5067704
delta logL = 0.0549807568896

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   46214.51     FROM MIGRAD    STATUS=FAILED       104 CALLS      315 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        10.617        .59147E-04    .16444E-02
   2  Index         2.4164        .56625        .10169E-01    .23854E-02
   3  Normalizat    1.0602        .10839        .48670E-03   -.33637E-04
   4  Prefactor     .98059        .29535E-01    .13809E-03    .18442E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46214.51     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      390 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        10.617        .76381E-05   -1.5640    
   2  Index         2.4164        .56625        .36851E-03   -.54302    
   3  Normalizat    1.0602        .10839        .11529E-03   -.91041    
   4  Prefactor     .98059        .29535E-01    .39350E-04   -.93379    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46214.51     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      419 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        8.9315        .11829E-04   -.61507E-04
   2  Index         2.4164        .47657        .20339E-02    .89882E-04
   3  Normalizat    1.0602        .10810        .19468E-04   -.33637E-04
   4  Prefactor     .98059        .29511E-01    .55235E-05    .16466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4536
  Index      = 2.41639
  Normalizat = 1.06017
  Prefactor  = 0.980586
 **********
 **   18 **HESSE 
 **********

 FCN=   46214.51     FROM HESSE     STATUS=OK            25 CALLS      444 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        8.7002        .47318E-06   -1.5640    
   2  Index         2.4164        .46413        .40677E-03   -.54302    
   3  Normalizat    1.0602        .10809        .38936E-05   -.91041    
   4  Prefactor     .98059        .29522E-01    .11047E-05   -.93379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13486e-12
Minuit parameter uncertainties:
  1  8.70018
  2  0.465041
  3  0.108114
  4  0.0295224
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) = 46214.5067689
delta logL = 0.0549822465764

Extracting fit parameters...

4FGL J2022.5+7612
   Spectrum: PowerLaw
471    Prefactor:  1.145e+01  8.700e+00  0.000e+00  1.000e+06 ( 1.000e-13)
472        Index:  2.416e+00  4.650e-01  0.000e+00  1.000e+01 (-1.000e+00)
473        Scale:  1.333e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
686    Prefactor:  9.806e-01  2.952e-02  0.000e+00  1.000e+01 ( 1.000e+00)
687        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
688        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
678   Normalization:  1.060e+00  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 305.646 76.201
Photon Index (Free Index): 2.42 +/- 0.47
Photon Flux (Free Index): 4.23e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.36e-05 +/- 7.92e-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/31229218/cmap_HighResolution_804470401_805075201_4FGL_J2022.5+7612_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.36e-05', photon_flux_error='1.98e-08', dlogl='5.50e-02', energy_flux='1.50e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2026-07-10 11:23:35.145661', photon_index_error2='0.47', photon_index2='2.42', ts='5.54', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='7.92e-06', EG='1.06', time_epoch_completed='1783707815.15', return_code='0', job_id='31229218', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='7.90e-06', photon_flux_error2='2.54e-08', ts2='5.65', photon_index='2.27' WHERE bin_id='935' AND source_name='4FGL J2022.5+7612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 11:23:35 PDT 2026

