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


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846410', job_status='RUN', time_executed='2026-05-19 02:44:09.413191', time_epoch_executed='1779183849.41' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846410

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846410/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846410/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846410/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.52
user 4.58
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

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

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

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

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

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

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

 outfile=/lscratch/kocevski/26846410/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 18.98
user 18.08
sys 0.26

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846410/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 67.97
user 62.82
sys 4.18

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.87
user 0.22
sys 0.14

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

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

This is gtbin version HEAD
real 0.90
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846410/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctabnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846642', job_status='RUN', time_executed='2026-05-19 02:45:16.087942', time_epoch_executed='1779183916.09' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846642

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846642/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846642/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846642/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.43
user 5.18
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

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


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846686', job_status='RUN', time_executed='2026-05-19 02:46:19.084331', time_epoch_executed='1779183979.08' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846686

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846686/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846686/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846686/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.02
user 4.13
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

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


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846644', job_status='RUN', time_executed='2026-05-19 02:46:19.574134', time_epoch_executed='1779183979.57' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846644

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846644/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846644/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846644/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.82
user 4.93
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26846644/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26846642/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 21.42
user 20.26
sys 0.25

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846642/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 77.15
user 71.44
sys 4.44

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.95
user 0.26
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26846642/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits scfile=/lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846642/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=51.2058 yref=34.2119 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.04
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846642/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctab outfile=/lscratch/kocevski/26846686/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 16.86
user 16.13
sys 0.23

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846686/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 61.95
user 57.49
sys 3.67

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.75
user 0.21
sys 0.14

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

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

This is gtbin version HEAD
real 0.88
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846686/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctabnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846724', job_status='RUN', time_executed='2026-05-19 02:47:26.238206', time_epoch_executed='1779184046.24' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846724

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846724/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846724/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846724/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.51
user 4.62
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

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


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846751', job_status='RUN', time_executed='2026-05-19 02:48:06.663468', time_epoch_executed='1779184086.66' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846751

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846751/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846751/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846751/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.11
user 4.41
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26846644/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 20.72
user 19.42
sys 0.25

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846644/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 75.41
user 70.06
sys 4.42

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 1.02
user 0.25
sys 0.13

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

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

This is gtbin version HEAD
real 0.90
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846644/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctabnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846757', job_status='RUN', time_executed='2026-05-19 02:48:11.711756', time_epoch_executed='1779184091.71' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846757

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846757/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846757/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846757/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.05
user 4.15
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

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


Performing analysis on: 4FGL_J0324.8+3412_weekly_bin928
RA = 51.2058, Dec = 34.2119
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26846781', job_status='RUN', time_executed='2026-05-19 02:49:08.296242', time_epoch_executed='1779184148.3' WHERE source_name='4FGL J0324.8+3412' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26846781

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26846781/ft1_4FGL_J0324.8+3412_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26846781/ft1_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846781/ft1_filteredMKT_4FGL_J0324.8+3412_weekly_bin928.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.25
user 4.65
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits

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

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

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

Number of photons that the gtmktime cut: 1793

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctable="SC_DATA" le="SC_DATA" srcmdl=/lscratch/kocevski/26846410/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846410/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 119.02
user 116.53
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846410/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846410/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846410/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846410/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846410/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846410/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846410/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846410/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846410/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
 outfile=/lscratch/kocevski/26846724/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 19.44
user 18.61
sys 0.25

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846724/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 72.03
user 66.47
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
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.95
user 0.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846724/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctab outfile=/lscratch/kocevski/26846751/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 18.29
user 17.39
sys 0.24

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846751/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 67.40
user 62.67
sys 3.93

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.87
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits scfile=/lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846751/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=51.2058 yref=34.2119 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctabDone.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846410/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
 outfile=/lscratch/kocevski/26846757/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 16.86
user 16.06
sys 0.23

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846757/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 62.61
user 58.06
sys 3.64

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.80
user 0.19
sys 0.13

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

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

This is gtbin version HEAD
real 0.86
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846757/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctabshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846410/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:54:34.893700', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184474.89', return_code='0', job_id='26846410', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:54:35 PDT 2026

