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

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

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

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

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

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

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


Performing analysis on: 4FGL_J0649.5-3139_weekly_bin947
RA = 102.395, Dec = -31.6573
tmin = 811728001, tmax = 812332801
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='39446160', job_status='RUN', time_executed='2026-09-29 09:46:00.273041', time_epoch_executed='1790700360.27' WHERE source_name='4FGL J0649.5-3139' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39446160

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39446160/ft1_4FGL_J0649.5-3139_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39446160/ft1_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446160/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits ra=102.395 dec=-31.6573 rad=12.0 tmin=811728001.0 tmax=812332801.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.75
user 4.83
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.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/39446160/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2380

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATnumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0649.5-3139_weekly_bin947
RA = 102.395, Dec = -31.6573
tmin = 811728001, tmax = 812332801
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='39446606', job_status='RUN', time_executed='2026-09-29 09:46:44.116011', time_epoch_executed='1790700404.12' WHERE source_name='4FGL J0649.5-3139' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39446606

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39446606/ft1_4FGL_J0649.5-3139_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39446606/ft1_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446606/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits ra=102.395 dec=-31.6573 rad=12.0 tmin=811728001.0 tmax=812332801.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.80
user 4.86
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.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/39446606/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.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.01
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2380

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39446160/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 16.09
user 15.16
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39446160/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446160/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446160/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 59.49
user 55.59
sys 2.93

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 181 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0649.5-3139 @ 102.395 -31.6573

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446160/cmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446160/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 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.97
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39446160/Model_4FGL_J0649.5-3139_weekly_bin947.xml irfs="P8R3_SOURCE_V2"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0649.5-3139_weekly_bin947
RA = 102.395, Dec = -31.6573
tmin = 811728001, tmax = 812332801
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='39446638', job_status='RUN', time_executed='2026-09-29 09:47:19.491293', time_epoch_executed='1790700439.49' WHERE source_name='4FGL J0649.5-3139' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39446638

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39446638/ft1_4FGL_J0649.5-3139_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39446638/ft1_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446638/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits ra=102.395 dec=-31.6573 rad=12.0 tmin=811728001.0 tmax=812332801.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.79
user 4.79
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.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/39446638/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 2380

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39446606/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 16.42
user 15.34
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39446606/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446606/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446606/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 59.61
user 55.57
sys 3.20

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 181 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0649.5-3139 @ 102.395 -31.6573

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446606/cmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.03
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446606/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39446606/Model_4FGL_J0649.5-3139_weekly_bin947.xml irfs="P8R3_SOURCE_V2"A" outfile=/lscratch/kocevski/39446638/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 15.90
user 14.98
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39446638/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446638/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39446638/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 59.73
user 55.34
sys 3.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 181 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0649.5-3139 @ 102.395 -31.6573

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446638/cmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39446638/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 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.93
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39446638/Model_4FGL_J0649.5-3139_weekly_bin947.xml irfs="P8R3_SOURCE_V2"number of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0649.5-3139_weekly_bin947
RA = 102.395, Dec = -31.6573
tmin = 811728001, tmax = 812332801
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='39447039', job_status='RUN', time_executed='2026-09-29 09:50:24.924863', time_epoch_executed='1790700624.92' WHERE source_name='4FGL J0649.5-3139' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39447039

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39447039/ft1_4FGL_J0649.5-3139_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39447039/ft1_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39447039/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits ra=102.395 dec=-31.6573 rad=12.0 tmin=811728001.0 tmax=812332801.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.68
user 5.95
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.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/39447039/ft1_filteredMKT_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.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.20
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 2380

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DAT evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
Working on...
/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits....................!
real 102.52
user 100.67
sys 0.52

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits', '/lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits', expMap='/lscratch/kocevski/39446160/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', expCube='/lscratch/kocevski/39446160/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39446160/Model_4FGL_J0649.5-3139_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0649.5-3139'

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  1.039e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39446160/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39446160/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39446160/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39446160/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39446160/Model_4FGL_J0649.5-3139_weekly_bin947.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) = 25179.6397103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.784       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79267E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .46905E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13082E-04   1.0000          .0000       .10000E+07
     5 'norm      '    3.5702       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9898       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.889       1.0000          .0000       .10000E+07
     8 'norm      '    41.868       1.0000          .0000       .10000E+07
     9 'norm      '    .17319E-06   1.0000          .0000       .10000E+07
    10 'norm      '    13.124       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8140       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48006E-06   1.0000          .0000       .10000E+07
    13 'norm      '    7.0406       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28790E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.6903       1.0000          .0000       .10000E+07
    16 'norm      '    .13709E-02   1.0000          .0000       .10000E+07
    17 'norm      '    18.883       1.0000          .0000       .10000E+07
    18 'Prefactor '    33.654       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      980 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.162        10.644       -.52895E-07    .93788E-01
   2  Prefactor     .12907E-05    14.232        .86102E-06** at limit **
   3  Prefactor     .83378E-06    14.609        .14705E-05** at limit **
   4  Prefactor     .55511E-10    6.7021        .16041E-06** at limit **
   5  norm          3.5649        3.6018       -.30580E-07   -.42698E-03
   6  Prefactor     9.9724        4.8981        .56897E-07   -.43078E-03
   7  Prefactor     10.898        13.079       -.54406E-06   -.39759E-01
   8  norm          41.264        11.681        .37972E-08   -.66636E-01
   9  norm           .0000        .88909       -.16229E-06** at limit **
  10  norm          13.126        7.2864        .12436E-06    .51282E-04
  11  Prefactor     2.8055        3.5285        .18293E-06    .34309E-03
  12  Prefactor      .0000        1.1289        .23487E-06** at limit **
  13  norm          7.0604        7.4298       -.27962E-06    .14086E-03
  14  Prefactor      .0000        4.9813       -.57139E-06** at limit **
  15  norm          1.3168        179.71       -.40416E-05    .67446E-03
  16  norm          .22204E-09    8.7249       -.18330E-05** at limit **
  17  norm          18.810        2.6638        .74729E-07   -.52842E-02
  18  Prefactor     33.574        1.4259        .18783E-07    .73601E-02
  19  Normalizat    1.0592        .14853       -.25579E-05   -.53882E-05
  20  Prefactor     1.0363        .42271E-01    .63844E-06    .22317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.162
  Prefactor  = 1.29069e-06
  Prefactor  = 8.33777e-07
  Prefactor  = 5.55112e-11
  norm       = 3.56489
  Prefactor  = 9.97239
  Prefactor  = 10.898
  norm       = 41.2638
  norm       = 0
  norm       = 13.1259
  Prefactor  = 2.80547
  Prefactor  = 0
  norm       = 7.06037
  Prefactor  = 0
  norm       = 1.3168
  norm       = 2.22045e-10
  norm       = 18.81
  Prefactor  = 33.5742
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********

 FCN=   25177.44     FROM HESSE     STATUS=OK           339 CALLS     1319 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.162        24.729        .16719E-03   -1.5588    
   2  Prefactor     .12907E-05    18.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .83378E-06    17.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.6834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5649        3.6267        .53462E-03   -1.5670    
   6  Prefactor     9.9724        4.9251        .31679E-03   -1.5645    
   7  Prefactor     10.898        13.896        .30336E-03   -1.5642    
   8  norm          41.264        22.813        .15456E-03   -1.5579    
   9  norm           .0000        .27592        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.126        7.3592        .27624E-03   -1.5636    
  11  Prefactor     2.8055        3.6377        .60610E-03   -1.5674    
  12  Prefactor      .0000        1.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0604        7.4373        .37783E-03   -1.5655    
  14  Prefactor      .0000        4.9715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3168        187.38        .46442E-03   -1.5685    
  16  norm          .22204E-09    8.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.810        16.307        .23021E-03   -1.5621    
  18  Prefactor     33.574        17.776        .17240E-03   -1.5592    
  19  Normalizat    1.0592        .14505        .11117       -.91074    
  20  Prefactor     1.0363        .40127E-01    .40802E-01   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29052e-07
