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

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

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

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

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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin2179
RA = 202.693, Dec = 29.5536
tmin = 804124801, tmax = 804384001
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='31423338', job_status='RUN', time_executed='2026-07-12 03:21:47.943921', time_epoch_executed='1783851707.94' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='2179'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31423338

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31423338/ft1_4FGL_J1330.7+2933_daily_bin2179.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31423338/ft1_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423338/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin2179.fits ra=202.693 dec=29.5536 rad=12.0 tmin=804124801.0 tmax=804384001.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 1.84
user 1.43
sys 0.13

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.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/31423338/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" outfile="/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.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.57
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" o/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin2179
RA = 202.693, Dec = 29.5536
tmin = 804124801, tmax = 804384001
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='31423431', job_status='RUN', time_executed='2026-07-12 03:23:13.093275', time_epoch_executed='1783851793.09' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='2179'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31423431

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31423431/ft1_4FGL_J1330.7+2933_daily_bin2179.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31423431/ft1_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423431/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin2179.fits ra=202.693 dec=29.5536 rad=12.0 tmin=804124801.0 tmax=804384001.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 1.66
user 1.23
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.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/31423431/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" outfile="/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.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.64
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31423338/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits
.....................!
real 9.23
user 8.67
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31423338/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423338/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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/31423338/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
.....................!
real 73.84
user 68.89
sys 4.26

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

Setting source of interest to:
4FGL J1330.7+2933 @ 202.693 29.5536

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423338/cmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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=202.693 yref=29.5536 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.56
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423338/cmap_HighResolution_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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=202.693 yref=29.5536 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.63
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" scfile=/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31423338/Model_4FGL_J1330.7+2933_daily_bin2179.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 GAutfile=/lscratch/kocevski/31423431/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits
.....................!
real 7.95
user 7.43
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31423431/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423431/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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/31423431/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
.....................!
real 62.22
user 58.03
sys 3.60

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

