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


Performing analysis on: 4FGL_J0533.3+4823_daily_bin1248
RA = 83.3338, Dec = 48.3834
tmin = 562809601, tmax = 563068801
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='557755', job_status='RUN', time_executed='2021-08-23 06:25:17.676396', time_epoch_executed='1629725117.68' WHERE source_name='4FGL J0533.3+4823' and cadence='daily' and bin_id='1248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/557755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/557755/ft1_4FGL_J0533.3+4823_daily_bin1248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/557755/ft1_4FGL_J0533.3+4823_daily_bin1248.fits outfile=/scratch/kocevski/557755/ft1_filteredMKT_4FGL_J0533.3+4823_daily_bin1248.fits ra=83.3338 dec=48.3834 rad=12.0 tmin=562809601.0 tmax=563068801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.19
user 3.20
sys 2.93

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.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/557755/ft1_filteredMKT_4FGL_J0533.3+4823_daily_bin1248.fits evtable="EVENTS" outfile="/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.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 3.39
user 0.32
sys 2.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits" evtable="EVENTS" scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits sctable="SC_DATA" outfile=/scratch/kocevski/557755/ltcube_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.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/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits
.....................!
real 15.36
user 11.83
sys 3.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits sctable="SC_DATA" expcube=/scratch/kocevski/557755/ltcube_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits outfile=/scratch/kocevski/557755/expmap_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.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/557755/ltcube_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits
.....................!
real 195.07
user 185.15
sys 9.14

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 HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0533.3+4823 @ 83.3338 48.3834

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits outfile=/scratch/kocevski/557755/cmap_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.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.3338 yref=48.3834 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 3.30
user 0.37
sys 2.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits outfile=/scratch/kocevski/557755/cmap_HighResolution_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.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.3338 yref=48.3834 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 3.33
user 0.37
sys 2.94

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/557755/Model_4FGL_J0533.3+4823_daily_bin1248.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits.....................!
real 126.62
user 121.45
sys 4.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits', '/scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits', expMap='/scratch/kocevski/557755/expmap_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits', expCube='/scratch/kocevski/557755/ltcube_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/557755/Model_4FGL_J0533.3+4823_daily_bin1248.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.3+4823'

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  1.210e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
263        alpha:  2.323e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.664e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/557755/ft1_filtered_4FGL_J0533.3+4823_daily_bin1248.fits
Spacecraft file(s): /scratch/kocevski/557755/ft2_4FGL_J0533.3+4823_daily_bin1248.fits
Exposure map: /scratch/kocevski/557755/expmap_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits
Exposure cube: /scratch/kocevski/557755/ltcube_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/557755/Model_4FGL_J0533.3+4823_daily_bin1248.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) = 5118.32968822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.990       1.0000         .10000E-03   10000.    
     2 'norm      '    6.3284       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.105       1.0000         .10000E-03   10000.    
     4 'norm      '    .66576       1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.171       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2786       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7184       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7690       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.949       1.0000         .10000E-03   10000.    
    10 'Normalizat'    .26459       1.0000         .10000E-01   10.000    
    11 'Prefactor '    .95995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5118.316     FROM MIGRAD    STATUS=CONVERGED    210 CALLS      802 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.388        57.933        .13523E-02   -.11703E-03
   2  norm          6.3223        3.2542        .39890E-02    .32784E-03
   3  Prefactor     35.693        38.487        .16674E-02    .11407E-03
   4  norm          .67511        3.0119        .11930E-01    .13917E-02
   5  Prefactor     65.304        47.983        .12428E-02    .35201E-03
   6  norm          1.2771        2.3992        .98179E-02    .53736E-03
   7  norm          1.7191        1.9502        .80126E-02   -.24071E-04
   8  Prefactor     8.7408        10.987        .33840E-02    .54094E-03
   9  Prefactor     10.912        9.5339        .30269E-02    .19824E-03
  10  Normalizat    .26702        .37479        .19076        .20579E-03
  11  Prefactor     .95904        .97626E-01    .28381E-01    .42654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.3885
  norm       = 6.32226
  Prefactor  = 35.6926
  norm       = 0.675114
  Prefactor  = 65.3037
  norm       = 1.27709
  norm       = 1.71913
  Prefactor  = 8.74083
  Prefactor  = 10.9124
  Normalizat = 0.267017
  Prefactor  = 0.959035
 **********
 **   18 **HESSE 
 **********

 FCN=   5118.316     FROM HESSE     STATUS=OK           114 CALLS      916 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.388        58.142        .54092E-04   -1.4191    
   2  norm          6.3223        3.2307        .85794E-04   -1.5205    
   3  Prefactor     35.693        38.446        .66696E-04   -1.4512    
   4  norm          .67511        2.9601        .22790E-03   -1.5544    
   5  Prefactor     65.304        47.580        .49712E-04   -1.4090    
   6  norm          1.2771        2.3512        .14633E-03   -1.5482    
   7  norm          1.7191        1.9481        .10362E-03   -1.5446    
   8  Prefactor     8.7408        10.655        .13536E-03   -1.5117    
   9  Prefactor     10.912        9.3071        .12108E-03   -1.5047    
  10  Normalizat    .26702        .30423        .83900E-03   -1.2486    
  11  Prefactor     .95904        .85541E-01    .12543E-03   -.94108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.55387e-10
