/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
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.

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

Done.


Performing analysis on: 4FGL_J1330.7+2933_weekly_bin938
RA = 202.693, Dec = 29.5536
tmin = 806284801, tmax = 806889601
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='33443532', job_status='RUN', time_executed='2026-07-28 10:57:20.164580', time_epoch_executed='1785261440.16' WHERE source_name='4FGL J1330.7+2933' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33443532

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33443532/ft1_4FGL_J1330.7+2933_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33443532/ft1_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443532/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits ra=202.693 dec=29.5536 rad=12.0 tmin=806284801.0 tmax=806889601.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.60
user 4.63
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.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/33443532/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1763

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA"/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/33443532/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 17.27
user 16.45
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33443532/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443532/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443532/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 65.42
user 60.47
sys 3.88

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/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443532/cmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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 1.00
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443532/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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 1.01
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33443532/Model_4FGL_J1330.7+2933_weekly_bin938.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 sourcnumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1330.7+2933_weekly_bin938
RA = 202.693, Dec = 29.5536
tmin = 806284801, tmax = 806889601
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='33443805', job_status='RUN', time_executed='2026-07-28 11:01:18.254843', time_epoch_executed='1785261678.25' WHERE source_name='4FGL J1330.7+2933' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33443805

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33443805/ft1_4FGL_J1330.7+2933_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33443805/ft1_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443805/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits ra=202.693 dec=29.5536 rad=12.0 tmin=806284801.0 tmax=806889601.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.06
user 5.09
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.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/33443805/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1763

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA"number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1330.7+2933_weekly_bin938
RA = 202.693, Dec = 29.5536
tmin = 806284801, tmax = 806889601
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='33443967', job_status='RUN', time_executed='2026-07-28 11:02:14.202762', time_epoch_executed='1785261734.2' WHERE source_name='4FGL J1330.7+2933' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33443967

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33443967/ft1_4FGL_J1330.7+2933_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33443967/ft1_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443967/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits ra=202.693 dec=29.5536 rad=12.0 tmin=806284801.0 tmax=806889601.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.21
user 4.43
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.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/33443967/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.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.97
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 1763

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits.....................!
real 47.26
user 45.28
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits', '/lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits', expMap='/lscratch/kocevski/33443532/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', expCube='/lscratch/kocevski/33443532/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33443532/Model_4FGL_J1330.7+2933_weekly_bin938.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/33443532/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33443532/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33443532/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33443532/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33443532/Model_4FGL_J1330.7+2933_weekly_bin938.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) = 17850.9861929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4392       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65987E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11056E-01   1.0000          .0000       .10000E+07
     4 'norm      '    25.608       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .53405       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.892       1.0000          .0000       .10000E+07
     8 'norm      '    1.3241       1.0000          .0000       .10000E+07
     9 'norm      '    27.758       1.0000          .0000       .10000E+07
    10 'norm      '    .37952E-03   1.0000          .0000       .10000E+07
    11 'norm      '    12.149       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12679E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .49819E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.7582       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.386       1.0000          .0000       .10000E+07
    16 'norm      '    22.130       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8262       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.624       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1874       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.336       1.0000          .0000       .10000E+07
    21 'norm      '    .11892E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    158.50       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1525       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=   17850.94     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1584 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4208        9.7296       -.11405E-07    .28449E-02
   2  Prefactor      .0000        1.2674        .56953E-07** at limit **
   3  Prefactor     .33888E-05    18.690       -.25322E-06** at limit **
   4  norm          25.625        4.6788       -.20070E-07    .94461E-04
   5  Prefactor     .94369E-09    4.9689        .17357E-06** at limit **
   6  norm          .54003        1.6724        .74526E-08   -.36746E-03
   7  Prefactor     18.729        10.361       -.10386E-08    .33104E-02
   8  norm          1.3330        2.3328        .16030E-06    .29954E-03
   9  norm          27.766        3.9180       -.78552E-07   -.56983E-02
  10  norm          .43632E-07    12.586       -.13668E-06** at limit **
  11  norm          12.129        1.5512        .22282E-07   -.87739E-03
  12  Prefactor      .0000        .75426       -.20750E-08** at limit **
  13  Prefactor     .61062E-09    2.2616        .10379E-09** at limit **
  14  norm          4.7898        3.5546       -.35091E-07   -.62597E-02
  15  Prefactor     18.867        19.326        .20692E-06   -.51370E-01
  16  norm          22.170        4.0141        .41372E-07    .57820E-01
  17  Prefactor     4.0698        6.7421        .18641E-06   -.17265E-02
  18  Prefactor     10.600        4.6947        .87951E-07    .25641E-01
  19  Prefactor     2.1882        2.0187       -.81764E-07   -.51531E-03
  20  Prefactor     17.581        3.6755        .53922E-07   -.15454E-01
  21  norm          .22204E-09    2.7662        .16307E-07** at limit **
  22  Prefactor     158.51        2.6871        .11450E-07    .37033E-01
  23  Normalizat    .77013        .13892        .97025E-06   -.43042E-04
  24  Prefactor     1.1527        .15363       -.16051E-05   -.12255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4208
  Prefactor  = 0
  Prefactor  = 3.38879e-06
  norm       = 25.6249
  Prefactor  = 9.4369e-10
  norm       = 0.540026
  Prefactor  = 18.7285
  norm       = 1.33302
  norm       = 27.766
  norm       = 4.36318e-08
  norm       = 12.1294
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 4.78981
  Prefactor  = 18.8669
  norm       = 22.1698
  Prefactor  = 4.06979
  Prefactor  = 10.5996
  Prefactor  = 2.18816
  Prefactor  = 17.5815
  norm       = 2.22045e-10
  Prefactor  = 158.506
  Normalizat = 0.770128
  Prefactor  = 1.15266
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1330.7+2933_weekly_bin938
RA = 202.693, Dec = 29.5536
tmin = 806284801, tmax = 806889601
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='33444018', job_status='RUN', time_executed='2026-07-28 11:03:20.751497', time_epoch_executed='1785261800.75' WHERE source_name='4FGL J1330.7+2933' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33444018

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33444018/ft1_4FGL_J1330.7+2933_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33444018/ft1_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33444018/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits ra=202.693 dec=29.5536 rad=12.0 tmin=806284801.0 tmax=806889601.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.35
user 4.56
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.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/33444018/ft1_filteredMKT_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1763

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" **********
 **   18 **HESSE 
 **********

 FCN=   17850.94     FROM HESSE     STATUS=OK           465 CALLS     2049 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4208        10.190        .89909E-03   -1.5684    
   2  Prefactor      .0000        1.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33888E-05    2.3474        .61221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.625        4.6743        .19765E-03   -1.5607    
   5  Prefactor     .94369E-09    4.9847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .54003        1.6892        .75356E-03   -1.5693    
   7  Prefactor     18.729        11.039        .23015E-03   -1.5621    
   8  norm          1.3330        2.3895        .95521E-03   -1.5685    
   9  norm          27.766        3.9461        .18984E-03   -1.5603    
  10  norm          .43632E-07    12.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.129        10.092        .28715E-03   -1.5638    
  12  Prefactor      .0000        .75299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7898        3.8840        .46102E-03   -1.5664    
  15  Prefactor     18.867        26.826        .23993E-03   -1.5621    
  16  norm          22.170        7.3138        .21263E-03   -1.5614    
  17  Prefactor     4.0698        11.586        .51573E-03   -1.5668    
  18  Prefactor     10.600        10.010        .30715E-03   -1.5643    
  19  Prefactor     2.1882        2.0366        .69566E-03   -1.5678    
  20  Prefactor     17.581        10.758        .24027E-03   -1.5624    
  21  norm          .22204E-09    2.8803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.51        8.5067        .79437E-04   -1.5456    
  23  Normalizat    .77013        .11582        .68847E-01   -1.0119    
  24  Prefactor     1.1527        .12763        .66754E-01   -.87801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1348e-07
