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


Performing analysis on: 4FGL_J0953.0-0840_daily_bin1618
RA = 148.263, Dec = -8.6695
tmin = 658713601, tmax = 658972801
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='288850', job_status='RUN', time_executed='2021-12-07 20:37:11.732360', time_epoch_executed='1638938231.73' WHERE source_name='4FGL J0953.0-0840' and cadence='daily' and bin_id='1618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288850/ft1_4FGL_J0953.0-0840_daily_bin1618.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288850/ft1_4FGL_J0953.0-0840_daily_bin1618.fits outfile=/scratch/kocevski/288850/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin1618.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=658713601.0 tmax=658972801.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.57
user 2.36
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits" evtable="EVENTS" scfile=/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits sctable="SC_DATA" outfile=/scratch/kocevski/288850/ltcube_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.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/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits
.....................!
real 11.70
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits evtable="EVENTS" scfile=/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits sctable="SC_DATA" expcube=/scratch/kocevski/288850/ltcube_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.fits outfile=/scratch/kocevski/288850/expmap_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.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/288850/ltcube_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.fits
.....................!
real 156.17
user 151.64
sys 4.19

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/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits scfile=/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits outfile=/scratch/kocevski/288850/cmap_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.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.47
user 0.32
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits scfile=/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits outfile=/scratch/kocevski/288850/cmap_HighResolution_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits evtable="EVENTS" scfile=/scratch/kocevski/288850/ft2_4FGL_J0953.0-0840_daily_bin1618.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/288850/Model_4FGL_J0953.0-0840_daily_bin1618.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/288850/ft1_filtered_4FGL_J0953.0-0840_daily_bin1618.fits.....................!
real 62.80
user 61.54
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.083       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.397       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.067       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1983       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.441       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0784       1.0000         .10000E-03   10000.    
     8 'norm      '    10.235       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1864       1.0000         .10000E-03   10000.    
    10 'norm      '    .28894       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8628       1.0000         .10000E-03   10000.    
    12 'norm      '    16.103       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9379       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6952       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .94560       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0608       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=   7930.861     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1569 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.083        9.1050       -.11522E-06   -.32984E-05
   2  Prefactor     12.400        15.398        .45508E-05    .11509E-04
   3  Prefactor     17.060        28.702       -.14902E-04    .93955E-07
   4  Prefactor     .10000E-03    3.1366        .13133E-07** at limit **
   5  Prefactor     7.1949        22.103       -.10282E-04   -.17366E-04
   6  Prefactor     32.438        34.466       -.56268E-05    .15960E-05
   7  Prefactor     5.0791        15.958        .16948E-05   -.56185E-04
   8  norm          10.235        7.1697        .42026E-06   -.39384E-04
   9  norm          2.1867        3.1493       -.27820E-06   -.56929E-03
  10  norm          .28884        .47182       -.25929E-06   -.27331E-02
  11  norm          3.8628        2.0698       -.25884E-07   -.14206E-03
  12  norm          16.103        9.9749       -.37004E-06   -.10572E-04
  13  Prefactor     .10000E-03    14.345        .16747E-07** at limit **
  14  Prefactor     7.9373        21.477       -.16916E-05   -.14025E-04
  15  Prefactor     7.6952        5.3348       -.78511E-07   -.16314E-03
  16  Normalizat    .94558        .18378        .19119E-05    .31274E-04
  17  Prefactor     1.0608        .12483        .31004E-06    .13422E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0826
  Prefactor  = 12.3995
  Prefactor  = 17.0599
  Prefactor  = 0.0001
  Prefactor  = 7.19493
  Prefactor  = 32.438
  Prefactor  = 5.07913
  norm       = 10.2354
  norm       = 2.18667
  norm       = 0.288842
  norm       = 3.8628
  norm       = 16.1032
  Prefactor  = 0.0001
  Prefactor  = 7.93727
  Prefactor  = 7.69524
  Normalizat = 0.945584
  Prefactor  = 1.06082
 **********
 **   18 **HESSE 
 **********

 FCN=   7930.861     FROM HESSE     STATUS=OK           233 CALLS     1802 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.083        9.1048        .99872E-04   -1.4906    
   2  Prefactor     12.400        15.355        .11377E-03   -1.5004    
   3  Prefactor     17.060        28.535        .96949E-04   -1.4882    
   4  Prefactor     .10000E-03    3.1403        .15403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1949        22.132        .14951E-03   -1.5171    
   6  Prefactor     32.438        34.389        .70351E-04   -1.4568    
   7  Prefactor     5.0791        15.883        .17842E-03   -1.5257    
   8  norm          10.235        7.1591        .12525E-03   -1.5068    
   9  norm          2.1867        3.1378        .18257E-03   -1.5412    
  10  norm          .28884        .45607        .72913E-04   -1.5600    
  11  norm          3.8628        2.0657        .90076E-04   -1.5315    
  12  norm          16.103        9.9760        .99807E-04   -1.4905    
  13  Prefactor     .10000E-03    14.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9373        21.502        .14231E-03   -1.5144    
  15  Prefactor     7.6952        5.3380        .14456E-03   -1.5153    
  16  Normalizat    .94558        .21027        .29695E-03   -.94876    
  17  Prefactor     1.0608        .14473        .20272E-03   -.90729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92852e-10
