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


Performing analysis on: 4FGL_J2103.8-6233_daily_bin1405
RA = 315.955, Dec = -62.5563
tmin = 603504001, tmax = 603763201
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='281542', job_status='RUN', time_executed='2021-09-26 01:39:02.632161', time_epoch_executed='1632645542.63' WHERE source_name='4FGL J2103.8-6233' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281542/ft1_4FGL_J2103.8-6233_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281542/ft1_4FGL_J2103.8-6233_daily_bin1405.fits outfile=/scratch/kocevski/281542/ft1_filteredMKT_4FGL_J2103.8-6233_daily_bin1405.fits ra=315.955 dec=-62.5563 rad=12.0 tmin=603504001.0 tmax=603763201.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.85
user 2.58
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.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/281542/ft1_filteredMKT_4FGL_J2103.8-6233_daily_bin1405.fits evtable="EVENTS" outfile="/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.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.64
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/281542/ltcube_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.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/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits
.....................!
real 14.61
user 14.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/281542/ltcube_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits outfile=/scratch/kocevski/281542/expmap_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.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/281542/ltcube_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits
.....................!
real 191.34
user 186.02
sys 4.51

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
Added 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J2103.8-6233 @ 315.955 -62.5563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits outfile=/scratch/kocevski/281542/cmap_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.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=315.955 yref=-62.5563 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits outfile=/scratch/kocevski/281542/cmap_HighResolution_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.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=315.955 yref=-62.5563 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281542/Model_4FGL_J2103.8-6233_daily_bin1405.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
Working on...
/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits.....................!
real 38.08
user 36.73
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits', '/scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits', expMap='/scratch/kocevski/281542/expmap_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits', expCube='/scratch/kocevski/281542/ltcube_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/281542/Model_4FGL_J2103.8-6233_daily_bin1405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2103.8-6233'

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  1.194e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/281542/ft1_filtered_4FGL_J2103.8-6233_daily_bin1405.fits
Spacecraft file(s): /scratch/kocevski/281542/ft2_4FGL_J2103.8-6233_daily_bin1405.fits
Exposure map: /scratch/kocevski/281542/expmap_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits
Exposure cube: /scratch/kocevski/281542/ltcube_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/281542/Model_4FGL_J2103.8-6233_daily_bin1405.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) = 3509.16487162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0080       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21398E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    163.60       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     5 'norm      '    9.0991       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .53692E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    126.36       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16147E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .18983E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .13477       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .75902       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3489.959     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     1063 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0102        2.9492        .21349E-06   -.36312E-04
   2  Prefactor     .10000E-03    35.636       -.10526E-05** at limit **
   3  Prefactor     163.18        160.72       -.33501E-05   -.64616E-04
   4  Prefactor    10000.0        282.66        .15743E-05** at limit **
   5  norm          9.1042        4.8700       -.63280E-07   -.11078E-03
   6  Prefactor     .10000E-03    97.132       -.27230E-06** at limit **
   7  Prefactor     126.37        136.23       -.30391E-06   -.10831E-04
   8  Prefactor     .10000E-03    58.937       -.12883E-05** at limit **
   9  norm          .10000E-03    23.733        .12618E-05** at limit **
  10  norm          .13605        .83275        .48282E-06    .34175E-03
  11  Normalizat    1.2326        .34833        .11678E-04   -.12841E-03
  12  Prefactor     .75904        .18713       -.83328E-05   -.12109E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01018
  Prefactor  = 0.0001
  Prefactor  = 163.182
  Prefactor  = 10000
  norm       = 9.10425
  Prefactor  = 0.0001
  Prefactor  = 126.368
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.136047
  Normalizat = 1.23256
  Prefactor  = 0.759041
 **********
 **   18 **HESSE 
 **********

 FCN=   3489.959     FROM HESSE     STATUS=OK           123 CALLS     1186 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0102        2.9330        .11648E-03   -1.5424    
   2  Prefactor     .10000E-03    36.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     163.18        161.50        .15766E-03   -1.3146    
   4  Prefactor    10000.0        282.72        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.1042        4.8713        .92800E-04   -1.5104    
   6  Prefactor     .10000E-03    97.154        .21122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     126.37        136.20        .17906E-03   -1.3455    
   8  Prefactor     .10000E-03    59.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    24.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .13605        .82295        .10431E-03   -1.5634    
  11  Normalizat    1.2326        .34606        .28935E-03   -.85602    
  12  Prefactor     .75904        .18713        .19470E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65081e-10