Minuit parameter uncertainties:
  1  24.7293
  2  0.00976746
  3  0.00759423
  4  4.2754e-05
  5  3.6267
  6  4.92506
  7  13.8957
  8  22.8133
  9  5.52626e-07
  10  7.35922
  11  3.63768
  12  7.37612e-07
  13  7.43732
  14  1.64471e-05
  15  31.4168
  16  8.9466e-05
  17  16.3075
  18  17.7757
  19  0.145106
  20  0.0401282
A" outfile=/lscratch/kocevski/39447039/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 19.39
user 18.39
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39447039/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39447039/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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/39447039/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
.....................!
real 73.39
user 68.25
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 181 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0649.5-3139 @ 102.395 -31.6573

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39447039/cmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 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.14
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits outfile=/lscratch/kocevski/39447039/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.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=102.395 yref=-31.6573 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.97
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39447039/Model_4FGL_J0649.5-3139_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
Working on...
/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits....................!
real 104.79
user 102.56
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits', '/lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits', expMap='/lscratch/kocevski/39446606/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', expCube='/lscratch/kocevski/39446606/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39446606/Model_4FGL_J0649.5-3139_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0649.5-3139'

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  1.039e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39446606/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39446606/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39446606/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39446606/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39446606/Model_4FGL_J0649.5-3139_weekly_bin947.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) = 25179.6397103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.784       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79267E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .46905E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13082E-04   1.0000          .0000       .10000E+07
     5 'norm      '    3.5702       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9898       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.889       1.0000          .0000       .10000E+07
     8 'norm      '    41.868       1.0000          .0000       .10000E+07
     9 'norm      '    .17319E-06   1.0000          .0000       .10000E+07
    10 'norm      '    13.124       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8140       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48006E-06   1.0000          .0000       .10000E+07
    13 'norm      '    7.0406       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28790E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.6903       1.0000          .0000       .10000E+07
    16 'norm      '    .13709E-02   1.0000          .0000       .10000E+07
    17 'norm      '    18.883       1.0000          .0000       .10000E+07
    18 'Prefactor '    33.654       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      980 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.162        10.644       -.52895E-07    .93788E-01
   2  Prefactor     .12907E-05    14.232        .86102E-06** at limit **
   3  Prefactor     .83378E-06    14.609        .14705E-05** at limit **
   4  Prefactor     .55511E-10    6.7021        .16041E-06** at limit **
   5  norm          3.5649        3.6018       -.30580E-07   -.42698E-03
   6  Prefactor     9.9724        4.8981        .56897E-07   -.43078E-03
   7  Prefactor     10.898        13.079       -.54406E-06   -.39759E-01
   8  norm          41.264        11.681        .37972E-08   -.66636E-01
   9  norm           .0000        .88909       -.16229E-06** at limit **
  10  norm          13.126        7.2864        .12436E-06    .51282E-04
  11  Prefactor     2.8055        3.5285        .18293E-06    .34309E-03
  12  Prefactor      .0000        1.1289        .23487E-06** at limit **
  13  norm          7.0604        7.4298       -.27962E-06    .14086E-03
  14  Prefactor      .0000        4.9813       -.57139E-06** at limit **
  15  norm          1.3168        179.71       -.40416E-05    .67446E-03
  16  norm          .22204E-09    8.7249       -.18330E-05** at limit **
  17  norm          18.810        2.6638        .74729E-07   -.52842E-02
  18  Prefactor     33.574        1.4259        .18783E-07    .73601E-02
  19  Normalizat    1.0592        .14853       -.25579E-05   -.53882E-05
  20  Prefactor     1.0363        .42271E-01    .63844E-06    .22317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.162
  Prefactor  = 1.29069e-06
  Prefactor  = 8.33777e-07
  Prefactor  = 5.55112e-11
  norm       = 3.56489
  Prefactor  = 9.97239
  Prefactor  = 10.898
  norm       = 41.2638
  norm       = 0
  norm       = 13.1259
  Prefactor  = 2.80547
  Prefactor  = 0
  norm       = 7.06037
  Prefactor  = 0
  norm       = 1.3168
  norm       = 2.22045e-10
  norm       = 18.81
  Prefactor  = 33.5742
  Normalizat = 1.05917
  Prefactor  = 1.03631
 evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
