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


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845448', job_status='RUN', time_executed='2026-05-19 02:32:16.884982', time_epoch_executed='1779183136.89' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845448

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845448/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845448/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845448/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.99
user 5.27
sys 0.35

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

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

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

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

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

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

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

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


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845458', job_status='RUN', time_executed='2026-05-19 02:33:00.410016', time_epoch_executed='1779183180.41' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845458

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845458/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845458/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845458/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.19
user 4.63
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845458/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26845448/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 34.20
user 33.31
sys 0.34

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845448/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 74.07
user 68.95
sys 4.27

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845448/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.96
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845448/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=46.1411 yref=68.3539 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.87
user 0.28
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+ outfile=/lscratch/kocevski/26845458/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 18.87
user 18.23
sys 0.24

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845458/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 69.95
user 65.01
sys 4.10

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

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

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

This is gtbin version HEAD
real 0.76
user 0.24
sys 0.12

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

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

This is gtbin version HEAD
real 0.76
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845458/ft1_filtered_4FGL_J0304.5+number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845523', job_status='RUN', time_executed='2026-05-19 02:34:59.562948', time_epoch_executed='1779183299.56' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845523

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845523/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845523/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845523/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.98
user 4.31
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845525', job_status='RUN', time_executed='2026-05-19 02:34:59.563226', time_epoch_executed='1779183299.56' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845525

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845525/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845525/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845525/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.92
user 4.25
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845518', job_status='RUN', time_executed='2026-05-19 02:35:01.449651', time_epoch_executed='1779183301.45' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845518

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845518/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845518/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845518/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.52
user 4.76
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845551', job_status='RUN', time_executed='2026-05-19 02:36:02.749197', time_epoch_executed='1779183362.75' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845551

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845551/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845551/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845551/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.99
user 5.23
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845551/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26845523/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 17.19
user 16.52
sys 0.22

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845523/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 64.24
user 59.69
sys 3.77

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845523/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.23
sys 0.12

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

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

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845614', job_status='RUN', time_executed='2026-05-19 02:35:59.410440', time_epoch_executed='1779183359.41' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845614

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845614/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845614/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845614/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.62
user 3.96
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26845525/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 17.29
user 16.46
sys 0.25

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845525/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 64.64
user 60.35
sys 3.48

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845525/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845525/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=46.1411 yref=68.3539 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845629', job_status='RUN', time_executed='2026-05-19 02:36:17.720039', time_epoch_executed='1779183377.72' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845629

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845629/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845629/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845629/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.42
user 4.68
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26845518/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 18.93
user 18.04
sys 0.24

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845518/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 76.51
user 71.03
sys 4.21

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845518/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.11
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845518/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=46.1411 yref=68.3539 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.83
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+6821_weekly_bin928
RA = 46.1411, Dec = 68.3539
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26845681', job_status='RUN', time_executed='2026-05-19 02:37:16.319928', time_epoch_executed='1779183436.32' WHERE source_name='4FGL J0304.5+6821' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26845681

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26845681/ft1_4FGL_J0304.5+6821_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26845681/ft1_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845681/ft1_filteredMKT_4FGL_J0304.5+6821_weekly_bin928.fits ra=46.1411 dec=68.3539 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.72
user 4.90
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 6761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26845614/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 16.60
user 15.85
sys 0.20

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845614/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 59.89
user 55.70
sys 3.58

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845614/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.19
sys 0.14

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

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

This is gtbin version HEAD
real 0.75
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+ outfile=/lscratch/kocevski/26845551/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 20.84
user 19.91
sys 0.21

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845551/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 74.55
user 68.91
sys 4.18

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

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

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

This is gtbin version HEAD
real 0.92
user 0.25
sys 0.13

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

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

This is gtbin version HEAD
real 0.89
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845551/ft1_filtered_4FGL_J0304.5+ outfile=/lscratch/kocevski/26845629/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 24.56
user 23.46
sys 0.28

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845629/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 73.12
user 67.69
sys 4.18

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845629/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.03
user 0.25
sys 0.12

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

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

This is gtbin version HEAD
real 0.85
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+ outfile=/lscratch/kocevski/26845681/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 20.07
user 19.24
sys 0.25

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26845681/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
.....................!
real 73.96
user 68.78
sys 4.27

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

Setting source of interest to:
4FGL J0304.5+6821 @ 46.1411 68.3539

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits scfile=/lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits outfile=/lscratch/kocevski/26845681/cmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=46.1411 yref=68.3539 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.99
user 0.26
sys 0.13

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

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

