/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).
Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

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

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


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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
/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)
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.

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


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


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

Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227581', job_status='RUN', time_executed='2026-05-26 02:43:54.593892', time_epoch_executed='1779788634.59' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227581

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227581/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227581/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227581/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.46
user 3.79
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227581/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.13

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227588', job_status='RUN', time_executed='2026-05-26 02:44:34.819171', time_epoch_executed='1779788674.82' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227588

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227588/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227588/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227588/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.09
user 4.37
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227588/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.81
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227584', job_status='RUN', time_executed='2026-05-26 02:44:34.766228', time_epoch_executed='1779788674.77' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227584

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227584/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227584/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227584/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.80
user 4.02
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227584/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227585', job_status='RUN', time_executed='2026-05-26 02:44:34.700407', time_epoch_executed='1779788674.7' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227585

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227585/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227585/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227585/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.94
user 3.98
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227585/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.20
sys 0.13

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" ounumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227622', job_status='RUN', time_executed='2026-05-26 02:45:35.397160', time_epoch_executed='1779788735.4' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227622

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227622/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227622/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227622/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.95
user 4.27
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227622/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" ounumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227615', job_status='RUN', time_executed='2026-05-26 02:45:00.689106', time_epoch_executed='1779788700.69' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227615

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227615/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227615/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227615/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.54
user 3.79
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227615/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.18
sys 0.14

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27227574/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 18.97
user 18.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227574/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227574/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227574/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 73.00
user 67.83
sys 4.20

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227574/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.94
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227574/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.06
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227574/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALutfile=/lscratch/kocevski/27227581/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 15.72
user 15.06
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227581/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227581/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227581/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 59.66
user 55.52
sys 3.38

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227581/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.81
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227581/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227581/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227743', job_status='RUN', time_executed='2026-05-26 02:48:35.728624', time_epoch_executed='1779788915.73' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227743

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227743/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227743/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227743/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.28
sys 0.30

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227743/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.65
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" onumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227729', job_status='RUN', time_executed='2026-05-26 02:48:35.690458', time_epoch_executed='1779788915.69' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227729

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227729/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227729/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227729/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.88
user 4.14
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227729/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.20
sys 0.14

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27227584/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 16.56
user 15.70
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227584/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227584/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227584/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 63.58
user 58.98
sys 3.72

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227584/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.73
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227584/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227584/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALutfile=/lscratch/kocevski/27227588/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 17.30
user 16.60
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227588/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227588/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227588/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 67.02
user 62.11
sys 4.07

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227588/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.28
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227588/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227588/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
tfile=/lscratch/kocevski/27227585/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 16.92
user 15.95
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227585/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227585/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227585/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 63.74
user 59.36
sys 3.55

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227585/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227585/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227585/Model_4FGL_J0330.6+0438_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_Done.


Performing analysis on: 4FGL_J0330.6+0438_weekly_bin929
RA = 52.6727, Dec = 4.6349
tmin = 800841601, tmax = 801446401
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='27227745', job_status='RUN', time_executed='2026-05-26 02:48:35.863712', time_epoch_executed='1779788915.86' WHERE source_name='4FGL J0330.6+0438' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27227745

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27227745/ft1_4FGL_J0330.6+0438_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27227745/ft1_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227745/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits ra=52.6727 dec=4.6349 rad=12.0 tmin=800841601.0 tmax=801446401.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.04
user 4.34
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.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/27227745/ft1_filteredMKT_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.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.79
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 97.10
user 95.19
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227581/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227581/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227581/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227581/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227581/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227581/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227581/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227581/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
utfile=/lscratch/kocevski/27227615/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 15.96
user 15.05
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227615/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227615/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227615/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 59.98
user 55.65
sys 3.60

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227615/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227615/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227615/Model_4FGL_J0330.6+0438_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 119.55
user 116.83
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227574/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227574/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227574/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227574/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227574/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227574/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227574/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227574/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
tfile=/lscratch/kocevski/27227622/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 17.65
user 16.94
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227622/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227622/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227622/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 68.04
user 63.26
sys 4.00

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227622/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.74
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227622/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227622/Model_4FGL_J0330.6+0438_weekly_bin929.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_ **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
_V02
Working on...
/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 105.52
user 103.37
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227584/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227584/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227584/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227584/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227584/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227584/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227584/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227584/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
V02
Working on...
/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 105.70
user 103.63
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227585/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227585/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227585/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227585/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227585/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227585/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227585/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227585/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
_V02
Working on...
/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 114.80
user 112.55
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227588/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227588/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227588/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227588/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227588/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227588/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227588/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227588/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227581/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227581/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:54:16.159174', job_id='27227581', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789256.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:54:16 PDT 2026

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

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
_V02
Working on...
/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 97.48
user 95.40
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227615/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227615/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227615/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227615/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227615/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227615/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227615/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227615/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227574/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227574/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:54:40.558520', job_id='27227574', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789280.56', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:54:40 PDT 2026

