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


Performing analysis on: 4FGL_J1211.0-3800_weekly_bin930
RA = 182.762, Dec = -38.0156
tmin = 801446401, tmax = 802051201
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='27653396', job_status='RUN', time_executed='2026-06-02 11:45:18.949461', time_epoch_executed='1780425918.95' WHERE source_name='4FGL J1211.0-3800' and cadence='weekly' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27653396

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27653396/ft1_4FGL_J1211.0-3800_weekly_bin930.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27653396/ft1_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653396/ft1_filteredMKT_4FGL_J1211.0-3800_weekly_bin930.fits ra=182.762 dec=-38.0156 rad=12.0 tmin=801446401.0 tmax=802051201.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 4.94
user 4.40
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.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/27653396/ft1_filteredMKT_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.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.62
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATnumber of points = 17278
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1211.0-3800_weekly_bin930
RA = 182.762, Dec = -38.0156
tmin = 801446401, tmax = 802051201
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='27653514', job_status='RUN', time_executed='2026-06-02 11:45:18.842769', time_epoch_executed='1780425918.84' WHERE source_name='4FGL J1211.0-3800' and cadence='weekly' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27653514

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27653514/ft1_4FGL_J1211.0-3800_weekly_bin930.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27653514/ft1_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653514/ft1_filteredMKT_4FGL_J1211.0-3800_weekly_bin930.fits ra=182.762 dec=-38.0156 rad=12.0 tmin=801446401.0 tmax=802051201.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 4.80
user 4.24
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.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/27653514/ft1_filteredMKT_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTS" outfile="/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.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.73
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 1816

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATA" outfile=/lscratch/kocevski/27653396/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits
.....................!
real 18.69
user 18.05
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27653396/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653396/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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/27653396/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
.....................!
real 70.83
user 66.06
sys 4.01

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 G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 198 point sources and 2 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 J1211.0-3800 @ 182.762 -38.0156

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653396/cmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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=182.762 yref=-38.0156 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.68
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653396/cmap_HighResolution_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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=182.762 yref=-38.0156 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTSA" outfile=/lscratch/kocevski/27653514/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits
.....................!
real 18.07
user 17.42
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27653514/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653514/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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/27653514/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
.....................!
real 69.20
user 64.41
sys 3.96

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 G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 198 point sources and 2 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 J1211.0-3800 @ 182.762 -38.0156

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653514/cmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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=182.762 yref=-38.0156 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits outfile=/lscratch/kocevski/27653514/cmap_HighResolution_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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=182.762 yref=-38.0156 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.81
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27653514/Model_4FGL_J1211.0-3800_weekly_bin930.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits.....................!
real 127.75
user 125.52
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits', '/lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits', expMap='/lscratch/kocevski/27653514/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits', expCube='/lscratch/kocevski/27653514/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27653514/Model_4FGL_J1211.0-3800_weekly_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1211.0-3800'

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  1.782e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27653514/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits
Spacecraft file(s): /lscratch/kocevski/27653514/ft2_4FGL_J1211.0-3800_weekly_bin930.fits
Exposure map: /lscratch/kocevski/27653514/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
Exposure cube: /lscratch/kocevski/27653514/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27653514/Model_4FGL_J1211.0-3800_weekly_bin930.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) = 19210.1876724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.979       1.0000          .0000       .10000E+07
     2 'norm      '    17.670       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22204E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .41633E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1862       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7494       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.339       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2201       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1573       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1301       1.0000          .0000       .10000E+07
    12 'norm      '    .77716E-08   1.0000          .0000       .10000E+07
    13 'norm      '    4.8053       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55567E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4737       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19210.16     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1290 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.970        29.586       -.60242E-08    .56034E-03
   2  norm          17.669        5.0362        .31118E-08   -.11569E-03
   3  Prefactor      .0000        5.7069       -.75290E-08** at limit **
   4  norm           .0000        8.0703       -.46881E-08** at limit **
   5  Prefactor     2.1809        5.4637        .22919E-06    .16776E-03
   6  Prefactor      .0000        2.5913       -.53458E-08** at limit **
   7  Prefactor     4.7586        32.930       -.37887E-06    .24153E-03
   8  Prefactor     16.336        14.143        .18452E-07   -.59950E-04
   9  Prefactor     3.1972        28.485       -.88603E-06   -.20949E-04
  10  Prefactor     2.1552        2.1186        .12876E-05    .15957E-03
  11  Prefactor     8.1298        6.5035        .17477E-07   -.40969E-03
  12  norm           .0000        2.0557       -.78030E-08** at limit **
  13  norm          4.8059        5.5943       -.32468E-08    .37370E-04
  14  Prefactor      .0000        4.7428       -.14101E-07** at limit **
  15  Normalizat    1.4738        .16348       -.64176E-06    .10530E-03
  16  Prefactor     .83395        .59461E-01    .45038E-06   -.22716E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.97
  norm       = 17.6695
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.1809
  Prefactor  = 0
  Prefactor  = 4.75858
  Prefactor  = 16.3361
  Prefactor  = 3.19721
  Prefactor  = 2.15521
  Prefactor  = 8.12976
  norm       = 0
  norm       = 4.80589
  Prefactor  = 0
  Normalizat = 1.47384
  Prefactor  = 0.833951
