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


Performing analysis on: 4FGL_J0953.0-0840_daily_bin1380
RA = 148.263, Dec = -8.6695
tmin = 597024001, tmax = 597283201
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='576411', job_status='RUN', time_executed='2021-09-01 05:54:48.490117', time_epoch_executed='1630500888.49' WHERE source_name='4FGL J0953.0-0840' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/576411

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/576411/ft1_4FGL_J0953.0-0840_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/576411/ft1_4FGL_J0953.0-0840_daily_bin1380.fits outfile=/scratch/kocevski/576411/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin1380.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=597024001.0 tmax=597283201.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.70
user 3.37
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/576411/ltcube_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.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/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits
.....................!
real 12.67
user 12.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/576411/ltcube_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.fits outfile=/scratch/kocevski/576411/expmap_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.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/576411/ltcube_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.fits
.....................!
real 191.52
user 185.98
sys 4.77

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/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits scfile=/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits outfile=/scratch/kocevski/576411/cmap_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits scfile=/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits outfile=/scratch/kocevski/576411/cmap_HighResolution_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/576411/ft2_4FGL_J0953.0-0840_daily_bin1380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/576411/Model_4FGL_J0953.0-0840_daily_bin1380.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/576411/ft1_filtered_4FGL_J0953.0-0840_daily_bin1380.fits.....................!
real 76.29
user 74.38
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0652       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11631E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .92295       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0718       1.0000         .10000E-03   10000.    
    12 'norm      '    .96659       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4031       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0215       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0244       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=   7567.095     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1342 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0662        6.8740        .88133E-06   -.89793E-03
   2  Prefactor     .10000E-03    11.583        .14614E-05** at limit **
   3  Prefactor     .10000E-03    7.0733        .39548E-07** at limit **
   4  Prefactor     .10000E-03    10.164       -.17994E-05** at limit **
   5  Prefactor     .10000E-03    11.837        .12600E-05** at limit **
   6  Prefactor     .10000E-03    10.989        .15269E-05** at limit **
   7  Prefactor     .10000E-03    28.461       -.36754E-05** at limit **
   8  norm          .10000E-03    1.4548       -.49810E-07** at limit **
   9  norm          .10000E-03    1.9305        .55518E-07** at limit **
  10  norm          .92300        .60432        .20622E-07   -.17556E-03
  11  norm          1.0718        .92965        .96195E-08    .76107E-04
  12  norm          .96613        8.1756       -.52933E-06   -.40900E-03
  13  Prefactor     .10000E-03    21.607        .55532E-05** at limit **
  14  Prefactor     .10000E-03    14.260       -.47460E-05** at limit **
  15  Prefactor     7.4034        6.3962        .87159E-06   -.11578E-02
  16  Normalizat    1.0214        .17336       -.32920E-06    .66773E-04
  17  Prefactor     1.0244        .12267       -.13175E-08    .85579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.06622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.923
  norm       = 1.07184
  norm       = 0.966129
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 7.40342
  Normalizat = 1.02137
  Prefactor  = 1.02445
 **********
 **   18 **HESSE 
 **********

 FCN=   7567.095     FROM HESSE     STATUS=OK           219 CALLS     1561 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0662        7.6174        .81514E-03   -1.5215    
   2  Prefactor     .10000E-03    11.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.0760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.199        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.4572        .10246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0037        .23598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .92300        .59098        .52059E-04   -1.5516    
  11  norm          1.0718        .94755        .76126E-04   -1.5501    
  12  norm          .96613        10.449        .52188E-02   -1.5511    
  13  Prefactor     .10000E-03    22.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4034        7.3030        .73703E-03   -1.5164    
  16  Normalizat    1.0214        .20719        .27678E-03   -.92318    
  17  Prefactor     1.0244        .14655        .19670E-03   -.91919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37327e-07
Minuit parameter uncertainties:
  1  7.61865
  2  5.11997e-05
  3  8.15707e-07
  4  6.36417e-05
  5  5.10455e-05
  6  6.16516e-05
  7  0.000174199
  8  3.18654e-07
  9  5.08947e-07
  10  0.590988
  11  0.947565
  12  6.35572
  13  0.000301469
  14  0.000215859
  15  7.30392
  16  0.207358
  17  0.14661
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.072e+00  9.476e-01  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.024e+00  1.466e-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.021e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.01
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 1.27e-08 +/- 1.13e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.20e-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) = 7565.90519138
delta logL = 1.18985184525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7565.88546915
delta logL = 1.20957407435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84165       1.0000         .10000E-03   10000.    
     2 'alpha     '    .98691       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0237       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=   7565.885     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84122        .66957        .12594E-01   -.39313E-03
   2  alpha         .98690        .36847        .36470       -.40886E-04
   3  Normalizat    1.0256        .17064        .62447E-01    .14023E-04
   4  Prefactor     1.0237        .12206        .41791E-01    .33709E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.841218
  alpha      = 0.986904
  Normalizat = 1.0256
  Prefactor  = 1.02372
 **********
 **   18 **HESSE 
 **********

 FCN=   7565.885     FROM HESSE     STATUS=OK            35 CALLS      248 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84122        .87137        .60562E-03   -1.5525    
   2  alpha         .98690        .48422        .15449E-01   -.65007    
   3  Normalizat    1.0256        .20335        .27619E-03   -.92178    
   4  Prefactor     1.0237        .14561        .19669E-03   -.91943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71574e-09
Minuit parameter uncertainties:
  1  0.871384
  2  0.489125
  3  0.203502
  4  0.14567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/576411': 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) = 7565.88546893
delta logL = 1.20957429339

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  8.412e-01  8.714e-01  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  9.869e-01  4.891e-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.024e+00  1.457e-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.026e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.43
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 0.99 +/- 0.49
Photon Flux (Free Index): 6.58e-09 +/- 5.76e-09
Energy Flux (Free Index): 7.08e-05 +/- 8.27e-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/576411/cmap_HighResolution_597024001_597283201_4FGL_J0953.0-0840_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-08', energy_flux2='7.08e-05', photon_flux_error='1.13e-08', dlogl='1.21e+00', energy_flux='1.36e-05', photon_flux2='6.58e-09', job_status='DONE', time_completed='2021-09-01 06:03:58.442790', photon_index_error2='0.49', photon_index2='0.99', ts='6.01', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='8.27e-05', EG='1.02', time_epoch_completed='1630501438.44', return_code='0', job_id='576411', GAL2='1.02', EG2='1.03', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='5.76e-09', ts2='8.43', photon_index='1.80' WHERE bin_id='1380' AND source_name='4FGL J0953.0-0840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:03:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 576411: <4FGL_J0953.0-0840_daily_bin1380> in cluster <slac> Done

Job <4FGL_J0953.0-0840_daily_bin1380> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 05:50:59 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 05:51:01 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:51:01 2021
Terminated at Wed Sep  1 06:03:59 2021
Results reported at Wed Sep  1 06:03:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_daily_bin1380 148.263 -8.6695 597024001 597283201 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 :                                   524.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