Minuit parameter uncertainties:
  1  7.60994
  2  9.63586e-06
  3  0.00564089
  4  4.67434
  5  0.000135635
  6  1.68924
  7  11.0389
  8  2.38953
  9  3.94606
  10  0.00148741
  11  10.0921
  12  3.14877e-06
  13  7.49287e-05
  14  3.884
  15  26.8265
  16  7.31377
  17  11.5865
  18  10.0099
  19  2.03659
  20  10.7582
  21  5.29073e-05
  22  8.50666
  23  0.115852
  24  0.127661
 outfile=/lscratch/kocevski/33443805/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 18.76
user 17.69
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33443805/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443805/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443805/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 68.74
user 63.79
sys 3.84

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/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443805/cmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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.98
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443805/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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.90
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33443805/Model_4FGL_J1330.7+2933_weekly_bin938.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 sourcoutfile=/lscratch/kocevski/33443967/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 17.28
user 16.29
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33443967/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443967/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33443967/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 62.87
user 57.90
sys 3.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443967/cmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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 1.16
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33443967/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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.92
user 0.21
sys 0.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33443967/Model_4FGL_J1330.7+2933_weekly_bin938.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 sourceDone.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  4.070e+00  1.159e+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.153e+00  1.277e-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:  7.701e-01  1.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/33443532/likelihoodResults_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.5446141
delta logL = 1.39470095408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.496973
delta logL = 1.44234196237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56233       1.0000          .0000       .10000E+07
     2 'Index     '    4.4514       1.0000          .0000       10.000    
     3 'Normalizat'    .70441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2025       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.

 FCN=   17849.50     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      283 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56155        4.0899        .72672E-03    .37062E-01
   2  Index         4.4525        2.0052        .11123        .47700E-03
   3  Normalizat    .70427        .27471E-01    .71639E-01    .67301E-04
   4  Prefactor     1.2027        .32059E-01    .65535E-01    .67775E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.561553
  Index      = 4.45252
  Normalizat = 0.704272
  Prefactor  = 1.20269
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      316 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56155        10.267        .59075E-05   -1.5693    
   2  Index         4.4525        3.6455        .60646E-02   -.10972    
   3  Normalizat    .70427        .10809        .31709E-03   -1.0372    
   4  Prefactor     1.2027        .12430        .28986E-03   -.86249    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5133e-06
