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

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


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


Performing analysis on: 4FGL_J0953.0-0840_weekly_bin630
RA = 148.263, Dec = -8.6695
tmin = 620006401, tmax = 620611201
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='105568', job_status='RUN', time_executed='2021-07-16 06:31:52.567066', time_epoch_executed='1626442312.57' WHERE source_name='4FGL J0953.0-0840' and cadence='weekly' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105568

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105568/ft1_4FGL_J0953.0-0840_weekly_bin630.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105568/ft1_4FGL_J0953.0-0840_weekly_bin630.fits outfile=/scratch/kocevski/105568/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin630.fits ra=148.263 dec=-8.6695 rad=12.0 tmin=620006401.0 tmax=620611201.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 8.87
user 8.44
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.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/105568/ft1_filteredMKT_4FGL_J0953.0-0840_weekly_bin630.fits evtable="EVENTS" outfile="/scratch/kocevski/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.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.36
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/105568/ltcube_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.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/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits
.....................!
real 32.44
user 31.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/105568/ltcube_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.fits outfile=/scratch/kocevski/105568/expmap_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.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/105568/ltcube_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.fits
.....................!
real 192.64
user 186.31
sys 5.93

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/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits outfile=/scratch/kocevski/105568/cmap_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits outfile=/scratch/kocevski/105568/cmap_HighResolution_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/105568/ft2_4FGL_J0953.0-0840_weekly_bin630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105568/Model_4FGL_J0953.0-0840_weekly_bin630.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/105568/ft1_filtered_4FGL_J0953.0-0840_weekly_bin630.fits.....................!
real 121.42
user 118.91
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4839       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1336       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.8044       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1417       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11360E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.827       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8937       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1386       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0308       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=   13072.83     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1608 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8737        .48903E-07** at limit **
   2  Prefactor     .10000E-03    2.9132        .23048E-07** at limit **
   3  Prefactor     .10000E-03    8.6534        .12752E-07** at limit **
   4  Prefactor     6.4864        10.781       -.52239E-07   -.39535E-04
   5  Prefactor     4.1339        28.151        .89123E-05   -.11475E-03
   6  Prefactor     .10000E-03    20.800        .69741E-07** at limit **
   7  Prefactor     .10000E-03    2.2128        .42591E-07** at limit **
   8  norm          5.8054        4.3530        .27838E-07   -.45380E-05
   9  norm          .10000E-03    .68473       -.91297E-08** at limit **
  10  norm          .10000E-03    .23693        .32350E-07** at limit **
  11  norm          1.1418        .97546        .96613E-08   -.52089E-05
  12  norm          .10000E-03    2.4079        .53734E-07** at limit **
  13  Prefactor     .10000E-03    55.700       -.98609E-06** at limit **
  14  Prefactor     61.802        33.776       -.29450E-05   -.41838E-03
  15  Prefactor     2.8938        4.4925        .73563E-06    .38883E-04
  16  Normalizat    1.1385        .14969        .88300E-06   -.16966E-03
  17  Prefactor     1.0309        .99333E-01   -.78865E-06    .84671E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.48645
  Prefactor  = 4.13386
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.80535
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.1418
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 61.8024
  Prefactor  = 2.89377
  Normalizat = 1.13852
  Prefactor  = 1.0309
 **********
 **   18 **HESSE 
 **********

 FCN=   13072.83     FROM HESSE     STATUS=OK           221 CALLS     1829 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4864        10.782        .15761E-03   -1.5199    
   5  Prefactor     4.1339        31.174        .99131E-03   -1.5301    
   6  Prefactor     .10000E-03    21.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2154        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8054        4.3465        .16670E-03   -1.5226    
   9  norm          .10000E-03    .68874        .92381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .69749        .10623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1418        .97588        .10134E-03   -1.5494    
  12  norm          .10000E-03    2.4416        .17325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.802        36.339        .51031E-04   -1.4134    
  15  Prefactor     2.8938        4.4963        .23889E-03   -1.5368    
  16  Normalizat    1.1385        .17682        .28599E-03   -.88524    
  17  Prefactor     1.0309        .11765        .20585E-03   -.91706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20402e-10
Minuit parameter uncertainties:
  1  3.97286e-06
  2  1.65525e-06
  3  5.2374e-06
  4  10.7857
  5  22.7204
  6  1.87089e-05
  7  3.44968e-07
  8  4.34678
  9  1.04275e-06
  10  8.22308e-07
  11  0.975897
  12  1.10857e-08
  13  0.000382115
  14  36.3516
  15  4.49682
  16  0.176909
  17  0.117678
Done.

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

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.142e+00  9.759e-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.031e+00  1.177e-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.139e+00  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 148.263 -8.669
Photon Index (Fixed Index): 1.80 +/- 0.00
Photon Flux (Fixed Index): 1.36e-08 +/- 1.16e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.24e-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) = 13072.8147964
delta logL = 0.0178321046933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13072.8142381
delta logL = 0.0183903136331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1729       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9286       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0310       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=   13072.81     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      200 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1729        24.543        .10584E-01    .11210E-02
   2  alpha         1.9292        3.0645        .42600        .75342E-05
   3  Normalizat    1.1363        .66925E-01    .64704E-01    .56769E-04
   4  Prefactor     1.0310        .34642E-01    .41177E-01    .62640E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17293
  alpha      = 1.92925
  Normalizat = 1.13628
  Prefactor  = 1.03104
 **********
 **   18 **HESSE 
 **********

 FCN=   13072.81     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1729        .97602        .99974E-04   -1.5491    
   2  alpha         1.9292        .64833        .21731E-01   -.23033    
   3  Normalizat    1.1363        .16914        .28623E-03   -.88595    
   4  Prefactor     1.0310        .11689        .20583E-03   -.91702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97718e-11
Minuit parameter uncertainties:
  1  0.976028
  2  0.656254
  3  0.169216
  4  0.116919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105568': 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) = 13072.8142377
delta logL = 0.0183907858645

Extracting fit parameters...

4FGL J0953.0-0840
   Spectrum: LogParabola
241         norm:  1.173e+00  9.760e-01  1.000e-04  1.000e+04 ( 1.000e-12)
242        alpha:  1.929e+00  6.563e-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.031e+00  1.169e-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.136e+00  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 148.263 -8.669
Photon Index (Free Index): 1.93 +/- 0.66
Photon Flux (Free Index): 1.67e-08 +/- 2.14e-08
Energy Flux (Free Index): 1.30e-05 +/- 1.29e-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/105568/cmap_HighResolution_620006401_620611201_4FGL_J0953.0-0840_weekly_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-08', energy_flux2='1.30e-05', photon_flux_error='1.16e-08', dlogl='1.84e-02', energy_flux='1.45e-05', photon_flux2='1.67e-08', job_status='DONE', time_completed='2021-07-16 06:44:54.870131', photon_index_error2='0.66', photon_index2='1.93', ts='4.12', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.14', time_epoch_completed='1626443094.87', return_code='0', job_id='105568', GAL2='1.03', EG2='1.14', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.14e-08', ts2='4.16', photon_index='1.80' WHERE bin_id='630' AND source_name='4FGL J0953.0-0840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 06:44:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 105568: <4FGL_J0953.0-0840_weekly_bin630> in cluster <slac> Done

Job <4FGL_J0953.0-0840_weekly_bin630> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Jul 16 06:30:25 2021
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 06:31:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 06:31:35 2021
Terminated at Fri Jul 16 06:44:55 2021
Results reported at Fri Jul 16 06:44:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0953.0-0840_weekly_bin630 148.263 -8.6695 620006401 620611201 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 :                                   766.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            870 sec.

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