Setting source of interest to:
4FGL J1330.7+2933 @ 202.693 29.5536

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423431/cmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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=202.693 yref=29.5536 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.60
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits outfile=/lscratch/kocevski/31423431/cmap_HighResolution_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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=202.693 yref=29.5536 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.54
user 0.21
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits evtable="EVENTS" scfile=/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31423431/Model_4FGL_J1330.7+2933_daily_bin2179.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits.....................!
real 42.19
user 40.58
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits', '/lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits', expMap='/lscratch/kocevski/31423338/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits', expCube='/lscratch/kocevski/31423338/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31423338/Model_4FGL_J1330.7+2933_daily_bin2179.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1330.7+2933'

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  2.755e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31423338/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits
Spacecraft file(s): /lscratch/kocevski/31423338/ft2_4FGL_J1330.7+2933_daily_bin2179.fits
Exposure map: /lscratch/kocevski/31423338/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
Exposure cube: /lscratch/kocevski/31423338/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31423338/Model_4FGL_J1330.7+2933_daily_bin2179.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) = 13181.0243524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.607       1.0000          .0000       .10000E+07
     2 'Prefactor '    .92350E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     4 'norm      '    4.5795       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8296       1.0000          .0000       .10000E+07
     6 'norm      '    6.0080       1.0000          .0000       .10000E+07
     7 'Prefactor '    21.952       1.0000          .0000       .10000E+07
     8 'norm      '    4.0325       1.0000          .0000       .10000E+07
     9 'norm      '    21.916       1.0000          .0000       .10000E+07
    10 'norm      '    .34745E-03   1.0000          .0000       .10000E+07
    11 'norm      '    17.107       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2078       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13149E-02   1.0000          .0000       .10000E+07
    14 'norm      '    9.6777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .26133E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .11205E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    8.8811       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.3080       1.0000          .0000       .10000E+07
    19 'Prefactor '    .69976       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.924       1.0000          .0000       .10000E+07
    21 'norm      '    .83361E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    385.25       1.0000          .0000       .10000E+07
    23 'Normalizat'    .86359       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1697       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13180.94     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1562 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.700        1.3402       -.82429E-07   -.66751E-01
   2  Prefactor      .0000        3.2879        .28024E-06** at limit **
   3  Prefactor      .0000        1.7816       -.10423E-07** at limit **
   4  norm          4.5589        3.5496        .12581E-06   -.41964E-03
   5  Prefactor     6.3274        2.8172       -.52460E-07   -.23247E-01
   6  norm          6.0017        3.4165       -.50423E-06    .35776E-02
   7  Prefactor     21.576        1.4211        .10511E-06    .49998E-01
   8  norm          4.0160        4.0027        .36029E-06   -.27780E-02
   9  norm          21.892        4.8646       -.43974E-06    .15253E-01
  10  norm          .17208E-07    13.263        .33338E-05** at limit **
  11  norm          17.081        1.0284        .78332E-08    .14690E-01
  12  Prefactor     3.2130        3.2876       -.20679E-06   -.10113E-03
  13  Prefactor     .16653E-09    5.4297        .47482E-06** at limit **
  14  norm          9.6745        5.1814        .13144E-06   -.66508E-02
  15  Prefactor     .74385E-08    18.383        .83683E-06** at limit **
  16  norm          .16653E-09    3.0962        .49593E-06** at limit **
  17  Prefactor     8.8733        1.0106       -.97435E-09   -.85695E-03
  18  Prefactor     5.3086        1.0121        .16577E-07    .57350E-02
  19  Prefactor     .70014        .59246        .58602E-07   -.33962E-01
  20  Prefactor     13.944        1.0177        .19882E-07    .86274E-02
  21  norm           .0000        1.2002       -.18789E-06** at limit **
  22  Prefactor     385.23        1.0062        .21491E-08   -.33011E-01
  23  Normalizat    .86360        .17881       -.24148E-05   -.19222E-03
  24  Prefactor     1.1700        .19896        .14197E-04   -.26545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6998
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.55891
  Prefactor  = 6.32739
  norm       = 6.00167
  Prefactor  = 21.5757
  norm       = 4.01605
  norm       = 21.8921
  norm       = 1.72085e-08
  norm       = 17.0812
  Prefactor  = 3.21303
  Prefactor  = 1.66533e-10
  norm       = 9.67451
  Prefactor  = 7.43849e-09
  norm       = 1.66533e-10
  Prefactor  = 8.87333
  Prefactor  = 5.30855
  Prefactor  = 0.700143
  Prefactor  = 13.9441
  norm       = 0
  Prefactor  = 385.227
  Normalizat = 0.863596
  Prefactor  = 1.16998
 **********
 **   18 **HESSE 
 **********

 FCN=   13180.94     FROM HESSE     STATUS=OK           455 CALLS     2017 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.700        14.175        .26180E-03   -1.5631    
   2  Prefactor      .0000        3.2813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.7864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.5589        3.7187        .47014E-03   -1.5665    
   5  Prefactor     6.3274        22.809        .41572E-03   -1.5658    
   6  norm          6.0017        3.4305        .40941E-03   -1.5659    
   7  Prefactor     21.576        15.505        .21349E-03   -1.5615    
   8  norm          4.0160        4.1468        .50191E-03   -1.5668    
   9  norm          21.892        4.9583        .21367E-03   -1.5614    
  10  norm          .17208E-07    13.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.081        12.262        .24188E-03   -1.5625    
  12  Prefactor     3.2130        3.3048        .56543E-03   -1.5672    
  13  Prefactor     .16653E-09    5.4117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.6745        5.2393        .32188E-03   -1.5646    
  15  Prefactor     .74385E-08    18.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    3.0935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.8733        10.153        .33609E-03   -1.5648    
  18  Prefactor     5.3086        12.389        .43600E-03   -1.5662    
  19  Prefactor     .70014        3.2906        .60728E-03   -1.5691    
  20  Prefactor     13.944        13.972        .26816E-03   -1.5633    
  21  norm           .0000        1.2008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     385.23        17.623        .50958E-04   -1.5315    
  23  Normalizat    .86360        .15287        .77139E-01   -.97751    
  24  Prefactor     1.1700        .16542        .76483E-01   -.87260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90577e-07
