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

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

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

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


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

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

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

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

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


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

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


Performing analysis on: 4FGL_J0746.6-4754_weekly_bin938
RA = 116.669, Dec = -47.9155
tmin = 806284801, tmax = 806889601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='33417971', job_status='RUN', time_executed='2026-07-28 05:54:34.410171', time_epoch_executed='1785243274.41' WHERE source_name='4FGL J0746.6-4754' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33417971

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33417971/ft1_4FGL_J0746.6-4754_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33417971/ft1_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417971/ft1_filteredMKT_4FGL_J0746.6-4754_weekly_bin938.fits ra=116.669 dec=-47.9155 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.21
user 4.26
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits

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

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

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

Number of photons that the gtmktime cut: 11761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits sctable="SC_DAnumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0746.6-4754_weekly_bin938
RA = 116.669, Dec = -47.9155
tmin = 806284801, tmax = 806889601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='33417979', job_status='RUN', time_executed='2026-07-28 05:54:34.410193', time_epoch_executed='1785243274.41' WHERE source_name='4FGL J0746.6-4754' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33417979

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33417979/ft1_4FGL_J0746.6-4754_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33417979/ft1_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417979/ft1_filteredMKT_4FGL_J0746.6-4754_weekly_bin938.fits ra=116.669 dec=-47.9155 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.12
user 4.25
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits

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

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

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

Number of photons that the gtmktime cut: 11761

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33417971/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits
.....................!
real 16.06
user 15.14
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33417971/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417971/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/33417971/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
.....................!
real 59.99
user 55.60
sys 3.53

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.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 218 point sources and 3 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 J0746.6-4754 @ 116.669 -47.9155

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits scfile=/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417971/cmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=116.669 yref=-47.9155 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.91
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits scfile=/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417971/cmap_HighResolution_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=116.669 yref=-47.9155 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.91
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_TA" outfile=/lscratch/kocevski/33417979/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits
.....................!
real 16.03
user 15.14
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33417979/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417979/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/33417979/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
.....................!
real 60.14
user 55.75
sys 3.56

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.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 218 point sources and 3 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 J0746.6-4754 @ 116.669 -47.9155

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits scfile=/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417979/cmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=116.669 yref=-47.9155 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits scfile=/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits outfile=/lscratch/kocevski/33417979/cmap_HighResolution_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=116.669 yref=-47.9155 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33417971/Model_4FGL_J0746.6-4754_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits.....................!
real 514.52
user 510.58
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits', '/lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits', expMap='/lscratch/kocevski/33417971/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits', expCube='/lscratch/kocevski/33417971/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33417971/Model_4FGL_J0746.6-4754_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.6-4754'

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  2.126e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33417971/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33417971/ft2_4FGL_J0746.6-4754_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33417971/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33417971/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33417971/Model_4FGL_J0746.6-4754_weekly_bin938.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.340       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60740E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .45679       1.0000          .0000       .10000E+07
     4 'norm      '    29.974       1.0000          .0000       .10000E+07
     5 'norm      '    3.5586       1.0000          .0000       .10000E+07
     6 'norm      '    .56066E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    99.090       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19434E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .49835       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29421E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.208       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    14 'norm      '    .69211E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .32474E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    35.028       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37748E-08   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0290       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .738bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33417979/Model_4FGL_J0746.6-4754_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits.....................!
real 510.47
user 506.17
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits', '/lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits', expMap='/lscratch/kocevski/33417979/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits', expCube='/lscratch/kocevski/33417979/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33417979/Model_4FGL_J0746.6-4754_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.6-4754'

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  2.126e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33417979/ft1_filtered_4FGL_J0746.6-4754_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33417979/ft2_4FGL_J0746.6-4754_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33417979/expmap_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33417979/ltcube_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33417979/Model_4FGL_J0746.6-4754_weekly_bin938.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.340       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60740E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .45679       1.0000          .0000       .10000E+07
     4 'norm      '    29.974       1.0000          .0000       .10000E+07
     5 'norm      '    3.5586       1.0000          .0000       .10000E+07
     6 'norm      '    .56066E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    99.090       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19434E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .49835       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29421E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.208       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    14 'norm      '    .69211E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .32474E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    35.028       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37748E-08   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0290       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93564.34     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2041 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.336        45.313       -.74631E-07   -.35573E-03
   2  Prefactor      .0000        8.1127        .49495E-07** at limit **
   3  norm          .49870        5.3113       -.14506E-06    .29898E-03
   4  norm          29.975        14.425       -.12549E-07   -.18510E-03
   5  norm          3.5596        3.3884       -.19330E-07   -.13119E-03
   6  norm           .0000        5.2621        .53347E-08** at limit **
   7  Prefactor      .0000        2.4290       -.41007E-08** at limit **
   8  Prefactor     99.127        104.69        .52083E-06    .87568E-03
   9  Prefactor      .0000        11.368        .20194E-07** at limit **
  10  norm          .49835        1.4574       -.14171E-06   -.23104E-02
  11  Prefactor      .0000        1.5413        .79632E-08** at limit **
  12  Prefactor     12.208        14.283       -.17385E-07    .85244E-04
  13  Prefactor      .0000        .79454       -.11397E-08** at limit **
  14  norm          .14433E-08    10.879       -.84386E-06** at limit **
  15  norm           .0000        15.822       -.17181E-07** at limit **
  16  Prefactor     35.027        25.000       -.77054E-07   -.77105E-03
  17  Prefactor      .0000        3.5376        .68994E-09** at limit **
  18  Normalizat    1.0289        .12699        .45803E-06    .15771E-03
  19  Prefactor     1.0202        .23010E-01   -.25757E-07   -.16402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.3362
  Prefactor  = 0
  norm       = 0.498703
  norm       = 29.9752
  norm       = 3.55958
  norm       = 0
  Prefactor  = 0
  Prefactor  = 99.1269
  Prefactor  = 0
  norm       = 0.498347
  Prefactor  = 0
  Prefactor  = 12.2081
  Prefactor  = 0
  norm       = 1.44329e-09
  norm       = 0
  Prefactor  = 35.027
  Prefactor  = 0
  Normalizat = 1.02892
  Prefactor  = 1.02017