This is gtbin version HEAD
real 0.92
user 0.29
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845458/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845458/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 349.10
user 345.55
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845458/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845458/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845458/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845458/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845458/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845458/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845458/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845458/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845458/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 *******6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845523/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 313.68
user 309.99
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845523/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845523/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845523/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845523/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845523/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845523/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845523/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845523/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 *******6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845525/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 315.11
user 311.44
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845525/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845525/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845525/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845525/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845525/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845525/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845525/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845525/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 *******6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845448/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 365.88
user 361.95
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845448/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845448/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845448/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845448/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845448/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845448/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845448/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845448/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845614/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 320.77
user 318.23
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845614/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845614/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845614/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845614/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845614/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845614/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845614/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845614/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845518/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 371.00
user 367.15
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845518/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845518/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845518/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845518/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845518/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845518/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845518/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845518/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ******* **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845551/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845551/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 370.86
user 366.36
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845551/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845551/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845551/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845551/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845551/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845551/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845551/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845551/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845551/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 *******6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845629/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 359.46
user 355.23
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845629/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845629/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845629/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845629/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845629/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845629/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845629/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845629/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
6821_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26845681/Model_4FGL_J0304.5+6821_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source W 3
Working on...
/lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits.....................!
real 377.55
user 372.64
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits', '/lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits', expMap='/lscratch/kocevski/26845681/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', expCube='/lscratch/kocevski/26845681/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26845681/Model_4FGL_J0304.5+6821_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+6821'

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  2.775e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26845681/ft1_filtered_4FGL_J0304.5+6821_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26845681/ft2_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26845681/expmap_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26845681/ltcube_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26845681/Model_4FGL_J0304.5+6821_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Prefactor '    30.518       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8368       1.0000         .10000E-03   10000.    
     4 'norm      '    8.4983       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43870E-06   1.0000          .0000       .10000E+07
     6 'norm      '    3.4583       1.0000          .0000       .10000E+07
     7 'norm      '    2.7882       1.0000          .0000       .10000E+07
     8 'norm      '    .18823E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .69795E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7331       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5518       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6489       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47245E-04   1.0000          .0000       .10000E+07
    14 'norm      '    7.2731       1.0000          .0000       .10000E+07
    15 'Prefactor '    .50387E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4867       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97001       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 ******* **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
***
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63314.99     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1223 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9706        3.4218       -.11946E-07    .61059E-01
   2  Prefactor     30.652        14.254        .97229E-08   -.68423E-01
   3  Prefactor     2.8368        .71692        .20670E-07   -.19268E-03
   4  norm          8.4787        7.6286        .28388E-07    .19141E-01
   5  Prefactor      .0000        .44605        .42231E-07** at limit **
   6  norm          3.4578        .43360        .12647E-07    .17174E-01
   7  norm          2.7889        3.2776        .64437E-09    .40427E-04
   8  norm           .0000        2.6278       -.18258E-07** at limit **
   9  Prefactor     .27756E-09    18.385        .29827E-06** at limit **
  10  Prefactor     2.7321        2.9729        .50299E-07    .97139E-03
  11  Prefactor     5.5557        2.2926       -.55898E-07   -.66374E-02
  12  Prefactor     4.3425        21.446       -.28311E-08   -.11279E-01
  13  Prefactor      .0000        6.4077        .58263E-07** at limit **
  14  norm          7.2730        6.7023       -.13683E-07    .85546E-03
  15  Prefactor      .0000        2.8790       -.37938E-07** at limit **
  16  Normalizat    1.4868        .16632       -.18814E-06   -.13416E-03
  17  Prefactor     .97003        .22777E-01   -.27342E-06   -.99114E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.97059
  Prefactor  = 30.6518
  Prefactor  = 2.83678
  norm       = 8.47867
  Prefactor  = 0
  norm       = 3.45781
  norm       = 2.7889
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.7321
  Prefactor  = 5.55566
  Prefactor  = 4.34246
  Prefactor  = 0
  norm       = 7.27296
  Prefactor  = 0
  Normalizat = 1.48679
  Prefactor  = 0.970026
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845523/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845525/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845523/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:00:52.059556', job_id='26845523', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779184852.06', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:00:52 PDT 2026

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

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845525/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:01:01.156455', job_id='26845525', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779184861.16', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:01:01 PDT 2026

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

 FCN=   63314.99     FROM HESSE     STATUS=OK           263 CALLS     1486 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9706        14.381        .45077E-03   -1.5663    
   2  Prefactor     30.652        28.258        .18105E-03   -1.5597    
   3  Prefactor     2.8368        .71974        .60358E-02   -1.5371    
   4  norm          8.4787        8.5169        .34363E-03   -1.5650    
   5  Prefactor      .0000        .44559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4578        .43463        .54357E-03   -1.5671    
   7  norm          2.7889        3.2866        .60910E-03   -1.5675    
   8  norm           .0000        2.6164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    18.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7321        2.9877        .61565E-03   -1.5675    
  11  Prefactor     5.5557        2.2980        .42615E-03   -1.5661    
  12  Prefactor     4.3425        32.103        .46653E-03   -1.5666    
  13  Prefactor      .0000        6.4224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.2730        6.6993        .37169E-03   -1.5654    
  15  Prefactor      .0000        2.8768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4868        .16297        .17523       -.78150    
  17  Prefactor     .97003        .21974E-01    .28018E-01   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61832e-07