Minuit parameter uncertainties:
  1  14.1751
  2  1.09123e-06
  3  3.78177e-06
  4  3.71866
  5  22.8093
  6  3.43045
  7  15.5048
  8  4.14684
  9  4.95826
  10  0.000953162
  11  12.2617
  12  3.30476
  13  5.78281e-05
  14  5.23931
  15  0.000744905
  16  4.45791e-05
  17  10.1531
  18  12.3887
  19  3.03571
  20  13.9723
  21  6.10694e-06
  22  17.6226
  23  0.152944
  24  0.165493
L_V02
Working on...
/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits.....................!
real 36.07
user 34.63
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits', '/lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits', expMap='/lscratch/kocevski/31423431/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits', expCube='/lscratch/kocevski/31423431/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31423431/Model_4FGL_J1330.7+2933_daily_bin2179.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1330.7+2933'

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  2.755e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31423431/ft1_filtered_4FGL_J1330.7+2933_daily_bin2179.fits
Spacecraft file(s): /lscratch/kocevski/31423431/ft2_4FGL_J1330.7+2933_daily_bin2179.fits
Exposure map: /lscratch/kocevski/31423431/expmap_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
Exposure cube: /lscratch/kocevski/31423431/ltcube_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31423431/Model_4FGL_J1330.7+2933_daily_bin2179.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) = 13181.0243524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.607       1.0000          .0000       .10000E+07
     2 'Prefactor '    .92350E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12135E-05   1.0000          .0000       .10000E+07
     4 'norm      '    4.5795       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8296       1.0000          .0000       .10000E+07
     6 'norm      '    6.0080       1.0000          .0000       .10000E+07
     7 'Prefactor '    21.952       1.0000          .0000       .10000E+07
     8 'norm      '    4.0325       1.0000          .0000       .10000E+07
     9 'norm      '    21.916       1.0000          .0000       .10000E+07
    10 'norm      '    .34745E-03   1.0000          .0000       .10000E+07
    11 'norm      '    17.107       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2078       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13149E-02   1.0000          .0000       .10000E+07
    14 'norm      '    9.6777       1.0000          .0000       .10000E+07
    15 'Prefactor '    .26133E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .11205E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    8.8811       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.3080       1.0000          .0000       .10000E+07
    19 'Prefactor '    .69976       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.924       1.0000          .0000       .10000E+07
    21 'norm      '    .83361E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    385.25       1.0000          .0000       .10000E+07
    23 'Normalizat'    .86359       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1697       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13180.94     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1562 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.700        1.3402       -.82429E-07   -.66751E-01
   2  Prefactor      .0000        3.2879        .28024E-06** at limit **
   3  Prefactor      .0000        1.7816       -.10423E-07** at limit **
   4  norm          4.5589        3.5496        .12581E-06   -.41964E-03
   5  Prefactor     6.3274        2.8172       -.52460E-07   -.23247E-01
   6  norm          6.0017        3.4165       -.50423E-06    .35776E-02
   7  Prefactor     21.576        1.4211        .10511E-06    .49998E-01
   8  norm          4.0160        4.0027        .36029E-06   -.27780E-02
   9  norm          21.892        4.8646       -.43974E-06    .15253E-01
  10  norm          .17208E-07    13.263        .33338E-05** at limit **
  11  norm          17.081        1.0284        .78332E-08    .14690E-01
  12  Prefactor     3.2130        3.2876       -.20679E-06   -.10113E-03
  13  Prefactor     .16653E-09    5.4297        .47482E-06** at limit **
  14  norm          9.6745        5.1814        .13144E-06   -.66508E-02
  15  Prefactor     .74385E-08    18.383        .83683E-06** at limit **
  16  norm          .16653E-09    3.0962        .49593E-06** at limit **
  17  Prefactor     8.8733        1.0106       -.97435E-09   -.85695E-03
  18  Prefactor     5.3086        1.0121        .16577E-07    .57350E-02
  19  Prefactor     .70014        .59246        .58602E-07   -.33962E-01
  20  Prefactor     13.944        1.0177        .19882E-07    .86274E-02
  21  norm           .0000        1.2002       -.18789E-06** at limit **
  22  Prefactor     385.23        1.0062        .21491E-08   -.33011E-01
  23  Normalizat    .86360        .17881       -.24148E-05   -.19222E-03
  24  Prefactor     1.1700        .19896        .14197E-04   -.26545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6998
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.55891
  Prefactor  = 6.32739
  norm       = 6.00167
  Prefactor  = 21.5757
  norm       = 4.01605
  norm       = 21.8921
  norm       = 1.72085e-08
  norm       = 17.0812
  Prefactor  = 3.21303
  Prefactor  = 1.66533e-10
  norm       = 9.67451
  Prefactor  = 7.43849e-09
  norm       = 1.66533e-10
  Prefactor  = 8.87333
  Prefactor  = 5.30855
  Prefactor  = 0.700143
  Prefactor  = 13.9441
  norm       = 0
  Prefactor  = 385.227
  Normalizat = 0.863596
  Prefactor  = 1.16998
 **********
 **   18 **HESSE 
 **********

 FCN=   13180.94     FROM HESSE     STATUS=OK           455 CALLS     2017 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.700        14.175        .26180E-03   -1.5631    
   2  Prefactor      .0000        3.2813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.7864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.5589        3.7187        .47014E-03   -1.5665    
   5  Prefactor     6.3274        22.809        .41572E-03   -1.5658    
   6  norm          6.0017        3.4305        .40941E-03   -1.5659    
   7  Prefactor     21.576        15.505        .21349E-03   -1.5615    
   8  norm          4.0160        4.1468        .50191E-03   -1.5668    
   9  norm          21.892        4.9583        .21367E-03   -1.5614    
  10  norm          .17208E-07    13.195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.081        12.262        .24188E-03   -1.5625    
  12  Prefactor     3.2130        3.3048        .56543E-03   -1.5672    
  13  Prefactor     .16653E-09    5.4117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.6745        5.2393        .32188E-03   -1.5646    
  15  Prefactor     .74385E-08    18.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    3.0935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.8733        10.153        .33609E-03   -1.5648    
  18  Prefactor     5.3086        12.389        .43600E-03   -1.5662    
  19  Prefactor     .70014        3.2906        .60728E-03   -1.5691    
  20  Prefactor     13.944        13.972        .26816E-03   -1.5633    
  21  norm           .0000        1.2008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     385.23        17.623        .50958E-04   -1.5315    
  23  Normalizat    .86360        .15287        .77139E-01   -.97751    
  24  Prefactor     1.1700        .16542        .76483E-01   -.87260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90577e-07