0E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93564.34     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2041 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.336        45.313       -.74631E-07   -.35573E-03
   2  Prefactor      .0000        8.1127        .49495E-07** at limit **
   3  norm          .49870        5.3113       -.14506E-06    .29898E-03
   4  norm          29.975        14.425       -.12549E-07   -.18510E-03
   5  norm          3.5596        3.3884       -.19330E-07   -.13119E-03
   6  norm           .0000        5.2621        .53347E-08** at limit **
   7  Prefactor      .0000        2.4290       -.41007E-08** at limit **
   8  Prefactor     99.127        104.69        .52083E-06    .87568E-03
   9  Prefactor      .0000        11.368        .20194E-07** at limit **
  10  norm          .49835        1.4574       -.14171E-06   -.23104E-02
  11  Prefactor      .0000        1.5413        .79632E-08** at limit **
  12  Prefactor     12.208        14.283       -.17385E-07    .85244E-04
  13  Prefactor      .0000        .79454       -.11397E-08** at limit **
  14  norm          .14433E-08    10.879       -.84386E-06** at limit **
  15  norm           .0000        15.822       -.17181E-07** at limit **
  16  Prefactor     35.027        25.000       -.77054E-07   -.77105E-03
  17  Prefactor      .0000        3.5376        .68994E-09** at limit **
  18  Normalizat    1.0289        .12699        .45803E-06    .15771E-03
  19  Prefactor     1.0202        .23010E-01   -.25757E-07   -.16402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.3362
  Prefactor  = 0
  norm       = 0.498703
  norm       = 29.9752
  norm       = 3.55958
  norm       = 0
  Prefactor  = 0
  Prefactor  = 99.1269
  Prefactor  = 0
  norm       = 0.498347
  Prefactor  = 0
  Prefactor  = 12.2081
  Prefactor  = 0
  norm       = 1.44329e-09
  norm       = 0
  Prefactor  = 35.027
  Prefactor  = 0
  Normalizat = 1.02892
  Prefactor  = 1.02017
 **********
 **   18 **HESSE 
 **********

 FCN=   93564.34     FROM HESSE     STATUS=OK           272 CALLS     2313 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.336        45.373        .70347E-05   -1.5594    
   2  Prefactor      .0000        8.1774        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .49870        5.3501        .33272E-04   -1.5694    
   4  norm          29.975        14.426        .73073E-05   -1.5598    
   5  norm          3.5596        3.3785        .21421E-04   -1.5670    
   6  norm           .0000        5.2761        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.4511        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     99.127        105.11        .20093E-04   -1.5509    
   9  Prefactor      .0000        11.386        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49835        1.4704        .31550E-04   -1.5694    
  11  Prefactor      .0000        1.5460        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.208        14.286        .11458E-04   -1.5638    
  13  Prefactor      .0000        .79661        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .14433E-08    .71706        .89605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        15.829        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.027        25.025        .67593E-05   -1.5590    
  17  Prefactor      .0000        3.5409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0289        .12806        .90355E-03   -.92068    
  19  Prefactor     1.0202        .23682E-01    .16991E-03   -.92060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24029e-10