outfile=/lscratch/kocevski/26846781/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 18.77
user 18.01
sys 0.22

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

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26846781/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
.....................!
real 70.34
user 65.48
sys 3.99

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

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

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

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

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits scfile=/lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits outfile=/lscratch/kocevski/26846781/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=51.2058 yref=34.2119 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.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits sctablle="SC_DATA" srcmdl=/lscratch/kocevski/26846686/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846686/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 119.27
user 117.19
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846686/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846686/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846686/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846686/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846686/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846686/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846686/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846686/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846686/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
le="SC_DATA" srcmdl=/lscratch/kocevski/26846642/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846642/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 148.80
user 145.42
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846642/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846642/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846642/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846642/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846642/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846642/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846642/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846642/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846642/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846686/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
Minuit parameter uncertainties:
    = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846686/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:56:42.802001', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184602.8', return_code='0', job_id='26846686', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:56:43 PDT 2026

le="SC_DATA" srcmdl=/lscratch/kocevski/26846644/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846644/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 138.91
user 135.82
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846644/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846644/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846644/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846644/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846644/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846644/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846644/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846644/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846644/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846642/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846642/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:57:32.706416', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184652.71', return_code='0', job_id='26846642', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:57:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846644/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
le="SC_DATA" srcmdl=/lscratch/kocevski/26846757/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846757/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 120.82
user 118.49
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846757/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846757/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846757/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846757/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846757/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846757/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846757/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846757/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846757/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846644/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:57:59.105427', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184679.11', return_code='0', job_id='26846644', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:57:59 PDT 2026

le="SC_DATA" srcmdl=/lscratch/kocevski/26846751/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 128.74
user 126.86
sys 0.73

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846751/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846751/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846751/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846751/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846751/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846751/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846751/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846751/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
le="SC_DATA" srcmdl=/lscratch/kocevski/26846724/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846724/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 138.51
user 135.70
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846724/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846724/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846724/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846724/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846724/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846724/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846724/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846724/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846724/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846751/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846757/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
e="SC_DATA" srcmdl=/lscratch/kocevski/26846781/Model_4FGL_J0324.8+3412_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source HB 9
Working on...
/lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits.....................!
real 134.47
user 132.16
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits', '/lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits', expMap='/lscratch/kocevski/26846781/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', expCube='/lscratch/kocevski/26846781/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26846781/Model_4FGL_J0324.8+3412_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26846781/ft1_filtered_4FGL_J0324.8+3412_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26846781/ft2_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26846781/expmap_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26846781/ltcube_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26846781/Model_4FGL_J0324.8+3412_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8514       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82468E-02   1.0000          .0000       .10000E+07
     3 'norm      '    39.205       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88122E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4866       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7875       1.0000          .0000       .10000E+07
     7 'norm      '    7.6903       1.0000          .0000       .10000E+07
     8 'norm      '    1.6873       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19626       1.0000          .0000       .10000E+07
    10 'norm      '    51.361       1.0000          .0000       .10000E+07
    11 'norm      '    .63656E-04   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18142.89     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      816 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8512        1.6069        .18174E-07   -.11049E-01
   2  Prefactor     .59397E-08    16.679        .14166E-05** at limit **
   3  norm          39.266        1.3503        .64988E-07   -.15091    
   4  Prefactor      .0000        4.6442       -.22498E-05** at limit **
   5  norm          2.4867        .57121        .24934E-06    .22296E-01
   6  Prefactor     1.7873        1.3944        .23353E-06   -.47100E-02
   7  norm          7.6888        4.4368        .11767E-05    .87003E-03
   8  norm          1.6872        1.6549        .50412E-06   -.24464E-02
   9  Prefactor     .28977E-07    47.838        .56772E-05** at limit **
  10  norm          51.384        1.0572        .23028E-07   -.77019E-01
  11  norm           .0000        6.5357       -.21676E-05** at limit **
  12  Normalizat    1.4823        .23477       -.33630E-04   -.44172E-03
  13  Prefactor     1.0100        .56978E-01    .87585E-05   -.16796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85122
  Prefactor  = 5.93969e-09
  norm       = 39.2655
  Prefactor  = 0
  norm       = 2.48668
  Prefactor  = 1.78725
  norm       = 7.68878
  norm       = 1.68718
  Prefactor  = 2.89768e-08
  norm       = 51.3836
  norm       = 0
  Normalizat = 1.48235
  Prefactor  = 1.01002
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846751/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:58:58.700826', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184738.7', return_code='0', job_id='26846751', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:58:59 PDT 2026

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

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846757/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:59:00.998466', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184741.0', return_code='0', job_id='26846757', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:59:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846724/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846724/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:59:08.603401', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184748.6', return_code='0', job_id='26846724', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:59:08 PDT 2026

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

 FCN=   18142.89     FROM HESSE     STATUS=OK           171 CALLS      987 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8512        1.6054        .60184E-03   -1.5674    
   2  Prefactor     .59397E-08    16.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.266        27.689        .15973E-03   -1.5583    
   4  Prefactor      .0000        4.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4867        .57471        .64798E-03   -1.5676    
   6  Prefactor     1.7873        1.4093        .78217E-03   -1.5681    
   7  norm          7.6888        4.4294        .36137E-03   -1.5653    
   8  norm          1.6872        1.6785        .81025E-03   -1.5682    
   9  Prefactor     .28977E-07    47.773        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          51.384        65.000        .13954E-03   -1.5565    
  11  norm           .0000        6.3901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.4823        .21698        .11575       -.78275    
  13  Prefactor     1.0100        .51815E-01    .43322E-01   -.92396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43073e-07
