aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 4 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 = 17176
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0953.0-0840_weekly_bin570
RA = 148.263, Dec = -8.6695
tmin = 583718401, tmax = 584323201
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='104585', job_status='RUN', time_executed='2021-07-16 06:27:23.802004', time_epoch_executed='1626442043.8' WHERE source_name='4FGL J0953.0-0840' and cadence='weekly' and bin_id='570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104585

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104585/ft1_4FGL_J0953.0-0840_weekly_bin570.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104585/ft1_4FGL_J0953.0-0840_weekly_bin570.fits outfile=/scratch/kocevski/104585/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin570.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=583718401.0 tmax=584323201.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 8.44
user 8.08
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.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/104585/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin570.fits evtable="EVENTS" outfile="/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.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.55
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits" evtable="EVENTS" scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits sctable="SC_DATA" outfile=/scratch/kocevski/104585/ltcube_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.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/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits
.....................!
real 32.65
user 32.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits sctable="SC_DATA" expcube=/scratch/kocevski/104585/ltcube_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits outfile=/scratch/kocevski/104585/expmap_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.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/104585/ltcube_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits
.....................!
real 194.57
user 189.37
sys 4.64

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

Setting source of interest to:
4FGL J0953.0-0840 @ 148.263 -8.6695

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits outfile=/scratch/kocevski/104585/cmap_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.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=148.263 yref=-8.6695 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits outfile=/scratch/kocevski/104585/cmap_HighResolution_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.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=148.263 yref=-8.6695 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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104585/Model_4FGL_J0953.0-0840_weekly_bin570.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/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits....................!
real 116.12
user 114.13
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits', '/scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits', expMap='/scratch/kocevski/104585/expmap_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits', expCube='/scratch/kocevski/104585/ltcube_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/104585/Model_4FGL_J0953.0-0840_weekly_bin570.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0953.0-0840'

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  1.803e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  4.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/104585/ft1_filtered_4FGL_J0953.0-0840_weekly_bin570.fits
Spacecraft file(s): /scratch/kocevski/104585/ft2_4FGL_J0953.0-0840_weekly_bin570.fits
Exposure map: /scratch/kocevski/104585/expmap_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits
Exposure cube: /scratch/kocevski/104585/ltcube_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/104585/Model_4FGL_J0953.0-0840_weekly_bin570.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) = 12369.8318073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.583       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.039       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2760       1.0000         .10000E-03   10000.    
    10 'norm      '    .63497       1.0000         .10000E-03   10000.    
    11 'norm      '    3.5460       1.0000         .10000E-03   10000.    
    12 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.860       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.168       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98728       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12369.83     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1606 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7309        .90712E-02** at limit **
   2  Prefactor     10.582        10.578        .30791E-02    .62074E-03
   3  Prefactor     .10001E-03    49.617        .90712E-02** at limit **
   4  Prefactor     6.3161        10.761        .39931E-02    .25095E-03
   5  Prefactor     29.040        24.684        .18587E-02    .44577E-04
   6  Prefactor     .10000E-03    11.100        .90712E-02** at limit **
   7  Prefactor     .10000E-03    2.3148        .90712E-02** at limit **
   8  norm          .10000E-03    2.0482        .90712E-02** at limit **
   9  norm          1.2761        1.2374        .98338E-02   -.21592E-02
  10  norm          .63494        .44682        .11810E-01    .19997E-02
  11  norm          3.5460        1.6240        .53662E-02    .52865E-02
  12  norm          .10000E-03    14.678        .90712E-02** at limit **
  13  Prefactor     .10001E-03    32.296        .90712E-02** at limit **
  14  Prefactor     16.858        25.844        .24385E-02    .82254E-03
  15  Prefactor     11.169        6.0785        .29970E-02   -.36540E-03
  16  Normalizat    .98710        .15211        .68749E-01    .10276E-02
  17  Prefactor     1.0699        .10071        .38867E-01    .83941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 10.5816
  Prefactor  = 0.000100007
  Prefactor  = 6.31612
  Prefactor  = 29.0397
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.27612
  norm       = 0.63494
  norm       = 3.54602
  norm       = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 16.8579
  Prefactor  = 11.1687
  Normalizat = 0.987103
  Prefactor  = 1.06992
 **********
 **   18 **HESSE 
 **********

 FCN=   12369.83     FROM HESSE     STATUS=OK           221 CALLS     1827 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8585        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.582        10.585        .12316E-03   -1.5057    
   3  Prefactor     .10001E-03    50.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3161        10.749        .15973E-03   -1.5205    
   5  Prefactor     29.040        24.754        .74347E-04   -1.4630    
   6  Prefactor     .10000E-03    11.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.3205        .16525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.0642        .15540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2761        1.2643        .11859E-03   -1.5482    
  10  norm          .63494        .42698        .58953E-03   -1.5549    
  11  norm          3.5460        1.6227        .46262E-03   -1.5331    
  12  norm          .10000E-03    15.240        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    32.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.858        25.883        .97542E-04   -1.4887    
  15  Prefactor     11.169        6.0832        .11988E-03   -1.5039    
  16  Normalizat    .98710        .17876        .30413E-03   -.93464    
  17  Prefactor     1.0699        .11856        .20218E-03   -.90434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39869e-09