V02
Working on...
/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 114.26
user 111.88
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227622/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227622/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227622/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227622/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227622/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227622/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227622/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227622/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227584/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227584/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:55:24.348059', job_id='27227584', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789324.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:55:24 PDT 2026

utfile=/lscratch/kocevski/27227743/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 17.52
user 16.73
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227743/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227743/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227743/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 66.94
user 62.11
sys 3.91

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227743/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227743/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.65
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227743/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALutfile=/lscratch/kocevski/27227729/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 17.26
user 16.39
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227729/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227729/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227729/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 65.67
user 60.59
sys 3.99

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

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227729/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227729/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 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.74
user 0.23
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227729/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALDone.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227585/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227615/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227588/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227585/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:55:37.288030', job_id='27227585', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789337.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:55:37 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227615/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:55:37.520750', job_id='27227615', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789337.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:55:37 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227588/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:55:39.708192', job_id='27227588', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789339.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:55:39 PDT 2026

utfile=/lscratch/kocevski/27227745/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 18.21
user 17.34
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27227745/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227745/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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/27227745/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
.....................!
real 67.16
user 62.29
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
Added 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J0330.6+0438 @ 52.6727 4.6349

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227745/cmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits outfile=/lscratch/kocevski/27227745/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.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=52.6727 yref=4.6349 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.69
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27227745/Model_4FGL_J0330.6+0438_weekly_bin929.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 GALDone.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227622/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227622/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:56:30.453161', job_id='27227622', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789390.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:56:30 PDT 2026