Minuit parameter uncertainties:
  1  14.1751
  2  1.09123e-06
  3  3.78177e-06
  4  3.71866
  5  22.8093
  6  3.43045
  7  15.5048
  8  4.14684
  9  4.95826
  10  0.000953162
  11  12.2617
  12  3.30476
  13  5.78281e-05
  14  5.23931
  15  0.000744905
  16  4.45791e-05
  17  10.1531
  18  12.3887
  19  3.03571
  20  13.9723
  21  6.10694e-06
  22  17.6226
  23  0.152944
  24  0.165493
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  8.873e+00  1.015e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.170e+00  1.655e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.636e-01  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 202.693 29.554
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 5.85e-06 +/- 6.69e-06

TS (Fixed Index): 1.48
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 7.53031390066e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058375912035 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31423338/likelihoodResults_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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) = 13180.9118734
delta logL = 0.0251349587506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13180.9009507
delta logL = 0.0360576457042

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13180.90     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      261 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2587        11.992        .14881E-04   -.52547E-02
   2  Index         2.7239        1.1579        .10735E-01   -.15333E-03
   3  Normalizat    .85590        .17777        .34285E-03   -.77481E-03
   4  Prefactor     1.1753        .19954        .33778E-03   -.63548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.25867
  Index      = 2.72389
  Normalizat = 0.855896
  Prefactor  = 1.17533
 **********
 **   18 **HESSE 
 **********

 FCN=   13180.90     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2587        10.637        .59523E-06   -1.5654    
   2  Index         2.7239        1.0282        .42939E-03   -.47262    
   3  Normalizat    .85590        .17743        .13714E-04   -.98028    
   4  Prefactor     1.1753        .19941        .67555E-04   -.87094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17732e-09