Working on...
/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits....................!
real 102.17
user 100.15
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits', '/lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits', expMap='/lscratch/kocevski/39446638/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', expCube='/lscratch/kocevski/39446638/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39446638/Model_4FGL_J0649.5-3139_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0649.5-3139'

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  1.039e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39446638/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39446638/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39446638/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39446638/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39446638/Model_4FGL_J0649.5-3139_weekly_bin947.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) = 25179.6397103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.784       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79267E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .46905E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13082E-04   1.0000          .0000       .10000E+07
     5 'norm      '    3.5702       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9898       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.889       1.0000          .0000       .10000E+07
     8 'norm      '    41.868       1.0000          .0000       .10000E+07
     9 'norm      '    .17319E-06   1.0000          .0000       .10000E+07
    10 'norm      '    13.124       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8140       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48006E-06   1.0000          .0000       .10000E+07
    13 'norm      '    7.0406       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28790E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.6903       1.0000          .0000       .10000E+07
    16 'norm      '    .13709E-02   1.0000          .0000       .10000E+07
    17 'norm      '    18.883       1.0000          .0000       .10000E+07
    18 'Prefactor '    33.654       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      980 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.162        10.644       -.52895E-07    .93788E-01
   2  Prefactor     .12907E-05    14.232        .86102E-06** at limit **
   3  Prefactor     .83378E-06    14.609        .14705E-05** at limit **
   4  Prefactor     .55511E-10    6.7021        .16041E-06** at limit **
   5  norm          3.5649        3.6018       -.30580E-07   -.42698E-03
   6  Prefactor     9.9724        4.8981        .56897E-07   -.43078E-03
   7  Prefactor     10.898        13.079       -.54406E-06   -.39759E-01
   8  norm          41.264        11.681        .37972E-08   -.66636E-01
   9  norm           .0000        .88909       -.16229E-06** at limit **
  10  norm          13.126        7.2864        .12436E-06    .51282E-04
  11  Prefactor     2.8055        3.5285        .18293E-06    .34309E-03
  12  Prefactor      .0000        1.1289        .23487E-06** at limit **
  13  norm          7.0604        7.4298       -.27962E-06    .14086E-03
  14  Prefactor      .0000        4.9813       -.57139E-06** at limit **
  15  norm          1.3168        179.71       -.40416E-05    .67446E-03
  16  norm          .22204E-09    8.7249       -.18330E-05** at limit **
  17  norm          18.810        2.6638        .74729E-07   -.52842E-02
  18  Prefactor     33.574        1.4259        .18783E-07    .73601E-02
  19  Normalizat    1.0592        .14853       -.25579E-05   -.53882E-05
  20  Prefactor     1.0363        .42271E-01    .63844E-06    .22317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.162
  Prefactor  = 1.29069e-06
  Prefactor  = 8.33777e-07
  Prefactor  = 5.55112e-11
  norm       = 3.56489
  Prefactor  = 9.97239
  Prefactor  = 10.898
  norm       = 41.2638
  norm       = 0
  norm       = 13.1259
  Prefactor  = 2.80547
  Prefactor  = 0
  norm       = 7.06037
  Prefactor  = 0
  norm       = 1.3168
  norm       = 2.22045e-10
  norm       = 18.81
  Prefactor  = 33.5742
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********

 FCN=   25177.44     FROM HESSE     STATUS=OK           339 CALLS     1319 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.162        24.729        .16719E-03   -1.5588    
   2  Prefactor     .12907E-05    18.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .83378E-06    17.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.6834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5649        3.6267        .53462E-03   -1.5670    
   6  Prefactor     9.9724        4.9251        .31679E-03   -1.5645    
   7  Prefactor     10.898        13.896        .30336E-03   -1.5642    
   8  norm          41.264        22.813        .15456E-03   -1.5579    
   9  norm           .0000        .27592        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.126        7.3592        .27624E-03   -1.5636    
  11  Prefactor     2.8055        3.6377        .60610E-03   -1.5674    
  12  Prefactor      .0000        1.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0604        7.4373        .37783E-03   -1.5655    
  14  Prefactor      .0000        4.9715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3168        187.38        .46442E-03   -1.5685    
  16  norm          .22204E-09    8.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.810        16.307        .23021E-03   -1.5621    
  18  Prefactor     33.574        17.776        .17240E-03   -1.5592    
  19  Normalizat    1.0592        .14505        .11117       -.91074    
  20  Prefactor     1.0363        .40127E-01    .40802E-01   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29052e-07
