aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 215 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 17320
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0533.0-8446_weekly_bin465
RA = 83.2677, Dec = -84.7783
tmin = 520214401, tmax = 520819201
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='106073', job_status='RUN', time_executed='2021-07-08 16:06:32.768362', time_epoch_executed='1625785592.77' WHERE source_name='4FGL J0533.0-8446' and cadence='weekly' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106073

Creating custom pfile directory:
/scratch/kocevski/106073/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=520214401.0 && nMetStart<520819201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=520214401.0 && nMetStart<520819201.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106073/ft1_4FGL_J0533.0-8446_weekly_bin465.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=520214401.0 && nMetStart<520819201.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106073/ft1_4FGL_J0533.0-8446_weekly_bin465.fits outfile=/scratch/kocevski/106073/ft1_filteredMKT_4FGL_J0533.0-8446_weekly_bin465.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=520214401.0 tmax=520819201.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 12.74
user 12.16
sys 0.40

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/106073/ft1_filteredMKT_4FGL_J0533.0-8446_weekly_bin465.fits evtable="EVENTS" outfile="/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.56
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/106073/ltcube_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.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 /scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits
.....................!
real 28.43
user 28.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/106073/ltcube_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits outfile=/scratch/kocevski/106073/expmap_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.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 /scratch/kocevski/106073/ltcube_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits
.....................!
real 190.23
user 185.09
sys 4.67

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 SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 165 point sources and 5 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 J0533.0-8446 @ 83.2677 -84.7783

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits outfile=/scratch/kocevski/106073/cmap_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.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=83.2677 yref=-84.7783 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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits outfile=/scratch/kocevski/106073/cmap_HighResolution_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.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=83.2677 yref=-84.7783 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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106073/Model_4FGL_J0533.0-8446_weekly_bin465.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 LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits.....................!
real 15459.70
user 15432.26
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits', '/scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits', expMap='/scratch/kocevski/106073/expmap_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits', expCube='/scratch/kocevski/106073/ltcube_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106073/Model_4FGL_J0533.0-8446_weekly_bin465.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.0-8446'

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  2.818e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/106073/ft1_filtered_4FGL_J0533.0-8446_weekly_bin465.fits
Spacecraft file(s): /scratch/kocevski/106073/ft2_4FGL_J0533.0-8446_weekly_bin465.fits
Exposure map: /scratch/kocevski/106073/expmap_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits
Exposure cube: /scratch/kocevski/106073/ltcube_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106073/Model_4FGL_J0533.0-8446_weekly_bin465.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) = 19316.5840979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1030       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4459       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1546       1.0000         .10000E-03   10000.    
     7 'norm      '    28.957       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6358       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.716       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    24.322       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.059       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5580       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5171       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.0691       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.8002       1.0000         .10000E-03   10000.    
    18 'norm      '    6.8356       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .93262       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96516       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19316.55     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     1923 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1026        4.6757         .0000        .24980E-01
   2  Prefactor     .10000E-03    12.708         .0000    ** at limit **
   3  Prefactor     .10000E-03    1.4695         .0000    ** at limit **
   4  Prefactor     3.4459        8.5679         .0000        .45968E-02
   5  Prefactor     .10000E-03    3.1185         .0000    ** at limit **
   6  Prefactor     5.1539        35.453         .0000        .21143E-03
   7  norm          28.957        23.722         .0000        .30980E-03
   8  Prefactor     4.6355        3.1962         .0000        .26581E-02
   9  Prefactor     16.717        7.4148         .0000        .21795E-02
  10  norm          .10000E-03    .84481         .0000    ** at limit **
  11  Prefactor     .10000E-03    44.404         .0000    ** at limit **
  12  norm          24.326        10.069         .0000       -.26260E-02
  13  Prefactor     31.058        19.545         .0000        .39601E-03
  14  norm          2.5580        2.4180         .0000        .17258E-02
  15  Prefactor     1.5174        3.8461         .0000        .57313E-01
  16  Prefactor     5.0684        29.672         .0000        .12563E-03
  17  Prefactor     6.7997        3.3903         .0000       -.26674E-02
  18  norm          6.8347        4.0049         .0000       -.21651E-02
  19  Prefactor     .10000E-03    34.092         .0000    ** at limit **
  20  Normalizat    .93262        .16032         .0000        .99853E-04
  21  Prefactor     .96516        .56230E-01     .0000        .59411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.44594
  Prefactor  = 0.0001
  Prefactor  = 5.15391
  norm       = 28.9574
  Prefactor  = 4.63551
  Prefactor  = 16.7169
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 24.3262
  Prefactor  = 31.058
  norm       = 2.55801
  Prefactor  = 1.51742
  Prefactor  = 5.06845
  Prefactor  = 6.79975
  norm       = 6.83471
  Prefactor  = 0.000100003
  Normalizat = 0.932616
  Prefactor  = 0.965161
 **********
 **   18 **HESSE 
 **********

 FCN=   19316.55     FROM HESSE     STATUS=OK           317 CALLS     2240 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1026        4.6619        .14228E-02   -1.5418    
   2  Prefactor     .10000E-03    12.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4798        .16445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4459        8.5565        .10894E-02   -1.5337    
   5  Prefactor     .10000E-03    3.1199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.1539        35.406        .17707E-03   -1.5254    
   7  norm          28.957        23.705        .74452E-04   -1.4631    
   8  Prefactor     4.6355        3.1904        .18693E-03   -1.5277    
   9  Prefactor     16.717        7.4096        .97960E-04   -1.4890    
  10  norm          .10000E-03    .85311        .12472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    44.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.326        10.067        .81224E-04   -1.4721    
  13  Prefactor     31.058        19.531        .71895E-04   -1.4593    
  14  norm          2.5580        2.4151        .20371E-03   -1.5388    
  15  Prefactor     1.5174        3.8379        .17351E-02   -1.5462    
  16  Prefactor     5.0684        29.493        .17859E-03   -1.5258    
  17  Prefactor     6.7997        3.3781        .15386E-03   -1.5186    
  18  norm          6.8347        4.0010        .15346E-03   -1.5185    
  19  Prefactor     .10000E-03    34.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93262        .17924        .41567E-03   -.95323    
  21  Prefactor     .96516        .63631E-01    .14886E-03   -.93900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13444e-08