Minuit parameter uncertainties:
  1  9.10554
  2  15.3601
  3  28.5579
  4  1.49353e-06
  5  22.1569
  6  34.4104
  7  15.8964
  8  7.15971
  9  3.13804
  10  0.456074
  11  2.0657
  12  9.97699
  13  7.14275e-06
  14  21.5225
  15  5.33838
  16  0.210455
  17  0.144782
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  3.863e+00  2.066e+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.061e+00  1.448e-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.456e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 4.59e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 4.89e-05 +/- 2.62e-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) = 7929.47139263
delta logL = 1.38986187219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7929.4695371
delta logL = 1.3917173988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0916       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5753       1.0000          .0000       5.0000    
     3 'Normalizat'    .89175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0820       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=   7929.470     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0916        13.335        .71359E-02    .33295E-03
   2  alpha         2.5753        3.6100        .19766        .11542E-03
   3  Normalizat    .89172        .75403E-01    .68842E-01    .38641E-04
   4  Prefactor     1.0821        .47516E-01    .38312E-01   -.21127E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09161
  alpha      = 2.5753
  Normalizat = 0.89172
  Prefactor  = 1.08206
 **********
 **   18 **HESSE 
 **********

 FCN=   7929.470     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0916        2.0317        .54301E-04   -1.5419    
   2  alpha         2.5753        .57134        .78633E-02    .30126E-01
   3  Normalizat    .89172        .20337        .30457E-03   -.96752    
   4  Prefactor     1.0821        .14521        .20081E-03   -.90042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65722e-11
Minuit parameter uncertainties:
  1  2.03173
  2  0.576436
  3  0.203546
  4  0.145266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288850': 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) = 7929.46953707
delta logL = 1.39171742532

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  2.092e+00  2.032e+00  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  2.575e+00  5.764e-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.082e+00  1.453e-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:  8.917e-01  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.58
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 2.58 +/- 0.58
Photon Flux (Free Index): 9.13e-08 +/- 4.58e-08
Energy Flux (Free Index): 2.60e-05 +/- 1.39e-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/288850/cmap_HighResolution_658713601_658972801_4FGL_J0953.0-0840_daily_bin1618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.59e-08', energy_flux2='2.60e-05', photon_flux_error='2.46e-08', dlogl='1.39e+00', energy_flux='4.89e-05', photon_flux2='9.13e-08', job_status='DONE', time_completed='2021-12-07 20:44:42.947950', photon_index_error2='0.58', photon_index2='2.58', ts='6.79', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='0.95', time_epoch_completed='1638938682.95', return_code='0', job_id='288850', GAL2='1.08', EG2='0.89', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='4.58e-08', ts2='9.58', photon_index='1.80' WHERE bin_id='1618' AND source_name='4FGL J0953.0-0840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 20:44:42 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 288850: <4FGL_J0953.0-0840_daily_bin1618> in cluster <slac> Done

Job <4FGL_J0953.0-0840_daily_bin1618> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 20:35:22 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 20:37:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 20:37:03 2021
Terminated at Tue Dec  7 20:44:43 2021
Results reported at Tue Dec  7 20:44:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_daily_bin1618 148.263 -8.6695 658713601 658972801 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 :                                   450.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   462 sec.
    Turnaround time :                            561 sec.

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