Minuit parameter uncertainties:
  1  1.60542
  2  0.000631549
  3  27.6895
  4  1.74193e-06
  5  0.574706
  6  1.40927
  7  4.42945
  8  1.67852
  9  0.00235375
  10  65.001
  11  1.75569e-05
  12  0.21712
  13  0.0518177
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.787e+00  1.409e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.010e+00  5.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.482e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 5.86e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.30e-05

TS (Fixed Index): 2.33
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 1.88826130716e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0149634241419 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26846781/likelihoodResults_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3212183
delta logL = 0.568514167113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131239

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18142.32     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0818        1.8509        .82832E-05    .15081E-01
   2  Index         3.7001        1.4032        .10441E-01    .12108E-03
   3  Normalizat    1.4386        .23299        .51948E-03    .10119E-03
   4  Prefactor     1.0158        .57328E-01    .15100E-03    .30718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08185
  Index      = 3.70011
  Normalizat = 1.43856
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   18142.32     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0818        1.2801        .33133E-06   -1.5687    
   2  Index         3.7001        .97661        .41765E-03   -.26300    
   3  Normalizat    1.4386        .23281        .20779E-04   -.79520    
   4  Prefactor     1.0158        .57189E-01    .60400E-05   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04552e-10
Minuit parameter uncertainties:
  1  1.28008
  2  0.983396
  3  0.232982
  4  0.0571923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18142.3175003
delta logL = 0.572232131566

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.082e+00  1.280e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  3.700e+00  9.834e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.016e+00  5.719e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.439e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 51.206 34.212
Photon Index (Free Index): 3.70 +/- 0.98
Photon Flux (Free Index): 1.18e-07 +/- 7.45e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.16e-05

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/26846781/cmap_HighResolution_800236801_800841601_4FGL_J0324.8+3412_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='1.87e-05', photon_flux_error='5.86e-08', dlogl='5.72e-01', energy_flux='1.65e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2026-05-19 02:59:59.378049', photon_index_error2='0.98', photon_index2='3.70', ts='2.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.16e-05', EG='1.48', time_epoch_completed='1779184799.38', return_code='0', job_id='26846781', GAL2='1.02', EG2='1.44', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.45e-08', ts2='3.58', photon_index='2.82' WHERE bin_id='928' AND source_name='4FGL J0324.8+3412' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 02:59:59 PDT 2026