_V02
Working on...
/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 109.40
user 107.28
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227743/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227743/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227743/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227743/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227743/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227743/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227743/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227743/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
_V02
Working on...
/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 106.65
user 104.41
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227729/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227729/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227729/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227729/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227729/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227729/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227729/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227729/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
_V02
Working on...
/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits.....................!
real 110.58
user 108.26
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits', '/lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits', expMap='/lscratch/kocevski/27227745/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', expCube='/lscratch/kocevski/27227745/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27227745/Model_4FGL_J0330.6+0438_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0330.6+0438'

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  3.042e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27227745/ft1_filtered_4FGL_J0330.6+0438_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27227745/ft2_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27227745/expmap_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27227745/ltcube_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27227745/Model_4FGL_J0330.6+0438_weekly_bin929.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) = 24525.4849777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14442E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .12040E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .93470       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1897       1.0000          .0000       .10000E+07
     5 'norm      '    2.0648       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.4997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68601E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .31974E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.5823       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.449       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.864       1.0000          .0000       .10000E+07
    13 'Normalizat'    .97920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      711 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3990        .42837E-06** at limit **
   2  norm          .16653E-09    3.2029        .94988E-07** at limit **
   3  norm          .93547        1.8882       -.82246E-07   -.26632E-02
   4  Prefactor     2.1890        2.3471        .52242E-07    .12843E-03
   5  norm          2.0570        4.5278       -.56703E-08   -.29979E-02
   6  Prefactor     5.0348        1.2158        .19508E-07   -.52293E-01
   7  Prefactor     3.4998        2.6604        .35431E-07    .14661E-03
   8  Prefactor     .11657E-08    4.4383        .10624E-06** at limit **
   9  norm           .0000        1.0217       -.73655E-07** at limit **
  10  norm          2.5825        .95647        .89860E-09    .21989E-04
  11  Prefactor     14.478        1.0111       -.21205E-08    .34389E-01
  12  Prefactor     12.869        1.1974       -.54347E-08    .49840E-01
  13  Normalizat    .97900        .14495       -.20559E-05    .28146E-04
  14  Prefactor     1.0692        .51979E-01   -.54533E-06    .70610E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  norm       = 1.66533e-10
  norm       = 0.935473
  Prefactor  = 2.18905
  norm       = 2.05697
  Prefactor  = 5.03476
  Prefactor  = 3.49984
  Prefactor  = 1.16573e-09
  norm       = 0
  norm       = 2.58252
  Prefactor  = 14.4784
  Prefactor  = 12.8691
  Normalizat = 0.978997
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********

 FCN=   24524.65     FROM HESSE     STATUS=OK           196 CALLS      907 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.2493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    3.2072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93547        1.8940        .43390E-03   -1.5689    
   4  Prefactor     2.1890        2.3630        .69524E-03   -1.5678    
   5  norm          2.0570        4.5500        .71876E-03   -1.5679    
   6  Prefactor     5.0348        8.8732        .45077E-03   -1.5663    
   7  Prefactor     3.4998        2.6654        .54021E-03   -1.5671    
   8  Prefactor     .11657E-08    4.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5825        .95948        .63480E-03   -1.5676    
  11  Prefactor     14.478        28.609        .26324E-03   -1.5632    
  12  Prefactor     12.869        9.0985        .27903E-03   -1.5636    
  13  Normalizat    .97900        .13507        .99550E-01   -.93737    
  14  Prefactor     1.0692        .47446E-01    .38898E-01   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30867e-06
Minuit parameter uncertainties:
  1  8.19013e-05
  2  4.72098e-05
  3  1.89397
  4  2.36304
  5  4.55005
  6  8.87323
  7  2.66545
  8  0.000142648
  9  9.38011e-08
  10  0.959478
  11  28.6088
  12  9.0985
  13  0.135116
  14  0.0474482
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227743/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227729/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227743/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:58:28.443451', job_id='27227743', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789508.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:58:28 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227729/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:58:29.680865', job_id='27227729', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789509.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:58:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  1.166e-09  1.426e-04  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  4.745e-02  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 52.673 4.635
Photon Flux Upper Limit: 4.32677560407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00330676914438 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27227745/likelihoodResults_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24524.6493423
delta logL = -0.000456837038655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24524.6488876
delta logL = -2.08936035051e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      237 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3269        .42118E-03** at limit **
   2  Index         2.7369        1.2985        .16950E-04     .0000    
   3  Normalizat    .97900        1.3100        .27540E-05    .52591E-05
   4  Prefactor     1.0692        1.1719       -.12597E-05    .78639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.73687
  Normalizat = 0.978996
  Prefactor  = 1.06919
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24524.65     FROM HESSE     STATUS=FAILED         9 CALLS      246 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .84833        1.9866        .16950E-04   -.46971    
   3  Normalizat    .97900        1.3100        .27540E-05   -.93737    
   4  Prefactor     1.0692        1.1719       -.12597E-05   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85723e-13
Minuit parameter uncertainties:
  1  1.89703e-07
  2  1.31755
  3  1.35722
  4  1.20198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24524.6488855
delta logL = 1.30967237055e-10

Extracting fit parameters...

4FGL J0330.6+0438
   Spectrum: PowerLaw
276    Prefactor:  0.000e+00  1.897e-07  0.000e+00  1.000e+06 ( 1.000e-13)
277        Index:  2.737e+00  1.318e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
472    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
473        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
474        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
471   Normalization:  9.790e-01  1.357e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 52.673 4.635

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/27227745/cmap_HighResolution_800841601_801446401_4FGL_J0330.6+0438_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.33e-08', time_completed='2026-05-26 02:58:57.402081', job_id='27227745', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1779789537.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='929' AND source_name='4FGL J0330.6+0438' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:58:57 PDT 2026