Minuit parameter uncertainties:
  1  24.7293
  2  0.00976746
  3  0.00759423
  4  4.2754e-05
  5  3.6267
  6  4.92506
  7  13.8957
  8  22.8133
  9  5.52626e-07
  10  7.35922
  11  3.63768
  12  7.37612e-07
  13  7.43732
  14  1.64471e-05
  15  31.4168
  16  8.9466e-05
  17  16.3075
  18  17.7757
  19  0.145106
  20  0.0401282
 **********
 **   18 **HESSE 
 **********

 FCN=   25177.44     FROM HESSE     STATUS=OK           339 CALLS     1319 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.162        24.729        .16719E-03   -1.5588    
   2  Prefactor     .12907E-05    18.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .83378E-06    17.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.6834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5649        3.6267        .53462E-03   -1.5670    
   6  Prefactor     9.9724        4.9251        .31679E-03   -1.5645    
   7  Prefactor     10.898        13.896        .30336E-03   -1.5642    
   8  norm          41.264        22.813        .15456E-03   -1.5579    
   9  norm           .0000        .27592        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.126        7.3592        .27624E-03   -1.5636    
  11  Prefactor     2.8055        3.6377        .60610E-03   -1.5674    
  12  Prefactor      .0000        1.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0604        7.4373        .37783E-03   -1.5655    
  14  Prefactor      .0000        4.9715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3168        187.38        .46442E-03   -1.5685    
  16  norm          .22204E-09    8.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.810        16.307        .23021E-03   -1.5621    
  18  Prefactor     33.574        17.776        .17240E-03   -1.5592    
  19  Normalizat    1.0592        .14505        .11117       -.91074    
  20  Prefactor     1.0363        .40127E-01    .40802E-01   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29052e-07
