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


Performing analysis on: 4FGL_J0953.0-0840_daily_bin1559
RA = 148.263, Dec = -8.6695
tmin = 643420801, tmax = 643680001
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='577960', job_status='RUN', time_executed='2021-09-01 05:58:09.465792', time_epoch_executed='1630501089.47' WHERE source_name='4FGL J0953.0-0840' and cadence='daily' and bin_id='1559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/577960

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/577960/ft1_4FGL_J0953.0-0840_daily_bin1559.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/577960/ft1_4FGL_J0953.0-0840_daily_bin1559.fits outfile=/scratch/kocevski/577960/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin1559.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=643420801.0 tmax=643680001.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 3.42
user 3.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.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/577960/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin1559.fits evtable="EVENTS" outfile="/scratch/kocevski/577960/ft1_filtered_4FGL_J0953.0-0840_daily_bin1559.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/577960/ft1_filtered_4FGL_J0953.0-0840_daily_bin1559.fits" evtable="EVENTS" scfile=/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits sctable="SC_DATA" outfile=/scratch/kocevski/577960/ltcube_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.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/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits
.....................!
real 15.25
user 14.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/577960/ft1_filtered_4FGL_J0953.0-0840_daily_bin1559.fits evtable="EVENTS" scfile=/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits sctable="SC_DATA" expcube=/scratch/kocevski/577960/ltcube_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.fits outfile=/scratch/kocevski/577960/expmap_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.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/577960/ltcube_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.fits
.....................!
real 189.65
user 184.91
sys 4.40

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/577960/ft1_filtered_4FGL_J0953.0-0840_daily_bin1559.fits scfile=/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits outfile=/scratch/kocevski/577960/cmap_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.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.88
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/577960/ft1_filtered_4FGL_J0953.0-0840_daily_bin1559.fits scfile=/scratch/kocevski/577960/ft2_4FGL_J0953.0-0840_daily_bin1559.fits outfile=/scratch/kocevski/577960/cmap_HighResolution_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18713       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.787       1.0000         .10000E-03   10000.    
     8 'norm      '    31.121       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0097       1.0000         .10000E-03   10000.    
    10 'norm      '    .67186       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0200       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .41279E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1446       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0287       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5483.518     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     1885 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0740        22.066        .23349E-02   -.39378E-03
   2  Prefactor     .13398        24.465        .87771E-01    .19318E-03
   3  Prefactor     .10000E-03    17.203        .18142E-02** at limit **
   4  Prefactor     .10000E-03    29.393        .18142E-02** at limit **
   5  Prefactor     .10001E-03    62.515        .18142E-02** at limit **
   6  Prefactor     .10000E-03    17.187        .18142E-02** at limit **
   7  Prefactor     10.787        10.997        .12199E-03    .74650E-04
   8  norm          31.121        11.540        .71823E-04    .95944E-03
   9  norm          1.0154        2.2363        .19456E-02    .33878E-03
  10  norm          .67121        .77714        .66812E-04   -.13478E-02
  11  norm          1.0198        1.0603        .73436E-03    .34047E-03
  12  norm          .10000E-03    10.050        .18142E-02** at limit **
  13  Prefactor     .10000E-03    12.867        .18142E-02** at limit **
  14  Prefactor     .10079E-03    33.057        .12022    ** at limit **
  15  Prefactor     .10000E-03    4.1887        .14707E-02** at limit **
  16  Normalizat    1.1452        .28509        .29463E-03    .30873E-03
  17  Prefactor     1.0284        .18781        .21158E-03    .77616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07396
  Prefactor  = 0.133981
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 10.7865
  norm       = 31.121
  norm       = 1.01541
  norm       = 0.671211
  norm       = 1.0198
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100789
  Prefactor  = 0.0001
  Normalizat = 1.14522
  Prefactor  = 1.0284
 **********
 **   18 **HESSE 
 **********

 FCN=   5483.518     FROM HESSE     STATUS=OK           231 CALLS     2116 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0740        22.041        .93394E-04   -1.5501    
   2  Prefactor     .13398        22.763        .91770E-01   -1.5635    
   3  Prefactor     .10000E-03    17.204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.414        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    62.528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.787        10.997        .48795E-05   -1.5051    
   8  norm          31.121        11.539        .14365E-04   -1.4592    
   9  norm          1.0154        2.2336        .77823E-04   -1.5506    
  10  norm          .67121        .77700        .26725E-05   -1.5544    
  11  norm          1.0198        1.0604        .29375E-04   -1.5506    
  12  norm          .10000E-03    10.053        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10079E-03    31.879        .12355       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.1900        .29414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1452        .28520        .58926E-04   -.88313    
  17  Prefactor     1.0284        .18796        .42316E-04   -.91789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59018e-09