Minuit parameter uncertainties:
  1  10.6369
  2  1.0376
  3  0.177548
  4  0.199543
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) = 13180.9009506
delta logL = 0.0360577194533

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  7.259e+00  1.064e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.724e+00  1.038e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.175e+00  1.995e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.559e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 202.693 29.554
Photon Index (Free Index): 2.72 +/- 1.04
Photon Flux (Free Index): 2.49e-08 +/- 3.37e-08
Energy Flux (Free Index): 5.88e-06 +/- 6.31e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31423338/cmap_HighResolution_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='5.88e-06', photon_flux_error='2.17e-08', dlogl='3.61e-02', energy_flux='5.85e-06', photon_flux2='2.49e-08', job_status='DONE', time_completed='2026-07-12 03:29:29.851762', photon_index_error2='1.04', photon_index2='2.72', ts='1.48', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='7.53e-08', energy_flux_error2='6.31e-06', EG='0.86', time_epoch_completed='1783852169.85', return_code='0', job_id='31423338', GAL2='1.18', EG2='0.86', return_code2='0', energy_flux_error='6.69e-06', photon_flux_error2='3.37e-08', ts2='1.54', photon_index='2.45' WHERE bin_id='2179' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 03:29:30 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  8.873e+00  1.015e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.170e+00  1.655e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.636e-01  1.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 202.693 29.554
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 5.85e-06 +/- 6.69e-06

TS (Fixed Index): 1.48
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 7.53031390066e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0058375912035 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31423431/likelihoodResults_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.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) = 13180.9118734
delta logL = 0.0251349587506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13180.9009507
delta logL = 0.0360576457042

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13180.90     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      261 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2587        11.992        .14881E-04   -.52547E-02
   2  Index         2.7239        1.1579        .10735E-01   -.15333E-03
   3  Normalizat    .85590        .17777        .34285E-03   -.77481E-03
   4  Prefactor     1.1753        .19954        .33778E-03   -.63548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.25867
  Index      = 2.72389
  Normalizat = 0.855896
  Prefactor  = 1.17533
 **********
 **   18 **HESSE 
 **********

 FCN=   13180.90     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2587        10.637        .59523E-06   -1.5654    
   2  Index         2.7239        1.0282        .42939E-03   -.47262    
   3  Normalizat    .85590        .17743        .13714E-04   -.98028    
   4  Prefactor     1.1753        .19941        .67555E-04   -.87094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17732e-09
Minuit parameter uncertainties:
  1  10.6369
  2  1.0376
  3  0.177548
  4  0.199543
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) = 13180.9009506
delta logL = 0.0360577194533

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  7.259e+00  1.064e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.724e+00  1.038e+00  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.175e+00  1.995e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.559e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 202.693 29.554
Photon Index (Free Index): 2.72 +/- 1.04
Photon Flux (Free Index): 2.49e-08 +/- 3.37e-08
Energy Flux (Free Index): 5.88e-06 +/- 6.31e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31423431/cmap_HighResolution_804124801_804384001_4FGL_J1330.7+2933_daily_bin2179.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='5.88e-06', photon_flux_error='2.17e-08', dlogl='3.61e-02', energy_flux='5.85e-06', photon_flux2='2.49e-08', job_status='DONE', time_completed='2026-07-12 03:30:02.340242', photon_index_error2='1.04', photon_index2='2.72', ts='1.48', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='7.53e-08', energy_flux_error2='6.31e-06', EG='0.86', time_epoch_completed='1783852202.34', return_code='0', job_id='31423431', GAL2='1.18', EG2='0.86', return_code2='0', energy_flux_error='6.69e-06', photon_flux_error2='3.37e-08', ts2='1.54', photon_index='2.45' WHERE bin_id='2179' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 03:30:02 PDT 2026