Minuit parameter uncertainties:
  1  4.80229
  2  4.09257
  3  0.108118
  4  0.124329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.4969716
delta logL = 1.44234343803

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.616e-01  4.802e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.453e+00  4.093e+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.203e+00  1.243e-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:  7.043e-01  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 202.693 29.554
Photon Index (Free Index): 4.45 +/- 4.09
Photon Flux (Free Index): 5.53e-08 +/- 3.39e-08
Energy Flux (Free Index): 7.77e-06 +/- 6.66e-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/33443532/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', comment='SUCCESS', energy_flux2='7.77e-06', dlogl='1.44e+00', photon_flux2='5.53e-08', job_status='DONE', time_completed='2026-07-28 11:10:14.368624', photon_index_error2='4.09', photon_index2='4.45', ts='0.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='6.66e-06', EG='0.77', time_epoch_completed='1785262214.37', return_code='0', job_id='33443532', GAL2='1.20', EG2='0.70', return_code2='102', photon_flux_error2='3.39e-08', ts2='3.28', photon_index='2.45' WHERE bin_id='938' AND source_name='4FGL J1330.7+2933' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:10:14 PDT 2026

 outfile=/lscratch/kocevski/33444018/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 16.96
user 16.06
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33444018/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33444018/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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/33444018/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
.....................!
real 61.40
user 56.64
sys 3.79

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/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33444018/cmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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.88
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits outfile=/lscratch/kocevski/33444018/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.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.85
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33444018/Model_4FGL_J1330.7+2933_weekly_bin938.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/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits.....................!
real 49.92
user 47.67
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits', '/lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits', expMap='/lscratch/kocevski/33443805/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', expCube='/lscratch/kocevski/33443805/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33443805/Model_4FGL_J1330.7+2933_weekly_bin938.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/33443805/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33443805/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33443805/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33443805/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33443805/Model_4FGL_J1330.7+2933_weekly_bin938.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) = 17850.9861929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4392       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65987E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11056E-01   1.0000          .0000       .10000E+07
     4 'norm      '    25.608       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .53405       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.892       1.0000          .0000       .10000E+07
     8 'norm      '    1.3241       1.0000          .0000       .10000E+07
     9 'norm      '    27.758       1.0000          .0000       .10000E+07
    10 'norm      '    .37952E-03   1.0000          .0000       .10000E+07
    11 'norm      '    12.149       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12679E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .49819E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.7582       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.386       1.0000          .0000       .10000E+07
    16 'norm      '    22.130       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8262       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.624       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1874       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.336       1.0000          .0000       .10000E+07
    21 'norm      '    .11892E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    158.50       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1525       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=   17850.94     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1584 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4208        9.7296       -.11405E-07    .28449E-02
   2  Prefactor      .0000        1.2674        .56953E-07** at limit **
   3  Prefactor     .33888E-05    18.690       -.25322E-06** at limit **
   4  norm          25.625        4.6788       -.20070E-07    .94461E-04
   5  Prefactor     .94369E-09    4.9689        .17357E-06** at limit **
   6  norm          .54003        1.6724        .74526E-08   -.36746E-03
   7  Prefactor     18.729        10.361       -.10386E-08    .33104E-02
   8  norm          1.3330        2.3328        .16030E-06    .29954E-03
   9  norm          27.766        3.9180       -.78552E-07   -.56983E-02
  10  norm          .43632E-07    12.586       -.13668E-06** at limit **
  11  norm          12.129        1.5512        .22282E-07   -.87739E-03
  12  Prefactor      .0000        .75426       -.20750E-08** at limit **
  13  Prefactor     .61062E-09    2.2616        .10379E-09** at limit **
  14  norm          4.7898        3.5546       -.35091E-07   -.62597E-02
  15  Prefactor     18.867        19.326        .20692E-06   -.51370E-01
  16  norm          22.170        4.0141        .41372E-07    .57820E-01
  17  Prefactor     4.0698        6.7421        .18641E-06   -.17265E-02
  18  Prefactor     10.600        4.6947        .87951E-07    .25641E-01
  19  Prefactor     2.1882        2.0187       -.81764E-07   -.51531E-03
  20  Prefactor     17.581        3.6755        .53922E-07   -.15454E-01
  21  norm          .22204E-09    2.7662        .16307E-07** at limit **
  22  Prefactor     158.51        2.6871        .11450E-07    .37033E-01
  23  Normalizat    .77013        .13892        .97025E-06   -.43042E-04
  24  Prefactor     1.1527        .15363       -.16051E-05   -.12255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4208
  Prefactor  = 0
  Prefactor  = 3.38879e-06
  norm       = 25.6249
  Prefactor  = 9.4369e-10
  norm       = 0.540026
  Prefactor  = 18.7285
  norm       = 1.33302
  norm       = 27.766
  norm       = 4.36318e-08
  norm       = 12.1294
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 4.78981
  Prefactor  = 18.8669
  norm       = 22.1698
  Prefactor  = 4.06979
  Prefactor  = 10.5996
  Prefactor  = 2.18816
  Prefactor  = 17.5815
  norm       = 2.22045e-10
  Prefactor  = 158.506
  Normalizat = 0.770128
  Prefactor  = 1.15266
 GAL_V02