Minuit parameter uncertainties:
  1  24.7293
  2  0.00976746
  3  0.00759423
  4  4.2754e-05
  5  3.6267
  6  4.92506
  7  13.8957
  8  22.8133
  9  5.52626e-07
  10  7.35922
  11  3.63768
  12  7.37612e-07
  13  7.43732
  14  1.64471e-05
  15  31.4168
  16  8.9466e-05
  17  16.3075
  18  17.7757
  19  0.145106
  20  0.0401282
Done.

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

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  1.645e-05  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  4.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 102.395 -31.657
Photon Flux Upper Limit: 2.73803485002e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199584300291 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39446160/likelihoodResults_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25177.5482806
delta logL = -0.103473349114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25177.4448174
delta logL = -1.00837023638e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49163E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5318       1.0000          .0000       10.000    
     3 'Normalizat'    1.0592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      229 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3706        .42118E-03** at limit **
   2  Index         .74236        .60850       -.69141E-04     .0000    
   3  Normalizat    1.0592        1.1921       -.19490E-04    .28893E-04
   4  Prefactor     1.0363        1.2089        .29477E-05    .22418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.742361
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25177.44     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .43892E-02    .85425       -.69141E-04   -1.0189    
   3  Normalizat    1.0592        1.1921       -.19490E-04   -.91074    
   4  Prefactor     1.0363        1.2089        .29477E-05   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.95301e-12
Minuit parameter uncertainties:
  1  6.45468e-06
  2  0.614098
  3  1.22446
  4  1.24313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 25177.4448073
delta logL = 0.0

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  6.455e-06  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  7.424e-01  6.141e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  1.243e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 102.395 -31.657

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/39446160/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-03', job_status='DONE', photon_flux_upper_limit='2.74e-08', time_completed='2026-09-29 09:59:19.286295', job_id='39446160', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1790701159.29', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.69' WHERE bin_id='947' AND source_name='4FGL J0649.5-3139' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 09:59:20 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  1.645e-05  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  4.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 102.395 -31.657
Photon Flux Upper Limit: 2.73803485002e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199584300291 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39446606/likelihoodResults_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25177.5482806
delta logL = -0.103473349114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25177.4448174
delta logL = -1.00837023638e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49163E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5318       1.0000          .0000       10.000    
     3 'Normalizat'    1.0592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      229 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3706        .42118E-03** at limit **
   2  Index         .74236        .60850       -.69141E-04     .0000    
   3  Normalizat    1.0592        1.1921       -.19490E-04    .28893E-04
   4  Prefactor     1.0363        1.2089        .29477E-05    .22418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.742361
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25177.44     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .43892E-02    .85425       -.69141E-04   -1.0189    
   3  Normalizat    1.0592        1.1921       -.19490E-04   -.91074    
   4  Prefactor     1.0363        1.2089        .29477E-05   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.95301e-12
Minuit parameter uncertainties:
  1  6.45468e-06
  2  0.614098
  3  1.22446
  4  1.24313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 25177.4448073
