aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0953.0-0840_weekly_bin714
RA = 148.263, Dec = -8.6695
tmin = 670809601, tmax = 671414401
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='424139', job_status='RUN', time_executed='2022-04-12 01:12:13.111243', time_epoch_executed='1649751133.11' WHERE source_name='4FGL J0953.0-0840' and cadence='weekly' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424139

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424139/ft1_4FGL_J0953.0-0840_weekly_bin714.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424139/ft1_4FGL_J0953.0-0840_weekly_bin714.fits outfile=/scratch/kocevski/424139/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin714.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=670809601.0 tmax=671414401.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 11.97
user 11.26
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.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/424139/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin714.fits evtable="EVENTS" outfile="/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.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.53
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 906

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/424139/ltcube_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.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/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits
.....................!
real 26.57
user 25.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/424139/ltcube_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits outfile=/scratch/kocevski/424139/expmap_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.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/424139/ltcube_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits
.....................!
real 193.62
user 186.96
sys 5.34

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/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits outfile=/scratch/kocevski/424139/cmap_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits outfile=/scratch/kocevski/424139/cmap_HighResolution_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424139/Model_4FGL_J0953.0-0840_weekly_bin714.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/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits.....................!
real 99.16
user 97.54
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits', '/scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits', expMap='/scratch/kocevski/424139/expmap_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits', expCube='/scratch/kocevski/424139/ltcube_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424139/Model_4FGL_J0953.0-0840_weekly_bin714.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/424139/ft1_filtered_4FGL_J0953.0-0840_weekly_bin714.fits
Spacecraft file(s): /scratch/kocevski/424139/ft2_4FGL_J0953.0-0840_weekly_bin714.fits
Exposure map: /scratch/kocevski/424139/expmap_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits
Exposure cube: /scratch/kocevski/424139/ltcube_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424139/Model_4FGL_J0953.0-0840_weekly_bin714.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) = 10305.9605047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9711       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.231       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2742       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21742E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22934E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.954       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .36642       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8652       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1509       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1591       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1698       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .98295       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10305.96     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1655 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9710        4.8199        .22682E-05   -.61926E-03
   2  Prefactor     11.231        12.737       -.11733E-05   -.68705E-03
   3  Prefactor     .10000E-03    19.866       -.55990E-07** at limit **
   4  Prefactor     .10000E-03    4.6773       -.11177E-06** at limit **
   5  Prefactor     5.2739        31.715       -.11259E-05   -.26622E-04
   6  Prefactor     .10001E-03    138.03       -.11994E-05** at limit **
   7  Prefactor     .10000E-03    40.983        .14401E-05** at limit **
   8  norm          13.952        8.0319        .16043E-05   -.36675E-03
   9  norm          .10000E-03    1.0668        .54615E-07** at limit **
  10  norm          .36630        .45219       -.15958E-06   -.26944E-02
  11  norm          1.8651        1.2473       -.71976E-09    .67731E-04
  12  norm          2.1500        5.7462       -.79599E-05   -.56701E-04
  13  Prefactor     .10000E-03    6.8315       -.69309E-07** at limit **
  14  Prefactor     1.1547        20.544       -.20966E-05   -.37825E-04
  15  Prefactor     .10000E-03    4.1984       -.14629E-06** at limit **
  16  Normalizat    1.1698        .16574        .55234E-06    .25719E-03
  17  Prefactor     .98294        .10841        .21932E-06    .29118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97104
  Prefactor  = 11.2309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.27385
  Prefactor  = 0.000100008
  Prefactor  = 0.000100001
  norm       = 13.9521
  norm       = 0.0001
  norm       = 0.366304
  norm       = 1.86514
  norm       = 2.14999
  Prefactor  = 0.0001
  Prefactor  = 1.15471
  Prefactor  = 0.0001
  Normalizat = 1.16981
  Prefactor  = 0.982939
 **********
 **   18 **HESSE 
 **********

 FCN=   10305.96     FROM HESSE     STATUS=OK           229 CALLS     1884 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9710        4.7422        .20240E-03   -1.5309    
   2  Prefactor     11.231        13.062        .59771E-03   -1.5038    
   3  Prefactor     .10000E-03    19.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2739        31.805        .17502E-03   -1.5249    
   6  Prefactor     .10001E-03    140.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    42.602        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.952        7.9274        .10722E-03   -1.4961    
   9  norm          .10000E-03    1.0746        .10237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .36630        .43260        .70700E-03   -1.5587    
  11  norm          1.8651        1.2460        .90067E-04   -1.5435    
  12  norm          2.1500        5.9930        .28095E-03   -1.5415    
  13  Prefactor     .10000E-03    6.8337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1547        168.24        .85586E-02   -1.5493    
  15  Prefactor     .10000E-03    4.3065        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1698        .19676        .28239E-03   -.87541    
  17  Prefactor     .98294        .12921        .21067E-03   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22299e-08