Working on...
/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits.....................!
real 43.70
user 41.89
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits', '/lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits', expMap='/lscratch/kocevski/33443967/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', expCube='/lscratch/kocevski/33443967/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33443967/Model_4FGL_J1330.7+2933_weekly_bin938.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/33443967/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33443967/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33443967/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33443967/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33443967/Model_4FGL_J1330.7+2933_weekly_bin938.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) = 17850.9861929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4392       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65987E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11056E-01   1.0000          .0000       .10000E+07
     4 'norm      '    25.608       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .53405       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.892       1.0000          .0000       .10000E+07
     8 'norm      '    1.3241       1.0000          .0000       .10000E+07
     9 'norm      '    27.758       1.0000          .0000       .10000E+07
    10 'norm      '    .37952E-03   1.0000          .0000       .10000E+07
    11 'norm      '    12.149       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12679E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .49819E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.7582       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.386       1.0000          .0000       .10000E+07
    16 'norm      '    22.130       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8262       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.624       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1874       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.336       1.0000          .0000       .10000E+07
    21 'norm      '    .11892E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    158.50       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1525       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=   17850.94     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1584 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4208        9.7296       -.11405E-07    .28449E-02
   2  Prefactor      .0000        1.2674        .56953E-07** at limit **
   3  Prefactor     .33888E-05    18.690       -.25322E-06** at limit **
   4  norm          25.625        4.6788       -.20070E-07    .94461E-04
   5  Prefactor     .94369E-09    4.9689        .17357E-06** at limit **
   6  norm          .54003        1.6724        .74526E-08   -.36746E-03
   7  Prefactor     18.729        10.361       -.10386E-08    .33104E-02
   8  norm          1.3330        2.3328        .16030E-06    .29954E-03
   9  norm          27.766        3.9180       -.78552E-07   -.56983E-02
  10  norm          .43632E-07    12.586       -.13668E-06** at limit **
  11  norm          12.129        1.5512        .22282E-07   -.87739E-03
  12  Prefactor      .0000        .75426       -.20750E-08** at limit **
  13  Prefactor     .61062E-09    2.2616        .10379E-09** at limit **
  14  norm          4.7898        3.5546       -.35091E-07   -.62597E-02
  15  Prefactor     18.867        19.326        .20692E-06   -.51370E-01
  16  norm          22.170        4.0141        .41372E-07    .57820E-01
  17  Prefactor     4.0698        6.7421        .18641E-06   -.17265E-02
  18  Prefactor     10.600        4.6947        .87951E-07    .25641E-01
  19  Prefactor     2.1882        2.0187       -.81764E-07   -.51531E-03
  20  Prefactor     17.581        3.6755        .53922E-07   -.15454E-01
  21  norm          .22204E-09    2.7662        .16307E-07** at limit **
  22  Prefactor     158.51        2.6871        .11450E-07    .37033E-01
  23  Normalizat    .77013        .13892        .97025E-06   -.43042E-04
  24  Prefactor     1.1527        .15363       -.16051E-05   -.12255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4208
  Prefactor  = 0
  Prefactor  = 3.38879e-06
  norm       = 25.6249
  Prefactor  = 9.4369e-10
  norm       = 0.540026
  Prefactor  = 18.7285
  norm       = 1.33302
  norm       = 27.766
  norm       = 4.36318e-08
  norm       = 12.1294
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 4.78981
  Prefactor  = 18.8669
  norm       = 22.1698
  Prefactor  = 4.06979
  Prefactor  = 10.5996
  Prefactor  = 2.18816
  Prefactor  = 17.5815
  norm       = 2.22045e-10
  Prefactor  = 158.506
  Normalizat = 0.770128
  Prefactor  = 1.15266
 **********
 **   18 **HESSE 
 **********

 FCN=   17850.94     FROM HESSE     STATUS=OK           465 CALLS     2049 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4208        10.190        .89909E-03   -1.5684    
   2  Prefactor      .0000        1.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33888E-05    2.3474        .61221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.625        4.6743        .19765E-03   -1.5607    
   5  Prefactor     .94369E-09    4.9847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .54003        1.6892        .75356E-03   -1.5693    
   7  Prefactor     18.729        11.039        .23015E-03   -1.5621    
   8  norm          1.3330        2.3895        .95521E-03   -1.5685    
   9  norm          27.766        3.9461        .18984E-03   -1.5603    
  10  norm          .43632E-07    12.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.129        10.092        .28715E-03   -1.5638    
  12  Prefactor      .0000        .75299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7898        3.8840        .46102E-03   -1.5664    
  15  Prefactor     18.867        26.826        .23993E-03   -1.5621    
  16  norm          22.170        7.3138        .21263E-03   -1.5614    
  17  Prefactor     4.0698        11.586        .51573E-03   -1.5668    
  18  Prefactor     10.600        10.010        .30715E-03   -1.5643    
  19  Prefactor     2.1882        2.0366        .69566E-03   -1.5678    
  20  Prefactor     17.581        10.758        .24027E-03   -1.5624    
  21  norm          .22204E-09    2.8803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.51        8.5067        .79437E-04   -1.5456    
  23  Normalizat    .77013        .11582        .68847E-01   -1.0119    
  24  Prefactor     1.1527        .12763        .66754E-01   -.87801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1348e-07
