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


Performing analysis on: 4FGL_J0533.3+4823_monthly_bin100
RA = 83.3338, Dec = 48.3834
tmin = 496195201, tmax = 498787201
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='534997', job_status='RUN', time_executed='2021-10-14 18:25:24.761481', time_epoch_executed='1634261124.76' WHERE source_name='4FGL J0533.3+4823' and cadence='monthly' and bin_id='100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534997

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

Retrieving the FT1 file...

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

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

Retrieving 460 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534997/ft1_4FGL_J0533.3+4823_monthly_bin100.fits


Retrieving the FT1 file...

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

Retrieving 460 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534997/ft1_4FGL_J0533.3+4823_monthly_bin100.fits outfile=/scratch/kocevski/534997/ft1_filteredMKT_4FGL_J0533.3+4823_monthly_bin100.fits ra=83.3338 dec=48.3834 rad=12.0 tmin=496195201.0 tmax=498787201.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 45.03
user 43.73
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.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/534997/ft1_filteredMKT_4FGL_J0533.3+4823_monthly_bin100.fits evtable="EVENTS" outfile="/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.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.87
user 0.67
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits" evtable="EVENTS" scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits sctable="SC_DATA" outfile=/scratch/kocevski/534997/ltcube_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.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/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits
.....................!
real 108.91
user 108.20
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits evtable="EVENTS" scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits sctable="SC_DATA" expcube=/scratch/kocevski/534997/ltcube_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits outfile=/scratch/kocevski/534997/expmap_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.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/534997/ltcube_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits
.....................!
real 194.80
user 188.16
sys 5.71

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/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits outfile=/scratch/kocevski/534997/cmap_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.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 0.82
user 0.64
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits outfile=/scratch/kocevski/534997/cmap_HighResolution_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.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 0.83
user 0.67
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits evtable="EVENTS" scfile=/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534997/Model_4FGL_J0533.3+4823_monthly_bin100.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/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits.....................!
real 6835.95
user 6815.28
sys 3.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits', '/scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits', expMap='/scratch/kocevski/534997/expmap_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits', expCube='/scratch/kocevski/534997/ltcube_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534997/Model_4FGL_J0533.3+4823_monthly_bin100.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/534997/ft1_filtered_4FGL_J0533.3+4823_monthly_bin100.fits
Spacecraft file(s): /scratch/kocevski/534997/ft2_4FGL_J0533.3+4823_monthly_bin100.fits
Exposure map: /scratch/kocevski/534997/expmap_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits
Exposure cube: /scratch/kocevski/534997/ltcube_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534997/Model_4FGL_J0533.3+4823_monthly_bin100.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) = 294765.216529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5287       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4766       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.250       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9620       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1535       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1007       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3235       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.4177       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4339       1.0000         .10000E-03   10000.    
    10 'Normalizat'    1.1158       1.0000         .10000E-01   10.000    
    11 'Prefactor '    1.0096       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.

 FCN=   294765.1     FROM MIGRAD    STATUS=CONVERGED    182 CALLS      757 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5158        2.7184        .51973E-07   -.47281E-03
   2  norm          1.4766        .25401        .36745E-07   -.89061E-02
   3  Prefactor     10.288        4.0587       -.15205E-06   -.38548E-03
   4  norm          1.9617        .40448        .96504E-07   -.87460E-02
   5  Prefactor     6.1476        4.5322       -.16408E-05   -.89789E-03
   6  norm          3.1007        .62306        .15932E-07   -.16793E-02
   7  norm          2.3235        .53191       -.49167E-08   -.22374E-03
   8  Prefactor     7.4179        2.2162        .10021E-06    .79852E-04
   9  Prefactor     2.4343        1.0648        .92797E-08   -.33313E-03
  10  Normalizat    1.1158        .63544E-01    .24860E-07   -.34332E-03
  11  Prefactor     1.0096        .10153E-01   -.10224E-07    .12888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.51576
  norm       = 1.4766
  Prefactor  = 10.2881
  norm       = 1.9617
  Prefactor  = 6.14759
  norm       = 3.10069
  norm       = 2.32353
  Prefactor  = 7.4179
  Prefactor  = 2.43432
  Normalizat = 1.11582
  Prefactor  = 1.00955
 **********
 **   18 **HESSE 
 **********

 FCN=   294765.1     FROM HESSE     STATUS=OK           120 CALLS      877 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5158        2.7389        .18918E-03   -1.5283    
   2  norm          1.4766        .27332        .11712E-03   -1.5465    
   3  Prefactor     10.288        4.0626        .12515E-03   -1.5066    
   4  norm          1.9617        .50228        .18712E-03   -1.5428    
   5  Prefactor     6.1476        4.6985        .16184E-03   -1.5212    
   6  norm          3.1007        .62681        .18706E-03   -1.5356    
   7  norm          2.3235        .53209        .18444E-03   -1.5403    
   8  Prefactor     7.4179        2.2175        .14726E-03   -1.5163    
   9  Prefactor     2.4343        1.0663        .26229E-03   -1.5396    
  10  Normalizat    1.1158        .64663E-01    .70865E-03   -.89245    
  11  Prefactor     1.0096        .10549E-01    .12227E-03   -.92412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75771e-09