delta logL = 0.0

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  6.455e-06  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  7.424e-01  6.141e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  1.243e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 102.395 -31.657

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/39446606/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-03', job_status='DONE', photon_flux_upper_limit='2.74e-08', time_completed='2026-09-29 10:00:48.659610', job_id='39446606', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1790701248.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.69' WHERE bin_id='947' AND source_name='4FGL J0649.5-3139' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 10:00:49 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  1.645e-05  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  4.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 102.395 -31.657
Photon Flux Upper Limit: 2.73803485002e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199584300291 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39446638/likelihoodResults_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25177.5482806
delta logL = -0.103473349114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25177.4448174
delta logL = -1.00837023638e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49163E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5318       1.0000          .0000       10.000    
     3 'Normalizat'    1.0592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      229 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3706        .42118E-03** at limit **
   2  Index         .74236        .60850       -.69141E-04     .0000    
   3  Normalizat    1.0592        1.1921       -.19490E-04    .28893E-04
   4  Prefactor     1.0363        1.2089        .29477E-05    .22418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.742361
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25177.44     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .43892E-02    .85425       -.69141E-04   -1.0189    
   3  Normalizat    1.0592        1.1921       -.19490E-04   -.91074    
   4  Prefactor     1.0363        1.2089        .29477E-05   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.95301e-12
Minuit parameter uncertainties:
  1  6.45468e-06
  2  0.614098
  3  1.22446
  4  1.24313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 25177.4448073
delta logL = 0.0

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  6.455e-06  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  7.424e-01  6.141e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  1.243e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 102.395 -31.657

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/39446638/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-03', job_status='DONE', photon_flux_upper_limit='2.74e-08', time_completed='2026-09-29 10:00:56.948757', job_id='39446638', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1790701256.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.69' WHERE bin_id='947' AND source_name='4FGL J0649.5-3139' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 10:00:57 PDT 2026

 evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
Working on...
/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits....................!
real 127.68
user 125.07
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits', '/lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits', expMap='/lscratch/kocevski/39447039/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', expCube='/lscratch/kocevski/39447039/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39447039/Model_4FGL_J0649.5-3139_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0649.5-3139'

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  1.039e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39447039/ft1_filtered_4FGL_J0649.5-3139_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39447039/ft2_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39447039/expmap_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39447039/ltcube_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39447039/Model_4FGL_J0649.5-3139_weekly_bin947.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) = 25179.6397103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.784       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79267E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .46905E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13082E-04   1.0000          .0000       .10000E+07
     5 'norm      '    3.5702       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.9898       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.889       1.0000          .0000       .10000E+07
     8 'norm      '    41.868       1.0000          .0000       .10000E+07
     9 'norm      '    .17319E-06   1.0000          .0000       .10000E+07
    10 'norm      '    13.124       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8140       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48006E-06   1.0000          .0000       .10000E+07
    13 'norm      '    7.0406       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28790E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.6903       1.0000          .0000       .10000E+07
    16 'norm      '    .13709E-02   1.0000          .0000       .10000E+07
    17 'norm      '    18.883       1.0000          .0000       .10000E+07
    18 'Prefactor '    33.654       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      980 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.162        10.644       -.52895E-07    .93788E-01
   2  Prefactor     .12907E-05    14.232        .86102E-06** at limit **
   3  Prefactor     .83378E-06    14.609        .14705E-05** at limit **
   4  Prefactor     .55511E-10    6.7021        .16041E-06** at limit **
   5  norm          3.5649        3.6018       -.30580E-07   -.42698E-03
   6  Prefactor     9.9724        4.8981        .56897E-07   -.43078E-03
   7  Prefactor     10.898        13.079       -.54406E-06   -.39759E-01
   8  norm          41.264        11.681        .37972E-08   -.66636E-01
   9  norm           .0000        .88909       -.16229E-06** at limit **
  10  norm          13.126        7.2864        .12436E-06    .51282E-04
  11  Prefactor     2.8055        3.5285        .18293E-06    .34309E-03
  12  Prefactor      .0000        1.1289        .23487E-06** at limit **
  13  norm          7.0604        7.4298       -.27962E-06    .14086E-03
  14  Prefactor      .0000        4.9813       -.57139E-06** at limit **
  15  norm          1.3168        179.71       -.40416E-05    .67446E-03
  16  norm          .22204E-09    8.7249       -.18330E-05** at limit **
  17  norm          18.810        2.6638        .74729E-07   -.52842E-02
  18  Prefactor     33.574        1.4259        .18783E-07    .73601E-02
  19  Normalizat    1.0592        .14853       -.25579E-05   -.53882E-05
  20  Prefactor     1.0363        .42271E-01    .63844E-06    .22317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.162
  Prefactor  = 1.29069e-06
  Prefactor  = 8.33777e-07
  Prefactor  = 5.55112e-11
  norm       = 3.56489
  Prefactor  = 9.97239
  Prefactor  = 10.898
  norm       = 41.2638
  norm       = 0
  norm       = 13.1259
  Prefactor  = 2.80547
  Prefactor  = 0
  norm       = 7.06037
  Prefactor  = 0
  norm       = 1.3168
  norm       = 2.22045e-10
  norm       = 18.81
  Prefactor  = 33.5742
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********

 FCN=   25177.44     FROM HESSE     STATUS=OK           339 CALLS     1319 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.162        24.729        .16719E-03   -1.5588    
   2  Prefactor     .12907E-05    18.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .83378E-06    17.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.6834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5649        3.6267        .53462E-03   -1.5670    
   6  Prefactor     9.9724        4.9251        .31679E-03   -1.5645    
   7  Prefactor     10.898        13.896        .30336E-03   -1.5642    
   8  norm          41.264        22.813        .15456E-03   -1.5579    
   9  norm           .0000        .27592        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.126        7.3592        .27624E-03   -1.5636    
  11  Prefactor     2.8055        3.6377        .60610E-03   -1.5674    
  12  Prefactor      .0000        1.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.0604        7.4373        .37783E-03   -1.5655    
  14  Prefactor      .0000        4.9715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3168        187.38        .46442E-03   -1.5685    
  16  norm          .22204E-09    8.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.810        16.307        .23021E-03   -1.5621    
  18  Prefactor     33.574        17.776        .17240E-03   -1.5592    
  19  Normalizat    1.0592        .14505        .11117       -.91074    
  20  Prefactor     1.0363        .40127E-01    .40802E-01   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29052e-07