" scfile=/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27653396/Model_4FGL_J1211.0-3800_weekly_bin930.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits.....................!
real 137.81
user 135.52
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits', '/lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits', expMap='/lscratch/kocevski/27653396/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits', expCube='/lscratch/kocevski/27653396/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27653396/Model_4FGL_J1211.0-3800_weekly_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1211.0-3800'

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  1.782e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27653396/ft1_filtered_4FGL_J1211.0-3800_weekly_bin930.fits
Spacecraft file(s): /lscratch/kocevski/27653396/ft2_4FGL_J1211.0-3800_weekly_bin930.fits
Exposure map: /lscratch/kocevski/27653396/expmap_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
Exposure cube: /lscratch/kocevski/27653396/ltcube_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27653396/Model_4FGL_J1211.0-3800_weekly_bin930.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) = 19210.1876724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.979       1.0000          .0000       .10000E+07
     2 'norm      '    17.670       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22204E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .41633E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1862       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7494       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.339       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2201       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1573       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1301       1.0000          .0000       .10000E+07
    12 'norm      '    .77716E-08   1.0000          .0000       .10000E+07
    13 'norm      '    4.8053       1.0000          .0000       .10000E+07
    14 'Prefactor '    .55567E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4737       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19210.16     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1290 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.970        29.586       -.60242E-08    .56034E-03
   2  norm          17.669        5.0362        .31118E-08   -.11569E-03
   3  Prefactor      .0000        5.7069       -.75290E-08** at limit **
   4  norm           .0000        8.0703       -.46881E-08** at limit **
   5  Prefactor     2.1809        5.4637        .22919E-06    .16776E-03
   6  Prefactor      .0000        2.5913       -.53458E-08** at limit **
   7  Prefactor     4.7586        32.930       -.37887E-06    .24153E-03
   8  Prefactor     16.336        14.143        .18452E-07   -.59950E-04
   9  Prefactor     3.1972        28.485       -.88603E-06   -.20949E-04
  10  Prefactor     2.1552        2.1186        .12876E-05    .15957E-03
  11  Prefactor     8.1298        6.5035        .17477E-07   -.40969E-03
  12  norm           .0000        2.0557       -.78030E-08** at limit **
  13  norm          4.8059        5.5943       -.32468E-08    .37370E-04
  14  Prefactor      .0000        4.7428       -.14101E-07** at limit **
  15  Normalizat    1.4738        .16348       -.64176E-06    .10530E-03
  16  Prefactor     .83395        .59461E-01    .45038E-06   -.22716E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.97
  norm       = 17.6695
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.1809
  Prefactor  = 0
  Prefactor  = 4.75858
  Prefactor  = 16.3361
  Prefactor  = 3.19721
  Prefactor  = 2.15521
  Prefactor  = 8.12976
  norm       = 0
  norm       = 4.80589
  Prefactor  = 0
  Normalizat = 1.47384
  Prefactor  = 0.833951
 **********
 **   18 **HESSE 
 **********

 FCN=   19210.16     FROM HESSE     STATUS=OK           207 CALLS     1497 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.970        29.286        .12085E-04   -1.5642    
   2  norm          17.669        5.0399        .95196E-05   -1.5624    
   3  Prefactor      .0000        5.7102        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        8.0794        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1809        5.4994        .13917E-03   -1.5678    
   6  Prefactor      .0000        2.5965        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7586        33.193        .18458E-04   -1.5664    
   8  Prefactor     16.336        14.142        .99005E-05   -1.5627    
   9  Prefactor     3.1972        28.919        .22572E-04   -1.5672    
  10  Prefactor     2.1552        2.1353        .15505E-03   -1.5414    
  11  Prefactor     8.1298        6.5000        .14055E-04   -1.5651    
  12  norm           .0000        2.0668        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8059        5.5938        .18348E-04   -1.5664    
  14  Prefactor      .0000        4.7683        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4738        .19635        .35423E-03   -.78516    
  16  Prefactor     .83395        .71255E-01    .16707E-03   -.98489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60166e-10