Minuit parameter uncertainties:
  1  4.74269
  2  13.065
  3  1.40886e-05
  4  3.92241e-06
  5  25.9228
  6  0.00205884
  7  0.000379029
  8  7.92796
  9  1.56037e-06
  10  0.432601
  11  1.24598
  12  5.99471
  13  4.93817e-06
  14  27.9548
  15  1.79164e-06
  16  0.196886
  17  0.129254
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.865e+00  1.246e+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:  9.829e-01  1.293e-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:  1.170e+00  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.29
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 2.22e-08 +/- 1.48e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.58e-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) = 10305.9547265
delta logL = 0.00246876696474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10305.9546317
delta logL = 0.00256356564387

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8662       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8684       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98356       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=   10305.95     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8665        25.965        .76237E-02   -.76102E-03
   2  alpha         1.8679        2.7736        .42948       -.23220E-04
   3  Normalizat    1.1677        .10836        .63890E-01   -.37028E-03
   4  Prefactor     .98352        .44641E-01    .46061E-01   -.25247E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.86655
  alpha      = 1.86788
  Normalizat = 1.16768
  Prefactor  = 0.983517
 **********
 **   18 **HESSE 
 **********

 FCN=   10305.95     FROM HESSE     STATUS=OK            29 CALLS      226 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8665        1.2433        .89393E-04   -1.5435    
   2  alpha         1.8679        .92384        .20794E-01   -.25562    
   3  Normalizat    1.1677        .18734        .28262E-03   -.87607    
   4  Prefactor     .98352        .12821        .21062E-03   -.93281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41409e-09
Minuit parameter uncertainties:
  1  1.24335
  2  0.947916
  3  0.187443
  4  0.128251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424139': 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) = 10305.9546313
delta logL = 0.00256391870062

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.867e+00  1.243e+00  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  1.868e+00  9.479e-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:  9.835e-01  1.283e-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:  1.168e+00  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.29
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 1.87 +/- 0.95
Photon Flux (Free Index): 2.43e-08 +/- 3.49e-08
Energy Flux (Free Index): 2.20e-05 +/- 2.70e-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/424139/cmap_HighResolution_670809601_671414401_4FGL_J0953.0-0840_weekly_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.22e-08', energy_flux2='2.20e-05', photon_flux_error='1.48e-08', dlogl='2.56e-03', energy_flux='2.36e-05', photon_flux2='2.43e-08', job_status='DONE', time_completed='2022-04-12 01:23:41.891202', photon_index_error2='0.95', photon_index2='1.87', ts='6.29', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.70e-05', EG='1.17', time_epoch_completed='1649751821.89', return_code='0', job_id='424139', GAL2='0.98', EG2='1.17', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='3.49e-08', ts2='6.29', photon_index='1.80' WHERE bin_id='714' AND source_name='4FGL J0953.0-0840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 12 01:23:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 424139: <4FGL_J0953.0-0840_weekly_bin714> in cluster <slac> Done

Job <4FGL_J0953.0-0840_weekly_bin714> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Apr 12 01:10:20 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 01:10:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 01:10:21 2022
Terminated at Tue Apr 12 01:23:42 2022
Results reported at Tue Apr 12 01:23:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_weekly_bin714 148.263 -8.6695 670809601 671414401 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 :                                   683.65 sec.
    Max Memory :                                 629 MB
    Average Memory :                             280.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            802 sec.

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