Minuit parameter uncertainties:
  1  58.1996
  2  3.23077
  3  38.4731
  4  2.82733
  5  47.6082
  6  2.35134
  7  1.94819
  8  10.6577
  9  9.30831
  10  0.306138
  11  0.0855531
Done.

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

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  6.322e+00  3.231e+00  1.000e-04  1.000e+04 ( 1.000e-11)
263        alpha:  2.323e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.664e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.590e-01  8.555e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  2.670e-01  3.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.70
Ra Dec: 83.334 48.383
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 3.22e-07 +/- 1.65e-07
Energy Flux (Fixed Index): 1.10e-04 +/- 5.63e-05

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) = 5117.34166681
delta logL = 0.974527476644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5117.33370698
delta logL = 0.982487309157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0782       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3135       1.0000          .0000       5.0000    
     3 'Normalizat'    .16550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96819       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+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=   5117.334     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      287 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0781        4.5357        .49047E-04    .92717E-04
   2  alpha         3.3135        1.1028        .87091E-02   -.15941E-04
   3  Normalizat    .16543        .30415        .10208E-01   -.72115E-04
   4  Prefactor     .96821        .83395E-01    .12466E-03   -.10823E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.07808
  alpha      = 3.3135
  Normalizat = 0.165428
  Prefactor  = 0.968207
 **********
 **   18 **HESSE 
 **********

 FCN=   5117.334     FROM HESSE     STATUS=OK            27 CALLS      314 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0781        3.3971        .19619E-05   -1.5357    
   2  alpha         3.3135        .83877        .34836E-03    .33143    
   3  Normalizat    .16543        .29183        .40831E-03   -1.3207    
   4  Prefactor     .96821        .80440E-01    .24933E-04   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33437e-10
Minuit parameter uncertainties:
  1  3.39734
  2  0.85745
  3  0.29461
  4  0.0804501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/557755': 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) = 5117.33370693
delta logL = 0.982487359715

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  3.078e+00  3.397e+00  1.000e-04  1.000e+04 ( 1.000e-11)
263        alpha:  3.313e+00  8.575e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.664e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  6.543e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.682e-01  8.045e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.654e-01  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.78
Ra Dec: 83.334 48.383
Photon Index (Free Index): 3.31 +/- 0.86
Photon Flux (Free Index): 5.54e-07 +/- 2.56e-07
Energy Flux (Free Index): 1.02e-04 +/- 4.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/557755/cmap_HighResolution_562809601_563068801_4FGL_J0533.3+4823_daily_bin1248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.22e-07', energy_flux2='1.02e-04', photon_flux_error='1.65e-07', dlogl='9.82e-01', energy_flux='1.10e-04', photon_flux2='5.54e-07', job_status='DONE', time_completed='2021-08-23 06:34:14.675855', photon_index_error2='0.86', photon_index2='3.31', ts='6.70', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.40e-05', EG='0.27', time_epoch_completed='1629725654.68', return_code='0', job_id='557755', GAL2='0.97', EG2='0.17', return_code2='0', energy_flux_error='5.63e-05', photon_flux_error2='2.56e-07', ts2='8.78', photon_index='2.32' WHERE bin_id='1248' AND source_name='4FGL J0533.3+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 06:34:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 557755: <4FGL_J0533.3+4823_daily_bin1248> in cluster <slac> Done

Job <4FGL_J0533.3+4823_daily_bin1248> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 23 06:20:26 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 06:20:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 06:20:28 2021
Terminated at Mon Aug 23 06:34:18 2021
Results reported at Mon Aug 23 06:34:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.3+4823_daily_bin1248 83.3338 48.3834 562809601 563068801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0533.3+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   573.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             220.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            832 sec.

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