Minuit parameter uncertainties:
  1  9.73432
  2  3.49278
  3  8.12286e-05
  4  0.00016189
  5  0.00113084
  6  1.96367e-05
  7  10.9993
  8  11.5403
  9  2.2338
  10  0.777013
  11  1.06039
  12  2.15276e-05
  13  2.83556e-05
  14  0.0100327
  15  2.40065e-06
  16  0.285584
  17  0.188079
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.020e+00  1.060e+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.028e+00  1.881e-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.145e+00  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 1.21e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.34e-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) = 5481.34717638
delta logL = 2.17120666094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5481.33287227
delta logL = 2.18551077821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14572       1.0000         .10000E-03   10000.    
     2 'alpha     '    .27733       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0290       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=   5481.333     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      227 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14555        .18790        .62635E-02   -.10099E-02
   2  alpha         .27667        .56456        .47638        .25649E-04
   3  Normalizat    1.1491        .22629        .66476E-01    .55311E-05
   4  Prefactor     1.0292        .15578        .41337E-01   -.82363E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.145549
  alpha      = 0.276675
  Normalizat = 1.1491
  Prefactor  = 1.02923
 **********
 **   18 **HESSE 
 **********

 FCN=   5481.333     FROM HESSE     STATUS=OK            35 CALLS      262 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14555        .34825        .24462E-03   -1.5632    
   2  alpha         .27667        .72928        .25645E-01   -1.0959    
   3  Normalizat    1.1491        .27001        .29409E-03   -.88191    
   4  Prefactor     1.0292        .18609        .21147E-03   -.91761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12606e-12
Minuit parameter uncertainties:
  1  0.348257
  2  0.790878
  3  0.27034
  4  0.186202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/577960': 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) = 5481.33287107
delta logL = 2.18551197279

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.455e-01  3.483e-01  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  2.767e-01  7.909e-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.029e+00  1.862e-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.149e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.57
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 0.28 +/- 0.79
Photon Flux (Free Index): 3.90e-09 +/- 3.93e-09
Energy Flux (Free Index): 1.36e-04 +/- 1.64e-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/577960/cmap_HighResolution_643420801_643680001_4FGL_J0953.0-0840_daily_bin1559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-08', energy_flux2='1.36e-04', photon_flux_error='1.26e-08', dlogl='2.19e+00', energy_flux='1.29e-05', photon_flux2='3.90e-09', job_status='DONE', time_completed='2021-09-01 06:06:33.322813', photon_index_error2='0.79', photon_index2='0.28', ts='4.20', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.64e-04', EG='1.15', time_epoch_completed='1630501593.32', return_code='0', job_id='577960', GAL2='1.03', EG2='1.15', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.93e-09', ts2='8.57', photon_index='1.80' WHERE bin_id='1559' AND source_name='4FGL J0953.0-0840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:06:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 577960: <4FGL_J0953.0-0840_daily_bin1559> in cluster <slac> Done

Job <4FGL_J0953.0-0840_daily_bin1559> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 05:55:30 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 05:55:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 05:55:31 2021
Terminated at Wed Sep  1 06:06:33 2021
Results reported at Wed Sep  1 06:06:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_daily_bin1559 148.263 -8.6695 643420801 643680001 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 :                                   492.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            663 sec.

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