Minuit parameter uncertainties:
  1  45.3732
  2  1.42782e-05
  3  3.26688
  4  14.4258
  5  3.37849
  6  1.78135e-07
  7  1.17354e-05
  8  105.112
  9  1.16266e-05
  10  1.47042
  11  8.33078e-07
  12  14.2858
  13  4.46595e-07
  14  6.39209e-05
  15  1.53512e-05
  16  25.0256
  17  6.71467e-07
  18  0.128096
  19  0.0236823
 **********
 **   18 **HESSE 
 **********

 FCN=   93564.34     FROM HESSE     STATUS=OK           272 CALLS     2313 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.336        45.373        .70347E-05   -1.5594    
   2  Prefactor      .0000        8.1774        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .49870        5.3501        .33272E-04   -1.5694    
   4  norm          29.975        14.426        .73073E-05   -1.5598    
   5  norm          3.5596        3.3785        .21421E-04   -1.5670    
   6  norm           .0000        5.2761        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.4511        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     99.127        105.11        .20093E-04   -1.5509    
   9  Prefactor      .0000        11.386        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .49835        1.4704        .31550E-04   -1.5694    
  11  Prefactor      .0000        1.5460        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.208        14.286        .11458E-04   -1.5638    
  13  Prefactor      .0000        .79661        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .14433E-08    .71706        .89605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        15.829        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.027        25.025        .67593E-05   -1.5590    
  17  Prefactor      .0000        3.5409        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0289        .12806        .90355E-03   -.92068    
  19  Prefactor     1.0202        .23682E-01    .16991E-03   -.92060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24029e-10
Minuit parameter uncertainties:
  1  45.3732
  2  1.42782e-05
  3  3.26688
  4  14.4258
  5  3.37849
  6  1.78135e-07
  7  1.17354e-05
  8  105.112
  9  1.16266e-05
  10  1.47042
  11  8.33078e-07
  12  14.2858
  13  4.46595e-07
  14  6.39209e-05
  15  1.53512e-05
  16  25.0256
  17  6.71467e-07
  18  0.128096
  19  0.0236823
Done.

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

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  0.000e+00  4.466e-07  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.020e+00  2.368e-02  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.029e+00  1.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 116.669 -47.916
Photon Flux Upper Limit: 2.15561849031e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00161801218847 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33417971/likelihoodResults_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 93564.349113
delta logL = -0.00527269057056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 93564.3438419
delta logL = -1.54849840328e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47878E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5109       1.0000          .0000       10.000    
     3 'Normalizat'    1.0287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   93564.34     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      227 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .89595        .42118E-03** at limit **
   2  Index         1.7501        1.1115        .39202E-05     .0000    
   3  Normalizat    1.0289        1.2409        .14485E-05   -.72530E-04
   4  Prefactor     1.0202        1.2375       -.52503E-06    .24516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.75009
  Normalizat = 1.02892
  Prefactor  = 1.02017
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93564.34     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .89595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30871        1.5835        .39202E-05   -.70756    
   3  Normalizat    1.0289        1.2409        .14485E-05   -.92068    
   4  Prefactor     1.0202        1.2375       -.52503E-06   -.92060    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.54182e-11
Minuit parameter uncertainties:
  1  4.42285e-06
  2  1.12798
  3  1.27867
  4  1.2749
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) = 93564.3438403
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  0.000e+00  4.423e-06  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.750e+00  1.128e+00  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.029e+00  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 116.669 -47.916

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /lscratch/kocevski/33417971/cmap_HighResolution_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-03', job_status='DONE', photon_flux_upper_limit='2.16e-08', time_completed='2026-07-28 06:55:50.020085', job_id='33417971', GAL2='1.02', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1785246950.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='938' AND source_name='4FGL J0746.6-4754' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 06:55:50 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  0.000e+00  4.466e-07  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.020e+00  2.368e-02  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.029e+00  1.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 116.669 -47.916
Photon Flux Upper Limit: 2.15561849031e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00161801218847 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33417979/likelihoodResults_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 93564.349113
delta logL = -0.00527269057056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 93564.3438419
delta logL = -1.54849840328e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47878E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5109       1.0000          .0000       10.000    
     3 'Normalizat'    1.0287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   93564.34     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      227 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .89595        .42118E-03** at limit **
   2  Index         1.7501        1.1115        .39202E-05     .0000    
   3  Normalizat    1.0289        1.2409        .14485E-05   -.72530E-04
   4  Prefactor     1.0202        1.2375       -.52503E-06    .24516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.75009
  Normalizat = 1.02892
  Prefactor  = 1.02017
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93564.34     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .89595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30871        1.5835        .39202E-05   -.70756    
   3  Normalizat    1.0289        1.2409        .14485E-05   -.92068    
   4  Prefactor     1.0202        1.2375       -.52503E-06   -.92060    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.54182e-11
Minuit parameter uncertainties:
  1  4.42285e-06
  2  1.12798
  3  1.27867
  4  1.2749
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) = 93564.3438403
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J0746.6-4754
   Spectrum: PowerLaw
353    Prefactor:  0.000e+00  4.423e-06  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  1.750e+00  1.128e+00  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.020e+00  1.275e+00  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.029e+00  1.279e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 116.669 -47.916

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /lscratch/kocevski/33417979/cmap_HighResolution_806284801_806889601_4FGL_J0746.6-4754_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-03', job_status='DONE', photon_flux_upper_limit='2.16e-08', time_completed='2026-07-28 06:56:50.493203', job_id='33417979', GAL2='1.02', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1785247010.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='938' AND source_name='4FGL J0746.6-4754' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 06:56:50 PDT 2026

