/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 193 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0953.0-0840_daily_bin188
RA = 148.263, Dec = -8.6695
tmin = 288057601, tmax = 288316801
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='567272', job_status='RUN', time_executed='2021-09-01 05:29:22.295564', time_epoch_executed='1630499362.3' WHERE source_name='4FGL J0953.0-0840' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/567272

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/567272/ft1_4FGL_J0953.0-0840_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/567272/ft1_4FGL_J0953.0-0840_daily_bin188.fits outfile=/scratch/kocevski/567272/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin188.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=288057601.0 tmax=288316801.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.59
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.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/567272/ft1_filteredMKT_4FGL_J0953.0-0840_daily_bin188.fits evtable="EVENTS" outfile="/scratch/kocevski/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits" evtable="EVENTS" scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits sctable="SC_DATA" outfile=/scratch/kocevski/567272/ltcube_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.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/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits
.....................!
real 11.94
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/567272/ltcube_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.fits outfile=/scratch/kocevski/567272/expmap_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.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/567272/ltcube_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.fits
.....................!
real 190.09
user 185.45
sys 4.28

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/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits outfile=/scratch/kocevski/567272/cmap_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits outfile=/scratch/kocevski/567272/cmap_HighResolution_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.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/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/567272/ft2_4FGL_J0953.0-0840_daily_bin188.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/567272/Model_4FGL_J0953.0-0840_daily_bin188.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/567272/ft1_filtered_4FGL_J0953.0-0840_daily_bin188.fits.....................!
real 64.65
user 63.11
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.022       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    83.879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.975       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.022       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.814       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5188       1.0000         .10000E-03   10000.    
     9 'norm      '    .35682       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .77122       1.0000         .10000E-03   10000.    
    12 'norm      '    16.814       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.845       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98335       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90518       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=   6254.081     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1626 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.022        9.1322       -.32771E-08   -.38349E-05
   2  Prefactor     3.3118        9.3944        .37605E-06   -.18754E-04
   3  Prefactor     83.881        42.521       -.22926E-06   -.10379E-04
   4  Prefactor     14.978        17.208       -.11291E-06   -.21205E-04
   5  Prefactor     12.989        31.608       -.91941E-06   -.77504E-04
   6  Prefactor     29.820        27.923       -.16002E-06    .67741E-05
   7  Prefactor     .10000E-03    7.5397        .19514E-06** at limit **
   8  norm          1.5174        4.1602        .74032E-06   -.94070E-05
   9  norm          .35627        2.4015        .16285E-05   -.25541E-04
  10  norm          .10000E-03    .18757        .10141E-06** at limit **
  11  norm          .77148        1.8187        .43889E-06   -.87304E-04
  12  norm          16.815        11.681       -.38683E-07   -.45755E-04
  13  Prefactor     .10000E-03    54.942       -.36804E-06** at limit **
  14  Prefactor     37.830        37.627       -.25893E-06   -.44872E-04
  15  Prefactor     .10000E-03    5.9298        .16811E-06** at limit **
  16  Normalizat    .98311        .20342        .12653E-05   -.15857E-03
  17  Prefactor     .90534        .13584       -.13047E-05   -.19293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0224
  Prefactor  = 3.31176
  Prefactor  = 83.8807
  Prefactor  = 14.9776
  Prefactor  = 12.9893
  Prefactor  = 29.8204
  Prefactor  = 0.0001
  norm       = 1.5174
  norm       = 0.356274
  norm       = 0.0001
  norm       = 0.771478
  norm       = 16.8152
  Prefactor  = 0.0001
  Prefactor  = 37.8299
  Prefactor  = 0.0001
  Normalizat = 0.983107
  Prefactor  = 0.905338
 **********
 **   18 **HESSE 
 **********

 FCN=   6254.081     FROM HESSE     STATUS=OK           229 CALLS     1855 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.022        9.1322        .10334E-03   -1.4933    
   2  Prefactor     3.3118        9.3704        .22250E-03   -1.5344    
   3  Prefactor     83.881        42.532        .43860E-04   -1.3874    
   4  Prefactor     14.978        17.230        .10350E-03   -1.4934    
   5  Prefactor     12.989        31.731        .11100E-03   -1.4987    
   6  Prefactor     29.820        27.858        .73376E-04   -1.4615    
   7  Prefactor     .10000E-03    7.5738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5174        4.1157        .25566E-03   -1.5462    
   9  norm          .35627        2.4118        .24056E-03   -1.5589    
  10  norm          .10000E-03    .23864        .66261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .77148        1.7941        .15624E-03   -1.5532    
  12  norm          16.815        11.682        .97676E-04   -1.4888    
  13  Prefactor     .10000E-03    55.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.830        37.739        .65150E-04   -1.4477    
  15  Prefactor     .10000E-03    6.0934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .98311        .22916        .27812E-03   -.93599    
  17  Prefactor     .90534        .15233        .20008E-03   -.95955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53289e-10