Minuit parameter uncertainties:
  1  4.66275
  2  3.21551e-05
  3  5.01433e-06
  4  8.55952
  5  3.58947e-06
  6  27.0398
  7  23.7128
  8  3.19049
  9  7.40999
  10  1.89981e-06
  11  0.000464639
  12  10.0677
  13  19.5352
  14  2.41521
  15  3.83853
  16  24.4707
  17  3.37819
  18  4.00111
  19  0.000665194
  20  0.179355
  21  0.0636355
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  5.154e+00  2.704e+01  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  2.214e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.652e-01  6.364e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.326e-01  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 83.268 -84.778
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106073/likelihoodResults_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19315.8127944
delta logL = 0.735841426325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19315.6974533
delta logL = 0.851182551058

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.8960       1.0000          .0000       10.000    
     3 'Normalizat'    .87921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19315.70     FROM MIGRAD    STATUS=CONVERGED    370 CALLS      791 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .96731E-02    .23895E-03** at limit **
   2  Index         6.8960        3.1613        .63852E-02    .10144E-03
   3  Normalizat    .87911        .67689E-01    .42697E-03   -.14070E-03
   4  Prefactor     .97752        .24650E-01    .14800E-03    .20310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.89601
  Normalizat = 0.879113
  Prefactor  = 0.97752
 **********
 **   18 **HESSE 
 **********

 FCN=   19315.70     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      826 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .71832E-02    .28212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8960        3.1089        .25541E-03    .38893    
   3  Normalizat    .87911        .64288E-01    .17079E-04   -.97198    
   4  Prefactor     .97752        .23485E-01    .59199E-05   -.93483    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.07435e-10
Minuit parameter uncertainties:
  1  7.28494e-08
  2  3.40911
  3  0.064294
  4  0.023485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106073': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19315.6974517
delta logL = 0.851184098992

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.000e-04  7.285e-08  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  6.896e+00  3.409e+00  0.000e+00  1.000e+01 (-1.000e+00)
173        Scale:  2.307e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.775e-01  2.348e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  8.791e-01  6.429e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.83
Ra Dec: 83.268 -84.778
Photon Index (Free Index): 6.90 +/- 3.41
Photon Flux (Free Index): 4.31e-08 +/- 4.30e-07
Energy Flux (Free Index): 5.17e-06 +/- 5.12e-05

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 /scratch/kocevski/106073/cmap_HighResolution_520214401_520819201_4FGL_J0533.0-8446_weekly_bin465.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/106073

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', comment='SUCCESS', energy_flux2='5.17e-06', dlogl='8.51e-01', photon_flux2='4.31e-08', job_status='DONE', time_completed='2021-07-08 20:46:54.786896', photon_index_error2='3.41', photon_index2='6.90', ts='0.04', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.06e-08', energy_flux_error2='5.12e-05', EG='0.93', time_epoch_completed='1625802414.79', return_code='0', job_id='106073', GAL2='0.98', EG2='0.88', return_code2='102', photon_flux_error2='4.30e-07', ts2='1.83', photon_index='2.21' WHERE bin_id='465' AND source_name='4FGL J0533.0-8446' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  8 20:46:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 106073: <4FGL_J0533.0-8446_weekly_bin465> in cluster <slac> Done

Job <4FGL_J0533.0-8446_weekly_bin465> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Jul  8 15:58:14 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul  8 16:01:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul  8 16:01:35 2021
Terminated at Thu Jul  8 20:46:55 2021
Results reported at Thu Jul  8 20:46:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_weekly_bin465 83.2677 -84.7783 520214401 520819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0533.0-8446 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   16747.00 sec.
    Max Memory :                                 770 MB
    Average Memory :                             590.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   17120 sec.
    Turnaround time :                            17321 sec.

The output (if any) is above this job summary.

