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


Performing analysis on: 4FGL_J0533.0-8446_daily_bin1701
RA = 83.2677, Dec = -84.7783
tmin = 680227201, tmax = 680486401
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='158505', job_status='RUN', time_executed='2022-07-26 01:37:33.219955', time_epoch_executed='1658824653.22' WHERE source_name='4FGL J0533.0-8446' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158505

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158505/ft1_4FGL_J0533.0-8446_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158505/ft1_4FGL_J0533.0-8446_daily_bin1701.fits outfile=/scratch/kocevski/158505/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1701.fits ra=83.2677 dec=-84.7783 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.92
user 2.65
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.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/158505/ft1_filteredMKT_4FGL_J0533.0-8446_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.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.52
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 1227

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/158505/ltcube_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.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/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits
.....................!
real 15.52
user 14.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/158505/ltcube_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.fits outfile=/scratch/kocevski/158505/expmap_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.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/158505/ltcube_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.fits
.....................!
real 193.33
user 186.95
sys 5.47

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/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits outfile=/scratch/kocevski/158505/cmap_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits outfile=/scratch/kocevski/158505/cmap_HighResolution_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.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.62
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J0533.0-8446_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158505/Model_4FGL_J0533.0-8446_daily_bin1701.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/158505/ft1_filtered_4FGL_J0533.0-8446_daily_bin1701.fits.....................!
real 10899.17
user 10847.03
sys 3.83

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3495       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5863       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.031       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.1530       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0035       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5647       1.0000         .10000E-03   10000.    
    10 'norm      '    .20017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.076       1.0000         .10000E-03   10000.    
    12 'norm      '    14.598       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3409       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.358       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0897       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8220       1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.706       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2740       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95007       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.

 FCN=   12842.79     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2251 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3490        4.0256        .12994E-06   -.91351E-03
   2  Prefactor     .10000E-03    165.96        .45792E-05** at limit **
   3  Prefactor     2.4902        6.7350       -.20631E-06   -.13623E-03
   4  Prefactor     7.5859        21.471       -.51963E-06   -.12199E-05
   5  Prefactor     24.029        17.300       -.35952E-06    .94597E-06
   6  Prefactor     .10000E-03    75.054       -.80363E-06** at limit **
   7  norm          7.1544        22.819       -.59087E-06   -.45412E-05
   8  Prefactor     2.0033        3.0169       -.62325E-07   -.19079E-03
   9  Prefactor     1.5675        7.7621       -.67544E-06   -.18112E-03
  10  norm          .10000E-03    1.5749       -.51886E-07** at limit **
  11  Prefactor     26.088        26.056       -.11506E-05   -.11211E-04
  12  norm          14.600        8.9762        .11966E-06    .18467E-04
  13  Prefactor     .10000E-03    41.951       -.36183E-07** at limit **
  14  norm          1.3406        2.5668       -.10149E-06   -.33416E-03
  15  Prefactor     .10000E-03    1.8123        .16450E-07** at limit **
  16  Prefactor     52.352        40.147       -.19739E-05   -.20917E-04
  17  Prefactor     4.0896        3.1351       -.46141E-07   -.15973E-02
  18  norm          2.8222        2.3304        .68709E-06   -.39072E-02
  19  Prefactor     34.675        47.338       -.18743E-04   -.13851E-03
  20  Normalizat    1.2739        .20196        .11280E-05    .48994E-05
  21  Prefactor     .95014        .68583E-01    .17966E-06    .78196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34901
  Prefactor  = 0.000100001
  Prefactor  = 2.49016
  Prefactor  = 7.58591
  Prefactor  = 24.029
  Prefactor  = 0.0001
  norm       = 7.15436
  Prefactor  = 2.00329
  Prefactor  = 1.56751
  norm       = 0.0001
  Prefactor  = 26.0878
  norm       = 14.5995
  Prefactor  = 0.0001
  norm       = 1.34057
  Prefactor  = 0.0001
  Prefactor  = 52.352
  Prefactor  = 4.08964
  norm       = 2.82223
  Prefactor  = 34.6752
  Normalizat = 1.27388
  Prefactor  = 0.950139
 **********
 **   18 **HESSE 
 **********

 FCN=   12842.79     FROM HESSE     STATUS=OK           323 CALLS     2574 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3490        4.0684        .11057E-02   -1.5342    
   2  Prefactor     .10000E-03    169.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4902        6.7216        .25889E-03   -1.5392    
   4  Prefactor     7.5859        21.461        .14560E-03   -1.5157    
   5  Prefactor     24.029        17.298        .81713E-04   -1.4727    
   6  Prefactor     .10000E-03    77.583        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.1544        22.783        .14998E-03   -1.5173    
   8  Prefactor     2.0033        2.9849        .23061E-03   -1.5425    
   9  Prefactor     1.5675        7.8140        .34004E-03   -1.5458    
  10  norm          .10000E-03    3.9816        .27471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.088        26.014        .39224E-03   -1.4686    
  12  norm          14.600        8.9757        .10483E-03   -1.4944    
  13  Prefactor     .10000E-03    42.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3406        2.5341        .24414E-03   -1.5476    
  15  Prefactor     .10000E-03    1.8291        .14894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     52.352        40.143        .55428E-04   -1.4260    
  17  Prefactor     4.0896        3.2010        .86701E-03   -1.5303    
  18  norm          2.8222        4.7706        .12105E-02   -1.5372    
  19  Prefactor     34.675        47.510        .68023E-04   -1.4530    
  20  Normalizat    1.2739        .23651        .38735E-03   -.84349    
  21  Prefactor     .95014        .80473E-01    .15761E-03   -.94410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32194e-08