Minuit parameter uncertainties:
  1  7.60994
  2  9.63586e-06
  3  0.00564089
  4  4.67434
  5  0.000135635
  6  1.68924
  7  11.0389
  8  2.38953
  9  3.94606
  10  0.00148741
  11  10.0921
  12  3.14877e-06
  13  7.49287e-05
  14  3.884
  15  26.8265
  16  7.31377
  17  11.5865
  18  10.0099
  19  2.03659
  20  10.7582
  21  5.29073e-05
  22  8.50666
  23  0.115852
  24  0.127661
 **********
 **   18 **HESSE 
 **********

 FCN=   17850.94     FROM HESSE     STATUS=OK           465 CALLS     2049 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4208        10.190        .89909E-03   -1.5684    
   2  Prefactor      .0000        1.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33888E-05    2.3474        .61221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.625        4.6743        .19765E-03   -1.5607    
   5  Prefactor     .94369E-09    4.9847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .54003        1.6892        .75356E-03   -1.5693    
   7  Prefactor     18.729        11.039        .23015E-03   -1.5621    
   8  norm          1.3330        2.3895        .95521E-03   -1.5685    
   9  norm          27.766        3.9461        .18984E-03   -1.5603    
  10  norm          .43632E-07    12.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.129        10.092        .28715E-03   -1.5638    
  12  Prefactor      .0000        .75299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7898        3.8840        .46102E-03   -1.5664    
  15  Prefactor     18.867        26.826        .23993E-03   -1.5621    
  16  norm          22.170        7.3138        .21263E-03   -1.5614    
  17  Prefactor     4.0698        11.586        .51573E-03   -1.5668    
  18  Prefactor     10.600        10.010        .30715E-03   -1.5643    
  19  Prefactor     2.1882        2.0366        .69566E-03   -1.5678    
  20  Prefactor     17.581        10.758        .24027E-03   -1.5624    
  21  norm          .22204E-09    2.8803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.51        8.5067        .79437E-04   -1.5456    
  23  Normalizat    .77013        .11582        .68847E-01   -1.0119    
  24  Prefactor     1.1527        .12763        .66754E-01   -.87801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1348e-07
