aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 34 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 = 17377
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0533.0-8446_weekly_bin728
RA = 83.2677, Dec = -84.7783
tmin = 679276801, tmax = 679881601
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='882735', job_status='RUN', time_executed='2022-07-19 16:51:05.417206', time_epoch_executed='1658274665.42' WHERE source_name='4FGL J0533.0-8446' and cadence='weekly' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882735

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882735/ft1_4FGL_J0533.0-8446_weekly_bin728.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882735/ft1_4FGL_J0533.0-8446_weekly_bin728.fits outfile=/scratch/kocevski/882735/ft1_filteredMKT_4FGL_J0533.0-8446_weekly_bin728.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=679276801.0 tmax=679881601.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 7.60
user 7.14
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.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/882735/ft1_filteredMKT_4FGL_J0533.0-8446_weekly_bin728.fits evtable="EVENTS" outfile="/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.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.39
sys 0.15

Number of photons that the gtmktime cut: 2324

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits" evtable="EVENTS" scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits sctable="SC_DATA" outfile=/scratch/kocevski/882735/ltcube_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.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/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits
.....................!
real 28.96
user 28.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/882735/ltcube_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits outfile=/scratch/kocevski/882735/expmap_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.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/882735/ltcube_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits
.....................!
real 193.42
user 185.60
sys 5.15

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/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits outfile=/scratch/kocevski/882735/cmap_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.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.63
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits outfile=/scratch/kocevski/882735/cmap_HighResolution_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882735/Model_4FGL_J0533.0-8446_weekly_bin728.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/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits.....................!
real 20660.98
user 20517.59
sys 2.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits', '/scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits', expMap='/scratch/kocevski/882735/expmap_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits', expCube='/scratch/kocevski/882735/ltcube_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882735/Model_4FGL_J0533.0-8446_weekly_bin728.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/882735/ft1_filtered_4FGL_J0533.0-8446_weekly_bin728.fits
Spacecraft file(s): /scratch/kocevski/882735/ft2_4FGL_J0533.0-8446_weekly_bin728.fits
Exposure map: /scratch/kocevski/882735/expmap_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits
Exposure cube: /scratch/kocevski/882735/ltcube_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882735/Model_4FGL_J0533.0-8446_weekly_bin728.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) = 23979.7727156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    85.975       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13512E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.503       1.0000         .10000E-03   10000.    
     7 'norm      '    24.193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3772       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.3860       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.865       1.0000         .10000E-03   10000.    
    12 'norm      '    11.392       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .51698       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5413       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .32908       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1262       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.804       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .98616       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0016       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=   23979.73     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2359 TOTAL
                     EDM=   .82E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1598         .0000    ** at limit **
   2  Prefactor     85.974        34.460         .0000        .37647E-02
   3  Prefactor     .10000E-03    1.4296         .0000    ** at limit **
   4  Prefactor     .10000E-03    8.2046         .0000    ** at limit **
   5  Prefactor     .10000E-03    3.4730         .0000    ** at limit **
   6  Prefactor     17.502        27.588         .0000        .17602E-02
   7  norm          24.190        20.565         .0000        .29706E-02
   8  Prefactor     1.3785        2.6778         .0000        .31343E-02
   9  Prefactor     6.3846        5.6993         .0000        .49619E-03
  10  norm          .10000E-03    .46555         .0000    ** at limit **
  11  Prefactor     47.864        31.028         .0000        .16691E-02
  12  norm          11.392        7.5958         .0000       -.15664E-03
  13  Prefactor     .10000E-03    26.152         .0000    ** at limit **
  14  norm          .51669        1.4043         .0000        .15976E-02
  15  Prefactor     1.5426        3.8025         .0000        .62755E-01
  16  Prefactor     .10000E-03    7.5514         .0000    ** at limit **
  17  Prefactor     .31477        .93453         .0000        .18147E-02
  18  norm          1.1254        3.1889         .0000        .11549    
  19  Prefactor     12.804        24.073         .0000        .39226E-03
  20  Normalizat    .98622        .14216         .0000        .10115E-03
  21  Prefactor     1.0016        .50653E-01     .0000        .10511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 85.9739
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5018
  norm       = 24.1902
  Prefactor  = 1.37847
  Prefactor  = 6.38465
  norm       = 0.0001
  Prefactor  = 47.8641
  norm       = 11.3919
  Prefactor  = 0.0001
  norm       = 0.516691
  Prefactor  = 1.54256
  Prefactor  = 0.0001
  Prefactor  = 0.314772
  norm       = 1.12544
  Prefactor  = 12.8038
  Normalizat = 0.986223
  Prefactor  = 1.00157
 **********
 **   18 **HESSE 
 **********

 FCN=   23979.73     FROM HESSE     STATUS=OK           319 CALLS     2678 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1716        .16282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     85.974        34.413        .43327E-04   -1.3851    
   3  Prefactor     .10000E-03    8.0364        .35208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.3103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.502        27.580        .95732E-04   -1.4871    
   7  norm          24.190        20.490        .81440E-04   -1.4724    
   8  Prefactor     1.3785        2.6356        .33406E-03   -1.5473    
   9  Prefactor     6.3846        5.6788        .15883E-03   -1.5203    
  10  norm          .10000E-03    .46737        .10316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     47.864        31.007        .57959E-04   -1.4323    
  12  norm          11.392        7.5932        .11869E-03   -1.5033    
  13  Prefactor     .10000E-03    26.818        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .51669        2.0271        .29049E-02   -1.5564    
  15  Prefactor     1.5426        3.7728        .17170E-02   -1.5460    
  16  Prefactor     .10000E-03    7.5709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .31477        3.9449        .24396E-02   -1.5596    
  18  norm          1.1254        3.1831        .21504E-02   -1.5496    
  19  Prefactor     12.804        23.894        .11194E-03   -1.4992    
  20  Normalizat    .98622        .15725        .40710E-03   -.93493    
  21  Prefactor     1.0016        .57437E-01    .14784E-03   -.92677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82691e-08
