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


Performing analysis on: 4FGL_J0741.4-4709_weekly_bin938
RA = 115.356, Dec = -47.1636
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='33417112', job_status='RUN', time_executed='2026-07-28 05:43:27.783058', time_epoch_executed='1785242607.78' WHERE source_name='4FGL J0741.4-4709' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33417112

Creating custom pfile directory:
/lscratch/kocevski/33417112/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/33417112/ft1_4FGL_J0741.4-4709_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/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33417112/ft1_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417112/ft1_filteredMKT_4FGL_J0741.4-4709_weekly_bin938.fits ra=115.356 dec=-47.1636 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.17
user 5.23
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_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/33417112/ft1_filteredMKT_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_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.23
sys 0.16

Number of photons that the gtmktime cut: 11312

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_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_J0741.4-4709_weekly_bin938
RA = 115.356, Dec = -47.1636
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='33417178', job_status='RUN', time_executed='2026-07-28 05:44:03.644487', time_epoch_executed='1785242643.64' WHERE source_name='4FGL J0741.4-4709' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33417178

Creating custom pfile directory:
/lscratch/kocevski/33417178/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/33417178/ft1_4FGL_J0741.4-4709_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/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33417178/ft1_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417178/ft1_filteredMKT_4FGL_J0741.4-4709_weekly_bin938.fits ra=115.356 dec=-47.1636 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.88
user 5.04
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_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/33417178/ft1_filteredMKT_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_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.83
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 11312

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33417112/ltcube_806284801_806889601_4FGL_J0741.4-4709_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/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits
.....................!
real 19.39
user 18.54
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33417112/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417112/expmap_806284801_806889601_4FGL_J0741.4-4709_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/33417112/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
.....................!
real 73.44
user 68.23
sys 4.23

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 221 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 J0741.4-4709 @ 115.356 -47.1636

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417112/cmap_806284801_806889601_4FGL_J0741.4-4709_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=115.356 yref=-47.1636 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417112/cmap_HighResolution_806284801_806889601_4FGL_J0741.4-4709_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=115.356 yref=-47.1636 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.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_TA" outfile=/lscratch/kocevski/33417178/ltcube_806284801_806889601_4FGL_J0741.4-4709_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/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits
.....................!
real 18.57
user 17.72
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33417178/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417178/expmap_806284801_806889601_4FGL_J0741.4-4709_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/33417178/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
.....................!
real 72.17
user 67.00
sys 4.24

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 221 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 J0741.4-4709 @ 115.356 -47.1636

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417178/cmap_806284801_806889601_4FGL_J0741.4-4709_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=115.356 yref=-47.1636 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.77
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits outfile=/lscratch/kocevski/33417178/cmap_HighResolution_806284801_806889601_4FGL_J0741.4-4709_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=115.356 yref=-47.1636 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33417178/Model_4FGL_J0741.4-4709_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/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits.....................!
real 564.16
user 558.95
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits', '/lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits', expMap='/lscratch/kocevski/33417178/expmap_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits', expCube='/lscratch/kocevski/33417178/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33417178/Model_4FGL_J0741.4-4709_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0741.4-4709'

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  6.945e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33417178/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33417178/ft2_4FGL_J0741.4-4709_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33417178/expmap_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33417178/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33417178/Model_4FGL_J0741.4-4709_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) = 89874.9881268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.906       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14719E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83709       1.0000          .0000       .10000E+07
     4 'norm      '    29.930       1.0000          .0000       .10000E+07
     5 'norm      '    3.8439       1.0000          .0000       .10000E+07
     6 'norm      '    .39881E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16237E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    97.688       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99457E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .54114       1.0000          .0000       .10000E+07
    11 'Prefactor '    .90339E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18652E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .11101E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .56133E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    34.430       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93636       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0387       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   89874.98     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1397 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.572        44.591       -.11596E-06   -.35211E-05
   2  Prefactor      .0000        8.2457        .16444E-06** at limit **
   3  norm          .83037        3.4834       -.11708E-06    .24184E-04
   4  norm          29.917        11.785       -.41494E-07   -.63576E-02
   5  norm          3.8440        3.4333       -.20448E-07    .74582E-04
   6  norm           .0000        5.3246        .10049E-06** at limit **
   7  Prefactor      .0000        2.6190        .15333E-07** at limit **
   8  Prefactor     99.167        105.45        .88291E-07   -.16944E-04
   9  Prefactor      .0000        12.297        .25794E-06** at limit **
  10  norm          .53520        1.4896       -.42477E-07    .37906E-05
  11  Prefactor      .0000        1.6558        .62445E-07** at limit **
  12  Prefactor     11.173        7.7825       -.50112E-07    .59290E-02
  13  Prefactor      .0000        .80092        .13828E-07** at limit **
  14  norm           .0000        11.854       -.49256E-06** at limit **
  15  norm           .0000        11.028       -.92823E-07** at limit **
  16  Prefactor     34.296        25.040        .43671E-07   -.10566E-03
  17  Normalizat    .93618        .12444        .84942E-07    .12248E-05
  18  Prefactor     1.0387        .24445E-01   -.32932E-07   -.19753E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.572
  Prefactor  = 0
  norm       = 0.830373
  norm       = 29.9175
  norm       = 3.84396
  norm       = 0
  Prefactor  = 0
  Prefactor  = 99.1671
  Prefactor  = 0
  norm       = 0.535196
  Prefactor  = 0
  Prefactor  = 11.1734
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 34.2964
  Normalizat = 0.936182
  Prefactor  = 1.0387
bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33417112/Model_4FGL_J0741.4-4709_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/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits.....................!
real 594.12
user 588.88
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits', '/lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits', expMap='/lscratch/kocevski/33417112/expmap_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits', expCube='/lscratch/kocevski/33417112/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33417112/Model_4FGL_J0741.4-4709_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0741.4-4709'

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  6.945e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33417112/ft1_filtered_4FGL_J0741.4-4709_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33417112/ft2_4FGL_J0741.4-4709_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33417112/expmap_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33417112/ltcube_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33417112/Model_4FGL_J0741.4-4709_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) = 89874.9881268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.906       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14719E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .83709       1.0000          .0000       .10000E+07
     4 'norm      '    29.930       1.0000          .0000       .10000E+07
     5 'norm      '    3.8439       1.0000          .0000       .10000E+07
     6 'norm      '    .39881E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16237E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    97.688       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99457E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .54114       1.0000          .0000       .10000E+07
    11 'Prefactor '    .90339E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18652E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .11101E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .56133E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    34.430       1.0000          .0000       .10000E+07
    17 'Normalizat'    .93636       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0387       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   89874.98     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1397 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.572        44.591       -.11596E-06   -.35211E-05
   2  Prefactor      .0000        8.2457        .16444E-06** at limit **
   3  norm          .83037        3.4834       -.11708E-06    .24184E-04
   4  norm          29.917        11.785       -.41494E-07   -.63576E-02
   5  norm          3.8440        3.4333       -.20448E-07    .74582E-04
   6  norm           .0000        5.3246        .10049E-06** at limit **
   7  Prefactor      .0000        2.6190        .15333E-07** at limit **
   8  Prefactor     99.167        105.45        .88291E-07   -.16944E-04
   9  Prefactor      .0000        12.297        .25794E-06** at limit **
  10  norm          .53520        1.4896       -.42477E-07    .37906E-05
  11  Prefactor      .0000        1.6558        .62445E-07** at limit **
  12  Prefactor     11.173        7.7825       -.50112E-07    .59290E-02
  13  Prefactor      .0000        .80092        .13828E-07** at limit **
  14  norm           .0000        11.854       -.49256E-06** at limit **
  15  norm           .0000        11.028       -.92823E-07** at limit **
  16  Prefactor     34.296        25.040        .43671E-07   -.10566E-03
  17  Normalizat    .93618        .12444        .84942E-07    .12248E-05
  18  Prefactor     1.0387        .24445E-01   -.32932E-07   -.19753E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.572
  Prefactor  = 0
  norm       = 0.830373
  norm       = 29.9175
  norm       = 3.84396
  norm       = 0
  Prefactor  = 0
  Prefactor  = 99.1671
  Prefactor  = 0
  norm       = 0.535196
  Prefactor  = 0
  Prefactor  = 11.1734
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 34.2964
  Normalizat = 0.936182
  Prefactor  = 1.0387
 **********
 **   18 **HESSE 
 **********

 FCN=   89874.98     FROM HESSE     STATUS=OK           288 CALLS     1685 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.572        44.547        .17990E-03   -1.5596    
   2  Prefactor      .0000        8.1733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83037        3.4966        .50210E-03   -1.5690    
   4  norm          29.917        14.061        .18282E-03   -1.5599    
   5  norm          3.8440        3.4438        .51450E-03   -1.5669    
   6  norm           .0000        5.3103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.5936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     99.167        106.27        .10118E-03   -1.5509    
   9  Prefactor      .0000        12.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53520        1.5366        .74675E-03   -1.5693    
  11  Prefactor      .0000        1.6489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.173        14.156        .29952E-03   -1.5641    
  13  Prefactor      .0000        .80016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .76689        .84869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.296        25.002        .17044E-03   -1.5591    
  17  Normalizat    .93618        .12478        .20064       -.95200    
  18  Prefactor     1.0387        .23957E-01    .40624E-01   -.91450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94577e-06