Minuit parameter uncertainties:
  1  14.381
  2  28.2577
  3  0.719743
  4  8.51692
  5  2.32969e-06
  6  0.434626
  7  3.28658
  8  1.79193e-07
  9  0.000136234
  10  2.98768
  11  2.29804
  12  23.6144
  13  1.76766e-05
  14  6.69926
  15  1.08362e-06
  16  0.163025
  17  0.0219744
Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845458/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845614/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845614/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:01:36.358332', job_id='26845614', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779184896.36', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:01:36 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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845458/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:01:37.430823', job_id='26845458', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779184897.43', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:01:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845448/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845448/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:02:39.314255', job_id='26845448', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779184959.31', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:02:39 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845518/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845518/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:05:29.510026', job_id='26845518', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779185129.51', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:05:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845551/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845629/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845551/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:05:56.715097', job_id='26845551', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779185156.72', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:05:57 PDT 2026

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

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845629/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:06:04.150824', job_id='26845629', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779185164.15', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:06:04 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  0.000e+00  1.792e-07  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  2.670e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.197e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.487e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 46.141 68.354
Photon Flux Upper Limit: 6.99704939686e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/26845681/likelihoodResults_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6032475
delta logL = 0.386424298107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 63314.6010986
delta logL = 0.388573191805

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   63314.60     FROM MIGRAD    STATUS=FAILED       106 CALLS      325 TOTAL
                     EDM=   .59E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .86761E-04** at limit **
   2  alpha         4.4382        2.6116        .10209        .25231E-02
   3  Normalizat    1.4601        .99165E-01    .78522E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .12381E-03   -.91604E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   63314.60     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      409 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        9.9014        .69181E-05** at limit **
   2  alpha         4.4382        2.6116        .41914E-02    .25231E-02
   3  Normalizat    1.4601        .99165E-01    .10047E-03   -.11096E-03
   4  Prefactor     .96996        .13438E-01    .92024E-05   -.91604E-03
                               ERR DEF=  .500    

 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.

 FCN=   63314.60     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      480 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17368        .61283        .69409E-06** at limit **
   2  alpha         4.4382        3.7466        .40836E-02   -.30958E-05
   3  Normalizat    1.4601        .16857        .62818E-05   -.11003E-03
   4  Prefactor     .96996        .22185E-01    .99047E-06   -.92786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.173681
  alpha      = 4.4382
  Normalizat = 1.4601
  Prefactor  = 0.969964
 **********
 **   18 **HESSE 
 **********

 FCN=   63314.60     FROM HESSE     STATUS=OK            25 CALLS      505 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17368        .54218        .74862E-07   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.4382        1.3139        .16335E-03    .88716    
   3  Normalizat    1.4601        .16773        .12564E-05   -.78906    
   4  Prefactor     .96996        .22126E-01    .22349E-06   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25808e-11
Minuit parameter uncertainties:
  1  0.542176
  2  1.55189
  3  0.167798
  4  0.0221259
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) = 63314.6010957
delta logL = 0.388576093806

Extracting fit parameters...

4FGL J0304.5+6821
   Spectrum: LogParabola
306         norm:  1.737e-01  5.422e-01  0.000e+00  1.000e+06 ( 1.000e-12)
307        alpha:  4.438e+00  1.552e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  2.132e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  9.365e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  9.700e-01  2.213e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.460e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 46.141 68.354

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/26845681/cmap_HighResolution_800236801_800841601_4FGL_J0304.5+6821_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='7.00e-08', time_completed='2026-05-19 03:07:04.896193', job_id='26845681', GAL2='0.97', fit_tolerance='1e-08', EG2='1.46', EG='1.49', time_epoch_completed='1779185224.9', return_code2='0', ts='0.00', return_code='0', GAL='0.97', dlogl='3.89e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='928' AND source_name='4FGL J0304.5+6821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 03:07:05 PDT 2026