Minuit parameter uncertainties:
  1  0.000135257
  2  10.587
  3  0.00119858
  4  10.7518
  5  24.763
  6  0.000197142
  7  2.45583e-05
  8  4.11376e-05
  9  1.2643
  10  0.426987
  11  1.6227
  12  0.000234845
  13  0.00125329
  14  25.9003
  15  6.08352
  16  0.178865
  17  0.118588
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  3.546e+00  1.623e+00  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  1.803e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
243         beta:  4.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.070e+00  1.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.871e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.58
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 4.22e-08 +/- 1.93e-08
Energy Flux (Fixed Index): 4.49e-05 +/- 2.06e-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) = 12369.7274871
delta logL = 0.100371845481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12369.7193001
delta logL = 0.108558858941

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12369.72     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5177        26.225        .53886E-02    .11309E-02
   2  alpha         2.0068        3.4205        .24458        .67219E-04
   3  Normalizat    .97488        .12875        .69123E-01   -.31640E-04
   4  Prefactor     1.0723        .49203E-01    .38750E-01   -.99629E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51769
  alpha      = 2.0068
  Normalizat = 0.974879
  Prefactor  = 1.07229
 **********
 **   18 **HESSE 
 **********

 FCN=   12369.72     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5177        1.6071        .86533E-04   -1.5333    
   2  alpha         2.0068        .44523        .14447E-01   -.19858    
   3  Normalizat    .97488        .17334        .30579E-03   -.93877    
   4  Prefactor     1.0723        .11846        .20193E-03   -.90357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53564e-09
Minuit parameter uncertainties:
  1  1.60712
  2  0.447712
  3  0.173444
  4  0.118486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104585': 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) = 12369.7193
delta logL = 0.10855892685

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  3.518e+00  1.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  2.007e+00  4.477e-01  0.000e+00  5.000e+00 ( 1.000e+00)
243         beta:  4.647e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
244           Eb:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.072e+00  1.185e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.749e-01  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.77
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 2.01 +/- 0.45
Photon Flux (Free Index): 5.63e-08 +/- 3.91e-08
Energy Flux (Free Index): 3.71e-05 +/- 2.18e-05

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/104585/cmap_HighResolution_583718401_584323201_4FGL_J0953.0-0840_weekly_bin570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.22e-08', energy_flux2='3.71e-05', photon_flux_error='1.93e-08', dlogl='1.09e-01', energy_flux='4.49e-05', photon_flux2='5.63e-08', job_status='DONE', time_completed='2021-07-16 06:40:00.128324', photon_index_error2='0.45', photon_index2='2.01', ts='13.58', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.99', time_epoch_completed='1626442800.13', return_code='0', job_id='104585', GAL2='1.07', EG2='0.97', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='3.91e-08', ts2='13.77', photon_index='1.80' WHERE bin_id='570' AND source_name='4FGL J0953.0-0840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 06:40:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 104585: <4FGL_J0953.0-0840_weekly_bin570> in cluster <slac> Done

Job <4FGL_J0953.0-0840_weekly_bin570> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jul 16 06:25:30 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 06:27:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 06:27:09 2021
Terminated at Fri Jul 16 06:40:01 2021
Results reported at Fri Jul 16 06:40:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_weekly_bin570 148.263 -8.6695 583718401 584323201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0953.0-0840 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   740.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             342.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            871 sec.

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