Minuit parameter uncertainties:
  1  2.00927e-06
  2  34.421
  3  0.000129484
  4  9.21051e-05
  5  1.2864e-05
  6  27.5998
  7  20.496
  8  2.6358
  9  5.67932
  10  4.697e-07
  11  31.0169
  12  7.59386
  13  3.7383e-05
  14  2.02742
  15  3.77343
  16  8.38341e-06
  17  2.22851
  18  3.18361
  19  23.9115
  20  0.157324
  21  0.0574407
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.750e+01  2.760e+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:  1.002e+00  5.744e-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.862e-01  1.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/882735/likelihoodResults_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.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) = 23979.083259
delta logL = 0.649036878243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 23979.0555503
delta logL = 0.676745662626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4755       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2267       1.0000          .0000       10.000    
     3 'Normalizat'    .94681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0082       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   23979.06     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      377 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4692        124.64        .95164E-03    .50796E-04
   2  Index         3.2272        3.5506        .66910E-02    .10850E-03
   3  Normalizat    .94682        .12715        .41454E-03    .34885E-05
   4  Prefactor     1.0082        .45140E-01    .14738E-03   -.30855E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46919
  Index      = 3.2272
  Normalizat = 0.946816
  Prefactor  = 1.00819
 **********
 **   18 **HESSE 
 **********

 FCN=   23979.06     FROM HESSE     STATUS=OK            27 CALLS      404 TOTAL
                     EDM=   .43E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4692        12.531        .38066E-04   -1.5285    
   2  Index         3.2272        1.0616        .26764E-03   -.36244    
   3  Normalizat    .94682        .15793        .82908E-04   -.94834    
   4  Prefactor     1.0082        .56828E-01    .58954E-05   -.92457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26267e-14
Minuit parameter uncertainties:
  1  12.5382
  2  1.07092
  3  0.158008
  4  0.0568313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882735': 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): 0
logL (Free Index) = 23979.0555501
delta logL = 0.676745826768

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  4.469e+00  1.254e+01  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  3.227e+00  1.071e+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:  1.008e+00  5.683e-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.468e-01  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 83.268 -84.778
Photon Index (Free Index): 3.23 +/- 1.07
Photon Flux (Free Index): 5.03e-08 +/- 4.10e-08
Energy Flux (Free Index): 9.12e-06 +/- 7.46e-06

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/882735/cmap_HighResolution_679276801_679881601_4FGL_J0533.0-8446_weekly_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-03', comment='SUCCESS', energy_flux2='9.12e-06', dlogl='6.77e-01', photon_flux2='5.03e-08', job_status='DONE', time_completed='2022-07-19 23:00:45.006131', photon_index_error2='1.07', photon_index2='3.23', ts='0.47', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='6.60e-08', energy_flux_error2='7.46e-06', EG='0.99', time_epoch_completed='1658296845.01', return_code='0', job_id='882735', GAL2='1.01', EG2='0.95', return_code2='0', photon_flux_error2='4.10e-08', ts2='1.89', photon_index='2.21' WHERE bin_id='728' AND source_name='4FGL J0533.0-8446' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 19 23:00:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 882735: <4FGL_J0533.0-8446_weekly_bin728> in cluster <slac> Done

Job <4FGL_J0533.0-8446_weekly_bin728> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jul 19 16:50:19 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 19 16:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 19 16:50:20 2022
Terminated at Tue Jul 19 23:00:45 2022
Results reported at Tue Jul 19 23:00:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_weekly_bin728 83.2677 -84.7783 679276801 679881601 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 :                                   22039.00 sec.
    Max Memory :                                 990 MB
    Average Memory :                             606.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   22225 sec.
    Turnaround time :                            22226 sec.

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