Minuit parameter uncertainties:
  1  24.7293
  2  0.00976746
  3  0.00759423
  4  4.2754e-05
  5  3.6267
  6  4.92506
  7  13.8957
  8  22.8133
  9  5.52626e-07
  10  7.35922
  11  3.63768
  12  7.37612e-07
  13  7.43732
  14  1.64471e-05
  15  31.4168
  16  8.9466e-05
  17  16.3075
  18  17.7757
  19  0.145106
  20  0.0401282
Done.

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

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  1.645e-05  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  4.013e-02  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 102.395 -31.657
Photon Flux Upper Limit: 2.73803485002e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00199584300291 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39447039/likelihoodResults_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 25177.5482806
delta logL = -0.103473349114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25177.4448174
delta logL = -1.00837023638e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49163E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5318       1.0000          .0000       10.000    
     3 'Normalizat'    1.0592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   25177.44     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      229 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3706        .42118E-03** at limit **
   2  Index         .74236        .60850       -.69141E-04     .0000    
   3  Normalizat    1.0592        1.1921       -.19490E-04    .28893E-04
   4  Prefactor     1.0363        1.2089        .29477E-05    .22418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.742361
  Normalizat = 1.05917
  Prefactor  = 1.03631
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25177.44     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .43892E-02    .85425       -.69141E-04   -1.0189    
   3  Normalizat    1.0592        1.1921       -.19490E-04   -.91074    
   4  Prefactor     1.0363        1.2089        .29477E-05   -.91529    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.95301e-12
Minuit parameter uncertainties:
  1  6.45468e-06
  2  0.614098
  3  1.22446
  4  1.24313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 25177.4448073
delta logL = 0.0

Extracting fit parameters...

4FGL J0649.5-3139
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  6.455e-06  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  7.424e-01  6.141e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  6.875e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.036e+00  1.243e+00  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.059e+00  1.224e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 102.395 -31.657

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/39447039/cmap_HighResolution_811728001_812332801_4FGL_J0649.5-3139_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-03', job_status='DONE', photon_flux_upper_limit='2.74e-08', time_completed='2026-09-29 10:06:03.185104', job_id='39447039', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1790701563.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.69' WHERE bin_id='947' AND source_name='4FGL J0649.5-3139' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 10:06:03 PDT 2026