Minuit parameter uncertainties:
  1  4.06873
  2  0.000979177
  3  6.72366
  4  21.483
  5  17.3018
  6  4.25835e-05
  7  22.8103
  8  2.9851
  9  7.0008
  10  1.38308e-05
  11  26.0249
  12  8.97648
  13  4.05104e-05
  14  2.53426
  15  4.28158e-07
  16  40.1642
  17  3.20115
  18  4.77128
  19  47.5619
  20  0.236715
  21  0.0804834
Done.

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

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.000e-04  4.258e-05  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.501e-01  8.048e-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:  1.274e+00  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158505/likelihoodResults_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.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) = 12842.7877426
delta logL = -6.1397529862e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12842.7877426
delta logL = -6.13970023551e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2136       1.0000          .0000       10.000    
     3 'Normalizat'    1.2739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95014       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.

 FCN=   12842.79     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      209 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    16.054        .90712E-02** at limit **
   2  Index         2.2391        5.9574        .50000       -.23459E-05
   3  Normalizat    1.2739        .23762E-02    .87474E-01    .61046E-04
   4  Prefactor     .95014        .85372E-03    .45641E-01    .75513E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 2.23914
  Normalizat = 1.27388
  Prefactor  = 0.950139
 **********
 **   18 **HESSE 
 **********

 FCN=   12842.79     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      240 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1393.6        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2391        8.5500        .50000       -.58497    
   3  Normalizat    1.2739        .22629E-01    .38735E-03   -.84349    
   4  Prefactor     .95014        .81448E-02    .15761E-03   -.94410    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21886e-07
Minuit parameter uncertainties:
  1  0.00693394
  2  543.222
  3  0.0226291
  4  0.00814482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158505': 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) = 12842.7876812
delta logL = 1.59561750479e-08

Extracting fit parameters...

4FGL J0533.0-8446
   Spectrum: PowerLaw
171    Prefactor:  1.000e-04  6.934e-03  1.000e-04  1.000e+04 ( 1.000e-14)
172        Index:  2.239e+00  5.432e+02  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.501e-01  8.145e-03  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:  1.274e+00  2.263e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 83.268 -84.778

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/158505/cmap_HighResolution_680227201_680486401_4FGL_J0533.0-8446_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.68e-08', time_completed='2022-07-26 04:54:18.317393', job_id='158505', GAL2='0.95', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1658836458.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1701' AND source_name='4FGL J0533.0-8446' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 04:54:18 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 158327: <4FGL_J0533.0-8446_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:15 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 00:33:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 00:33:16 2022
Terminated at Tue Jul 26 03:53:04 2022
Results reported at Tue Jul 26 03:53:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1701 83.2677 -84.7783 680227201 680486401 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 :                                   11720.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             593.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11988 sec.
    Turnaround time :                            13669 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 158505: <4FGL_J0533.0-8446_daily_bin1701> in cluster <slac> Done

Job <4FGL_J0533.0-8446_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 00:05:22 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 01:36:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 01:36:07 2022
Terminated at Tue Jul 26 04:54:18 2022
Results reported at Tue Jul 26 04:54:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.0-8446_daily_bin1701 83.2677 -84.7783 680227201 680486401 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 :                                   11766.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             595.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11891 sec.
    Turnaround time :                            17336 sec.

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