Minuit parameter uncertainties:
  1  29.2861
  2  5.03994
  3  6.15226e-06
  4  5.50834e-06
  5  5.49937
  6  6.83141e-07
  7  25.1359
  8  14.1418
  9  19.2313
  10  2.13534
  11  6.49997
  12  3.68025e-07
  13  5.59384
  14  1.58035e-06
  15  0.196453
  16  0.0712628
 **********
 **   18 **HESSE 
 **********

 FCN=   19210.16     FROM HESSE     STATUS=OK           207 CALLS     1497 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.970        29.286        .12085E-04   -1.5642    
   2  norm          17.669        5.0399        .95196E-05   -1.5624    
   3  Prefactor      .0000        5.7102        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        8.0794        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1809        5.4994        .13917E-03   -1.5678    
   6  Prefactor      .0000        2.5965        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7586        33.193        .18458E-04   -1.5664    
   8  Prefactor     16.336        14.142        .99005E-05   -1.5627    
   9  Prefactor     3.1972        28.919        .22572E-04   -1.5672    
  10  Prefactor     2.1552        2.1353        .15505E-03   -1.5414    
  11  Prefactor     8.1298        6.5000        .14055E-04   -1.5651    
  12  norm           .0000        2.0668        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8059        5.5938        .18348E-04   -1.5664    
  14  Prefactor      .0000        4.7683        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4738        .19635        .35423E-03   -.78516    
  16  Prefactor     .83395        .71255E-01    .16707E-03   -.98489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60166e-10
Minuit parameter uncertainties:
  1  29.2861
  2  5.03994
  3  6.15226e-06
  4  5.50834e-06
  5  5.49937
  6  6.83141e-07
  7  25.1359
  8  14.1418
  9  19.2313
  10  2.13534
  11  6.49997
  12  3.68025e-07
  13  5.59384
  14  1.58035e-06
  15  0.196453
  16  0.0712628
Done.

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

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  6.831e-07  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.340e-01  7.126e-02  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.474e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.762 -38.016
Photon Flux Upper Limit: 3.30495880805e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00253321394086 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27653514/likelihoodResults_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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) = 19210.1621383
delta logL = -0.00091218745365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19210.1612265
delta logL = -3.83548467653e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19210.16     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      235 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.0159        .42118E-03** at limit **
   2  Index         2.5197        1.2698       -.12777E-04     .0000    
   3  Normalizat    1.4738        1.0526        .23880E-05   -.16618E-03
   4  Prefactor     .83395        1.1816       -.33811E-05   -.52096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.51973
  Normalizat = 1.47384
  Prefactor  = 0.833951
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19210.16     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.0159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .71596        1.9122       -.12777E-04   -.51905    
   3  Normalizat    1.4738        1.0526        .23880E-05   -.78516    
   4  Prefactor     .83395        1.1816       -.33811E-05   -.98489    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.66383e-11
Minuit parameter uncertainties:
  1  8.21774e-06
  2  1.28869
  3  1.06881
  4  1.22087
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) = 19210.1612261
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  8.218e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.520e+00  1.289e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.340e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.474e+00  1.069e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 182.762 -38.016

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27653514/cmap_HighResolution_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.53e-03', job_status='DONE', photon_flux_upper_limit='3.30e-08', time_completed='2026-06-02 11:56:12.190403', job_id='27653514', GAL2='0.83', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1780426572.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='930' AND source_name='4FGL J1211.0-3800' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 11:56:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  6.831e-07  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.340e-01  7.126e-02  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.474e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.762 -38.016
Photon Flux Upper Limit: 3.30495880805e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00253321394086 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27653396/likelihoodResults_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.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) = 19210.1621383
delta logL = -0.00091218745365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19210.1612265
delta logL = -3.83548467653e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   19210.16     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      235 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.0159        .42118E-03** at limit **
   2  Index         2.5197        1.2698       -.12777E-04     .0000    
   3  Normalizat    1.4738        1.0526        .23880E-05   -.16618E-03
   4  Prefactor     .83395        1.1816       -.33811E-05   -.52096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.51973
  Normalizat = 1.47384
  Prefactor  = 0.833951
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   19210.16     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.0159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .71596        1.9122       -.12777E-04   -.51905    
   3  Normalizat    1.4738        1.0526        .23880E-05   -.78516    
   4  Prefactor     .83395        1.1816       -.33811E-05   -.98489    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.66383e-11
Minuit parameter uncertainties:
  1  8.21774e-06
  2  1.28869
  3  1.06881
  4  1.22087
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) = 19210.1612261
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  8.218e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.520e+00  1.289e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.340e-01  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.474e+00  1.069e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 182.762 -38.016

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27653396/cmap_HighResolution_801446401_802051201_4FGL_J1211.0-3800_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.53e-03', job_status='DONE', photon_flux_upper_limit='3.30e-08', time_completed='2026-06-02 11:56:27.531698', job_id='27653396', GAL2='0.83', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1780426587.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='930' AND source_name='4FGL J1211.0-3800' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 11:56:27 PDT 2026