Minuit parameter uncertainties:
  1  7.60994
  2  9.63586e-06
  3  0.00564089
  4  4.67434
  5  0.000135635
  6  1.68924
  7  11.0389
  8  2.38953
  9  3.94606
  10  0.00148741
  11  10.0921
  12  3.14877e-06
  13  7.49287e-05
  14  3.884
  15  26.8265
  16  7.31377
  17  11.5865
  18  10.0099
  19  2.03659
  20  10.7582
  21  5.29073e-05
  22  8.50666
  23  0.115852
  24  0.127661
e GAL_V02
Working on...
/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits.....................!
real 43.51
user 41.69
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits', '/lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits', expMap='/lscratch/kocevski/33444018/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', expCube='/lscratch/kocevski/33444018/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33444018/Model_4FGL_J1330.7+2933_weekly_bin938.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/33444018/ft1_filtered_4FGL_J1330.7+2933_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33444018/ft2_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33444018/expmap_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33444018/ltcube_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33444018/Model_4FGL_J1330.7+2933_weekly_bin938.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) = 17850.9861929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4392       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65987E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11056E-01   1.0000          .0000       .10000E+07
     4 'norm      '    25.608       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26645E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .53405       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.892       1.0000          .0000       .10000E+07
     8 'norm      '    1.3241       1.0000          .0000       .10000E+07
     9 'norm      '    27.758       1.0000          .0000       .10000E+07
    10 'norm      '    .37952E-03   1.0000          .0000       .10000E+07
    11 'norm      '    12.149       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12679E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .49819E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.7582       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.386       1.0000          .0000       .10000E+07
    16 'norm      '    22.130       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8262       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.624       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1874       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.336       1.0000          .0000       .10000E+07
    21 'norm      '    .11892E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    158.50       1.0000          .0000       .10000E+07
    23 'Normalizat'    .77150       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1525       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=   17850.94     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1584 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4208        9.7296       -.11405E-07    .28449E-02
   2  Prefactor      .0000        1.2674        .56953E-07** at limit **
   3  Prefactor     .33888E-05    18.690       -.25322E-06** at limit **
   4  norm          25.625        4.6788       -.20070E-07    .94461E-04
   5  Prefactor     .94369E-09    4.9689        .17357E-06** at limit **
   6  norm          .54003        1.6724        .74526E-08   -.36746E-03
   7  Prefactor     18.729        10.361       -.10386E-08    .33104E-02
   8  norm          1.3330        2.3328        .16030E-06    .29954E-03
   9  norm          27.766        3.9180       -.78552E-07   -.56983E-02
  10  norm          .43632E-07    12.586       -.13668E-06** at limit **
  11  norm          12.129        1.5512        .22282E-07   -.87739E-03
  12  Prefactor      .0000        .75426       -.20750E-08** at limit **
  13  Prefactor     .61062E-09    2.2616        .10379E-09** at limit **
  14  norm          4.7898        3.5546       -.35091E-07   -.62597E-02
  15  Prefactor     18.867        19.326        .20692E-06   -.51370E-01
  16  norm          22.170        4.0141        .41372E-07    .57820E-01
  17  Prefactor     4.0698        6.7421        .18641E-06   -.17265E-02
  18  Prefactor     10.600        4.6947        .87951E-07    .25641E-01
  19  Prefactor     2.1882        2.0187       -.81764E-07   -.51531E-03
  20  Prefactor     17.581        3.6755        .53922E-07   -.15454E-01
  21  norm          .22204E-09    2.7662        .16307E-07** at limit **
  22  Prefactor     158.51        2.6871        .11450E-07    .37033E-01
  23  Normalizat    .77013        .13892        .97025E-06   -.43042E-04
  24  Prefactor     1.1527        .15363       -.16051E-05   -.12255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4208
  Prefactor  = 0
  Prefactor  = 3.38879e-06
  norm       = 25.6249
  Prefactor  = 9.4369e-10
  norm       = 0.540026
  Prefactor  = 18.7285
  norm       = 1.33302
  norm       = 27.766
  norm       = 4.36318e-08
  norm       = 12.1294
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 4.78981
  Prefactor  = 18.8669
  norm       = 22.1698
  Prefactor  = 4.06979
  Prefactor  = 10.5996
  Prefactor  = 2.18816
  Prefactor  = 17.5815
  norm       = 2.22045e-10
  Prefactor  = 158.506
  Normalizat = 0.770128
  Prefactor  = 1.15266
 **********
 **   18 **HESSE 
 **********

 FCN=   17850.94     FROM HESSE     STATUS=OK           465 CALLS     2049 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4208        10.190        .89909E-03   -1.5684    
   2  Prefactor      .0000        1.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33888E-05    2.3474        .61221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.625        4.6743        .19765E-03   -1.5607    
   5  Prefactor     .94369E-09    4.9847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .54003        1.6892        .75356E-03   -1.5693    
   7  Prefactor     18.729        11.039        .23015E-03   -1.5621    
   8  norm          1.3330        2.3895        .95521E-03   -1.5685    
   9  norm          27.766        3.9461        .18984E-03   -1.5603    
  10  norm          .43632E-07    12.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.129        10.092        .28715E-03   -1.5638    
  12  Prefactor      .0000        .75299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61062E-09    2.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7898        3.8840        .46102E-03   -1.5664    
  15  Prefactor     18.867        26.826        .23993E-03   -1.5621    
  16  norm          22.170        7.3138        .21263E-03   -1.5614    
  17  Prefactor     4.0698        11.586        .51573E-03   -1.5668    
  18  Prefactor     10.600        10.010        .30715E-03   -1.5643    
  19  Prefactor     2.1882        2.0366        .69566E-03   -1.5678    
  20  Prefactor     17.581        10.758        .24027E-03   -1.5624    
  21  norm          .22204E-09    2.8803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.51        8.5067        .79437E-04   -1.5456    
  23  Normalizat    .77013        .11582        .68847E-01   -1.0119    
  24  Prefactor     1.1527        .12763        .66754E-01   -.87801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1348e-07