Minuit parameter uncertainties:
  1  9.13307
  2  9.37454
  3  42.5472
  4  17.2355
  5  31.7724
  6  27.87
  7  1.0792e-07
  8  4.11647
  9  1.85378
  10  1.03462e-06
  11  1.79424
  12  11.6835
  13  5.60849e-05
  14  37.7633
  15  1.94184e-07
  16  0.229386
  17  0.1524
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  7.715e-01  1.794e+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.053e-01  1.524e-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.831e-01  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 148.263 -8.669
Photon Flux Upper Limit: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/567272/likelihoodResults_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.txt

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) = 6253.84212019
delta logL = 0.238740185097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6253.70760455
delta logL = 0.373255820294

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15390       1.0000         .10000E-03   10000.    
     2 'alpha     '    .46735       1.0000          .0000       5.0000    
     3 'Normalizat'    .97671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91293       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6253.708     FROM MIGRAD    STATUS=FAILED        97 CALLS      268 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15326        .50171        .55190E-03   -.12934E-03
   2  alpha         .46615        .98656        .33280E-01   -.21525E-03
   3  Normalizat    .97656        .21593        .27879E-03    .50157E-05
   4  Prefactor     .91304        .15064        .19929E-03    .22818E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6253.708     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      343 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15326        .50171        .54400E-04   -1.5630    
   2  alpha         .46615        .98656        .33524E-02   -.95021    
   3  Normalizat    .97656        .21593        .38425E-03   -.93820    
   4  Prefactor     .91304        .15064        .28624E-03   -.95687    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6253.708     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      378 TOTAL
                     EDM=   .91E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15326        .51000        .22076E-04    .10300E-05
   2  alpha         .46615        .99914        .66560E-02   -.41335E-06
   3  Normalizat    .97656        .21611        .11152E-04    .40778E-07
   4  Prefactor     .91304        .15077        .79717E-05    .57045E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 0.153262
  alpha      = 0.466151
  Normalizat = 0.976557
  Prefactor  = 0.913041
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.708     FROM HESSE     STATUS=OK            25 CALLS      403 TOTAL
                     EDM=   .30E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15326        .54956        .88304E-06   -1.5630    
   2  alpha         .46615        1.0594        .26624E-03   -.95021    
   3  Normalizat    .97656        .21611        .11152E-04   -.93820    
   4  Prefactor     .91304        .15077        .79717E-05   -.95687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97414e-15
Minuit parameter uncertainties:
  1  0.549577
  2  1.18693
  3  0.216304
  4  0.150843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/567272': 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) = 6253.70760359
delta logL = 0.373256784639

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.533e-01  5.496e-01  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  4.662e-01  1.187e+00  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.130e-01  1.508e-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.766e-01  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 148.263 -8.669

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/567272/cmap_HighResolution_288057601_288316801_4FGL_J0953.0-0840_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.62e-05', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2021-09-01 05:38:29.433923', job_id='567272', GAL2='0.91', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630499909.43', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.73e-01', ts2='0.96', photon_index_error='0.00', photon_index='1.80' WHERE bin_id='188' AND source_name='4FGL J0953.0-0840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 05:38:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 567272: <4FGL_J0953.0-0840_daily_bin188> in cluster <slac> Done

Job <4FGL_J0953.0-0840_daily_bin188> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  1 05:25:47 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 05:25:49 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:25:49 2021
Terminated at Wed Sep  1 05:38:30 2021
Results reported at Wed Sep  1 05:38:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_daily_bin188 148.263 -8.6695 288057601 288316801 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 :                                   542.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             256.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