Minuit parameter uncertainties:
  1  2.73901
  2  0.273324
  3  4.06276
  4  0.50228
  5  4.69882
  6  0.626808
  7  0.532091
  8  2.21754
  9  1.06629
  10  0.0646673
  11  0.0105491
Done.

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

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  1.477e+00  2.733e-01  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:  1.010e+00  1.055e-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.116e+00  6.467e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 45.55
Ra Dec: 83.334 48.383
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 7.53e-08 +/- 1.39e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 4.76e-06

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) = 294758.715243
delta logL = 6.38590255496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 294758.714636
delta logL = 6.38651016174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0774       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9884       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0129       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=   294758.7     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      267 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0774        .34977        .81801E-04    .19853E-01
   2  alpha         2.9884        .26070        .19463E-01    .11275E-02
   3  Normalizat    1.0661        .64813E-01    .72247E-03    .65763E-03
   4  Prefactor     1.0129        .10488E-01    .12207E-03    .19907E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07743
  alpha      = 2.98838
  Normalizat = 1.06612
  Prefactor  = 1.01286
 **********
 **   18 **HESSE 
 **********

 FCN=   294758.7     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0774        .27229        .32720E-05   -1.5500    
   2  alpha         2.9884        .20273        .77850E-03    .19662    
   3  Normalizat    1.0661        .64519E-01    .28899E-04   -.90847    
   4  Prefactor     1.0129        .10454E-01    .48830E-05   -.92302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30989e-09
Minuit parameter uncertainties:
  1  0.27229
  2  0.202966
  3  0.0645239
  4  0.0104544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534997': 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) = 294758.714636
delta logL = 6.38651016174

Extracting fit parameters...

4FGL J0533.3+4823
   Spectrum: LogParabola
262         norm:  1.077e+00  2.723e-01  1.000e-04  1.000e+04 ( 1.000e-11)
263        alpha:  2.988e+00  2.030e-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:  1.013e+00  1.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.066e+00  6.452e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 59.93
Ra Dec: 83.334 48.383
Photon Index (Free Index): 2.99 +/- 0.20
Photon Flux (Free Index): 1.24e-07 +/- 2.06e-08
Energy Flux (Free Index): 2.59e-05 +/- 4.00e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/534997/cmap_HighResolution_496195201_498787201_4FGL_J0533.3+4823_monthly_bin100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.53e-08', energy_flux2='2.59e-05', photon_flux_error='1.39e-08', dlogl='6.39e+00', energy_flux='2.57e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-10-14 21:40:48.656539', photon_index_error2='0.20', photon_index2='2.99', ts='45.55', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.00e-06', EG='1.12', time_epoch_completed='1634272848.66', return_code='0', job_id='534997', GAL2='1.01', EG2='1.07', return_code2='0', energy_flux_error='4.76e-06', photon_flux_error2='2.06e-08', ts2='59.93', photon_index='2.32' WHERE bin_id='100' AND source_name='4FGL J0533.3+4823' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Oct 14 21:40:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 534997: <4FGL_J0533.3+4823_monthly_bin100> in cluster <slac> Done

Job <4FGL_J0533.3+4823_monthly_bin100> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct 14 18:25:14 2021
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 14 18:25:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 14 18:25:15 2021
Terminated at Thu Oct 14 21:40:50 2021
Results reported at Thu Oct 14 21:40:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.3+4823_monthly_bin100 83.3338 48.3834 496195201 498787201 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 :                                   11591.41 sec.
    Max Memory :                                 1102 MB
    Average Memory :                             650.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3416 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   11735 sec.
    Turnaround time :                            11736 sec.

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