Minuit parameter uncertainties:
  1  7.60994
  2  9.63586e-06
  3  0.00564089
  4  4.67434
  5  0.000135635
  6  1.68924
  7  11.0389
  8  2.38953
  9  3.94606
  10  0.00148741
  11  10.0921
  12  3.14877e-06
  13  7.49287e-05
  14  3.884
  15  26.8265
  16  7.31377
  17  11.5865
  18  10.0099
  19  2.03659
  20  10.7582
  21  5.29073e-05
  22  8.50666
  23  0.115852
  24  0.127661
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  4.070e+00  1.159e+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.153e+00  1.277e-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:  7.701e-01  1.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/33443805/likelihoodResults_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.5446141
delta logL = 1.39470095408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.496973
delta logL = 1.44234196237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56233       1.0000          .0000       .10000E+07
     2 'Index     '    4.4514       1.0000          .0000       10.000    
     3 'Normalizat'    .70441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2025       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.

 FCN=   17849.50     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      283 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56155        4.0899        .72672E-03    .37062E-01
   2  Index         4.4525        2.0052        .11123        .47700E-03
   3  Normalizat    .70427        .27471E-01    .71639E-01    .67301E-04
   4  Prefactor     1.2027        .32059E-01    .65535E-01    .67775E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.561553
  Index      = 4.45252
  Normalizat = 0.704272
  Prefactor  = 1.20269
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      316 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56155        10.267        .59075E-05   -1.5693    
   2  Index         4.4525        3.6455        .60646E-02   -.10972    
   3  Normalizat    .70427        .10809        .31709E-03   -1.0372    
   4  Prefactor     1.2027        .12430        .28986E-03   -.86249    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5133e-06
Minuit parameter uncertainties:
  1  4.80229
  2  4.09257
  3  0.108118
  4  0.124329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.4969716
delta logL = 1.44234343803

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.616e-01  4.802e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.453e+00  4.093e+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.203e+00  1.243e-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:  7.043e-01  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 202.693 29.554
Photon Index (Free Index): 4.45 +/- 4.09
Photon Flux (Free Index): 5.53e-08 +/- 3.39e-08
Energy Flux (Free Index): 7.77e-06 +/- 6.66e-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/33443805/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', comment='SUCCESS', energy_flux2='7.77e-06', dlogl='1.44e+00', photon_flux2='5.53e-08', job_status='DONE', time_completed='2026-07-28 11:14:38.085374', photon_index_error2='4.09', photon_index2='4.45', ts='0.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='6.66e-06', EG='0.77', time_epoch_completed='1785262478.09', return_code='0', job_id='33443805', GAL2='1.20', EG2='0.70', return_code2='102', photon_flux_error2='3.39e-08', ts2='3.28', photon_index='2.45' WHERE bin_id='938' AND source_name='4FGL J1330.7+2933' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:14:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  4.070e+00  1.159e+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.153e+00  1.277e-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:  7.701e-01  1.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/33443967/likelihoodResults_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.5446141
delta logL = 1.39470095408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.496973
delta logL = 1.44234196237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56233       1.0000          .0000       .10000E+07
     2 'Index     '    4.4514       1.0000          .0000       10.000    
     3 'Normalizat'    .70441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2025       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.

 FCN=   17849.50     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      283 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56155        4.0899        .72672E-03    .37062E-01
   2  Index         4.4525        2.0052        .11123        .47700E-03
   3  Normalizat    .70427        .27471E-01    .71639E-01    .67301E-04
   4  Prefactor     1.2027        .32059E-01    .65535E-01    .67775E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.561553
  Index      = 4.45252
  Normalizat = 0.704272
  Prefactor  = 1.20269
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      316 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56155        10.267        .59075E-05   -1.5693    
   2  Index         4.4525        3.6455        .60646E-02   -.10972    
   3  Normalizat    .70427        .10809        .31709E-03   -1.0372    
   4  Prefactor     1.2027        .12430        .28986E-03   -.86249    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5133e-06