Minuit parameter uncertainties:
  1  44.5474
  2  4.99458e-06
  3  3.40793
  4  14.0609
  5  3.44379
  6  1.20777e-06
  7  5.45089e-07
  8  106.268
  9  1.11699e-05
  10  1.53656
  11  1.18648e-08
  12  14.1557
  13  3.29145e-08
  14  3.4268e-06
  15  3.7334e-06
  16  25.0021
  17  0.124823
  18  0.0239574
 **********
 **   18 **HESSE 
 **********

 FCN=   89874.98     FROM HESSE     STATUS=OK           288 CALLS     1685 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.572        44.547        .17990E-03   -1.5596    
   2  Prefactor      .0000        8.1733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .83037        3.4966        .50210E-03   -1.5690    
   4  norm          29.917        14.061        .18282E-03   -1.5599    
   5  norm          3.8440        3.4438        .51450E-03   -1.5669    
   6  norm           .0000        5.3103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.5936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     99.167        106.27        .10118E-03   -1.5509    
   9  Prefactor      .0000        12.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53520        1.5366        .74675E-03   -1.5693    
  11  Prefactor      .0000        1.6489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.173        14.156        .29952E-03   -1.5641    
  13  Prefactor      .0000        .80016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .76689        .84869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        11.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.296        25.002        .17044E-03   -1.5591    
  17  Normalizat    .93618        .12478        .20064       -.95200    
  18  Prefactor     1.0387        .23957E-01    .40624E-01   -.91450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94577e-06
Minuit parameter uncertainties:
  1  44.5474
  2  4.99458e-06
  3  3.40793
  4  14.0609
  5  3.44379
  6  1.20777e-06
  7  5.45089e-07
  8  106.268
  9  1.11699e-05
  10  1.53656
  11  1.18648e-08
  12  14.1557
  13  3.29145e-08
  14  3.4268e-06
  15  3.7334e-06
  16  25.0021
  17  0.124823
  18  0.0239574
Done.

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

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  1.117e-05  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.039e+00  2.396e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  9.362e-01  1.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 115.356 -47.164
Photon Flux Upper Limit: 4.83182291532e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00377882848014 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33417178/likelihoodResults_806284801_806889601_4FGL_J0741.4-4709_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) = 89875.0229987
delta logL = -0.040390507711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   89874.98     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      232 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.7576       -.65490E-07** at limit **
   2  Index         2.9700        3.5738        .13387E-06     .0000    
   3  Normalizat    .93618        .11847        .64497E-05    .49969E-04
   4  Prefactor     1.0387        .23913E-01   -.48059E-06    .12167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.96996
  Normalizat = 0.936182
  Prefactor  = 1.0387
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   89874.98     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.6525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99764        2.0921        .13387E-06   -.41808    
   3  Normalizat    .93618        1.2697        .64497E-05   -.95200    
   4  Prefactor     1.0387        1.2055       -.48059E-06   -.91450    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.46554e-12
Minuit parameter uncertainties:
  1  5.63876e-06
  2  1.57719
  3  1.31431
  4  1.23934
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) = 89874.9826082
delta logL = 0.0

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  5.639e-06  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.970e+00  1.577e+00  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.039e+00  1.239e+00  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  9.362e-01  1.314e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 115.356 -47.164

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/33417178/cmap_HighResolution_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-28 06:29:34.876276', job_id='33417178', GAL2='1.04', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785245374.88', 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='2.59' WHERE bin_id='938' AND source_name='4FGL J0741.4-4709' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 06:29:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  1.117e-05  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.589e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.039e+00  2.396e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  9.362e-01  1.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 115.356 -47.164
Photon Flux Upper Limit: 4.83182291532e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00377882848014 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33417112/likelihoodResults_806284801_806889601_4FGL_J0741.4-4709_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) = 89875.0229987
delta logL = -0.040390507711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   89874.98     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      232 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.7576       -.65490E-07** at limit **
   2  Index         2.9700        3.5738        .13387E-06     .0000    
   3  Normalizat    .93618        .11847        .64497E-05    .49969E-04
   4  Prefactor     1.0387        .23913E-01   -.48059E-06    .12167E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.96996
  Normalizat = 0.936182
  Prefactor  = 1.0387
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   89874.98     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.6525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99764        2.0921        .13387E-06   -.41808    
   3  Normalizat    .93618        1.2697        .64497E-05   -.95200    
   4  Prefactor     1.0387        1.2055       -.48059E-06   -.91450    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.46554e-12
Minuit parameter uncertainties:
  1  5.63876e-06
  2  1.57719
  3  1.31431
  4  1.23934
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) = 89874.9826082
delta logL = 0.0

Extracting fit parameters...

4FGL J0741.4-4709
   Spectrum: PowerLaw
350    Prefactor:  0.000e+00  5.639e-06  0.000e+00  1.000e+06 ( 1.000e-13)
351        Index:  2.970e+00  1.577e+00  0.000e+00  1.000e+01 (-1.000e+00)
352        Scale:  8.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.039e+00  1.239e+00  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  9.362e-01  1.314e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 115.356 -47.164

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/33417112/cmap_HighResolution_806284801_806889601_4FGL_J0741.4-4709_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2026-07-28 06:32:10.871261', job_id='33417112', GAL2='1.04', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785245530.87', 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='2.59' WHERE bin_id='938' AND source_name='4FGL J0741.4-4709' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 06:32:11 PDT 2026