Minuit parameter uncertainties:
  1  2.93317
  2  0.000170856
  3  161.943
  4  0.000764514
  5  4.87153
  6  3.06931e-05
  7  136.537
  8  0.000306888
  9  0.000135776
  10  0.668975
  11  0.34671
  12  0.187285
Done.

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

Extracting fit parameters...

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  9.104e+00  4.872e+00  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.858e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  7.590e-01  1.873e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.233e+00  3.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.32
Ra Dec: 315.955 -62.556
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 8.26e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 6.94e-05 +/- 3.71e-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) = 3487.86202582
delta logL = 2.09708474297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3487.84942159
delta logL = 2.10968897544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2930       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0558       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76235       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3487.849     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2930        4.5964        .34803E-02   -.10318E-03
   2  alpha         1.0557        .31692        .19774       -.49294E-04
   3  Normalizat    1.2377        .28462        .65265E-01   -.95396E-05
   4  Prefactor     .76234        .15522        .43225E-01    .63189E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.29296
  alpha      = 1.05574
  Normalizat = 1.23773
  Prefactor  = 0.762343
 **********
 **   18 **HESSE 
 **********

 FCN=   3487.849     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2930        5.3267        .88262E-04   -1.5132    
   2  alpha         1.0557        .37207        .86220E-03   -.61591    
   3  Normalizat    1.2377        .34012        .28871E-03   -.85445    
   4  Prefactor     .76234        .18568        .19442E-03   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.45401e-11
Minuit parameter uncertainties:
  1  5.32699
  2  0.374167
  3  0.340731
  4  0.185829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281542': 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) = 3487.84942159
delta logL = 2.10968897589

Extracting fit parameters...

4FGL J2103.8-6233
   Spectrum: LogParabola
361         norm:  8.293e+00  5.327e+00  1.000e-04  1.000e+04 ( 1.000e-12)
362        alpha:  1.056e+00  3.742e-01  0.000e+00  5.000e+00 ( 1.000e+00)
363         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
364           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  7.623e-01  1.858e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.238e+00  3.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.49
Ra Dec: 315.955 -62.556
Photon Index (Free Index): 1.06 +/- 0.37
Photon Flux (Free Index): 4.65e-08 +/- 2.78e-08
Energy Flux (Free Index): 2.70e-04 +/- 2.25e-04

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/281542/cmap_HighResolution_603504001_603763201_4FGL_J2103.8-6233_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.26e-08', energy_flux2='2.70e-04', photon_flux_error='4.42e-08', dlogl='2.11e+00', energy_flux='6.94e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-09-26 01:45:44.135426', photon_index_error2='0.37', photon_index2='1.06', ts='18.32', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='2.25e-04', EG='1.23', time_epoch_completed='1632645944.14', return_code='0', job_id='281542', GAL2='0.76', EG2='1.24', return_code2='0', energy_flux_error='3.71e-05', photon_flux_error2='2.78e-08', ts2='22.49', photon_index='1.86' WHERE bin_id='1405' AND source_name='4FGL J2103.8-6233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:45:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 281542: <4FGL_J2103.8-6233_daily_bin1405> in cluster <slac> Done

Job <4FGL_J2103.8-6233_daily_bin1405> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 01:36:19 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:37:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:37:17 2021
Terminated at Sun Sep 26 01:45:45 2021
Results reported at Sun Sep 26 01:45:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2103.8-6233_daily_bin1405 315.955 -62.5563 603504001 603763201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2103.8-6233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   398.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   507 sec.
    Turnaround time :                            566 sec.

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