Minuit parameter uncertainties:
  1  4.80229
  2  4.09257
  3  0.108118
  4  0.124329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.4969716
delta logL = 1.44234343803

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.616e-01  4.802e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.453e+00  4.093e+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.203e+00  1.243e-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:  7.043e-01  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 202.693 29.554
Photon Index (Free Index): 4.45 +/- 4.09
Photon Flux (Free Index): 5.53e-08 +/- 3.39e-08
Energy Flux (Free Index): 7.77e-06 +/- 6.66e-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/33443967/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', comment='SUCCESS', energy_flux2='7.77e-06', dlogl='1.44e+00', photon_flux2='5.53e-08', job_status='DONE', time_completed='2026-07-28 11:14:52.066613', photon_index_error2='4.09', photon_index2='4.45', ts='0.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='6.66e-06', EG='0.77', time_epoch_completed='1785262492.07', return_code='0', job_id='33443967', GAL2='1.20', EG2='0.70', return_code2='102', photon_flux_error2='3.39e-08', ts2='3.28', photon_index='2.45' WHERE bin_id='938' AND source_name='4FGL J1330.7+2933' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:14:52 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  4.070e+00  1.159e+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.153e+00  1.277e-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:  7.701e-01  1.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/33444018/likelihoodResults_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.5446141
delta logL = 1.39470095408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.496973
delta logL = 1.44234196237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56233       1.0000          .0000       .10000E+07
     2 'Index     '    4.4514       1.0000          .0000       10.000    
     3 'Normalizat'    .70441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2025       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.

 FCN=   17849.50     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      283 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56155        4.0899        .72672E-03    .37062E-01
   2  Index         4.4525        2.0052        .11123        .47700E-03
   3  Normalizat    .70427        .27471E-01    .71639E-01    .67301E-04
   4  Prefactor     1.2027        .32059E-01    .65535E-01    .67775E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.561553
  Index      = 4.45252
  Normalizat = 0.704272
  Prefactor  = 1.20269
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      316 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56155        10.267        .59075E-05   -1.5693    
   2  Index         4.4525        3.6455        .60646E-02   -.10972    
   3  Normalizat    .70427        .10809        .31709E-03   -1.0372    
   4  Prefactor     1.2027        .12430        .28986E-03   -.86249    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5133e-06
Minuit parameter uncertainties:
  1  4.80229
  2  4.09257
  3  0.108118
  4  0.124329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17849.4969716
delta logL = 1.44234343803

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.616e-01  4.802e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.453e+00  4.093e+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.203e+00  1.243e-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:  7.043e-01  1.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 202.693 29.554
Photon Index (Free Index): 4.45 +/- 4.09
Photon Flux (Free Index): 5.53e-08 +/- 3.39e-08
Energy Flux (Free Index): 7.77e-06 +/- 6.66e-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/33444018/cmap_HighResolution_806284801_806889601_4FGL_J1330.7+2933_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', comment='SUCCESS', energy_flux2='7.77e-06', dlogl='1.44e+00', photon_flux2='5.53e-08', job_status='DONE', time_completed='2026-07-28 11:15:50.057112', photon_index_error2='4.09', photon_index2='4.45', ts='0.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='6.66e-06', EG='0.77', time_epoch_completed='1785262550.06', return_code='0', job_id='33444018', GAL2='1.20', EG2='0.70', return_code2='102', photon_flux_error2='3.39e-08', ts2='3.28', photon_index='2.45' WHERE bin_id='938' AND source_name='4FGL J1330.7+2933' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:15:50 PDT 2026

