aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 80 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 = 7717
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1958.3-3010_daily_bin1675
RA = 299.581, Dec = -30.181
tmin = 673488001, tmax = 673747201
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='882887', job_status='RUN', time_executed='2022-05-09 01:23:18.211892', time_epoch_executed='1652084598.21' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882887

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882887/ft1_4FGL_J1958.3-3010_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882887/ft1_4FGL_J1958.3-3010_daily_bin1675.fits outfile=/scratch/kocevski/882887/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin1675.fits ra=299.581 dec=-30.181 rad=12.0 tmin=673488001.0 tmax=673747201.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.35
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.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/882887/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.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.34
sys 0.17

Number of photons that the gtmktime cut: 980

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/882887/ltcube_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.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/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits
.....................!
real 15.52
user 15.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/882887/ltcube_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits outfile=/scratch/kocevski/882887/expmap_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.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/882887/ltcube_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits
.....................!
real 192.36
user 186.45
sys 5.44

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 217 point sources and 0 extended sources

Setting source of interest to:
4FGL J1958.3-3010 @ 299.581 -30.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits outfile=/scratch/kocevski/882887/cmap_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.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=299.581 yref=-30.181 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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits outfile=/scratch/kocevski/882887/cmap_HighResolution_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.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=299.581 yref=-30.181 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882887/Model_4FGL_J1958.3-3010_daily_bin1675.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/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits....................!
real 90.08
user 88.63
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits', '/scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits', expMap='/scratch/kocevski/882887/expmap_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits', expCube='/scratch/kocevski/882887/ltcube_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882887/Model_4FGL_J1958.3-3010_daily_bin1675.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1958.3-3010'

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  6.150e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/882887/ft1_filtered_4FGL_J1958.3-3010_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/882887/ft2_4FGL_J1958.3-3010_daily_bin1675.fits
Exposure map: /scratch/kocevski/882887/expmap_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits
Exposure cube: /scratch/kocevski/882887/ltcube_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882887/Model_4FGL_J1958.3-3010_daily_bin1675.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) = 10284.0513547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11723E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .38546       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6320       1.0000         .10000E-03   10000.    
     8 'norm      '    30.131       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10937E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.560       1.0000         .10000E-03   10000.    
    13 'norm      '    8.0124       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.326       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7160       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1427       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10284.04     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1590 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.3290        .11952E-06** at limit **
   2  Prefactor     1.5845        3.1879       -.16223E-05   -.10722E-03
   3  Prefactor     .10000E-03    77.266       -.10890E-06** at limit **
   4  Prefactor     .34880        176.06       -.64137E-04    .34302E-04
   5  Prefactor     .10000E-03    18.326        .38264E-06** at limit **
   6  norm          .10000E-03    15.705       -.23517E-06** at limit **
   7  Prefactor     3.6311        6.1666       -.14901E-05    .13578E-03
   8  norm          30.130        3.2131        .79138E-07    .43858E-03
   9  Prefactor     .10000E-03    11.756        .19600E-06** at limit **
  10  Prefactor     .10000E-03    10.134        .27741E-06** at limit **
  11  norm          .10000E-03    3.8696        .15750E-06** at limit **
  12  Prefactor     10.665        71.710       -.40237E-05   -.91573E-04
  13  norm          8.0153        11.091       -.51505E-06    .14153E-03
  14  Prefactor     26.324        55.402        .31319E-05    .13839E-03
  15  Prefactor     1.7176        6.1949       -.47943E-05    .10846E-03
  16  Normalizat    1.1427        .32792        .46147E-05    .37942E-03
  17  Prefactor     1.1174        .96114E-01   -.21232E-06    .42525E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.58452
  Prefactor  = 0.0001
  Prefactor  = 0.348803
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.63113
  norm       = 30.1301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.6649
  norm       = 8.01533
  Prefactor  = 26.3236
  Prefactor  = 1.71761
  Normalizat = 1.14274
  Prefactor  = 1.11735
 **********
 **   18 **HESSE 
 **********

 FCN=   10284.04     FROM HESSE     STATUS=OK           225 CALLS     1815 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.3445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5845        3.1619        .25017E-03   -1.5456    
   3  Prefactor     .10000E-03    77.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .34880        13.694        .95741E-01   -1.5590    
   5  Prefactor     .10000E-03    18.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    15.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6311        6.1511        .21199E-03   -1.5327    
   8  norm          30.130        3.2009        .55790E-04   -1.4610    
   9  Prefactor     .10000E-03    11.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.8792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.665        71.354        .12329E-03   -1.5055    
  13  norm          8.0153        11.093        .14165E-03   -1.5142    
  14  Prefactor     26.324        55.528        .78076E-04   -1.4681    
  15  Prefactor     1.7176        6.2160        .32078E-03   -1.5446    
  16  Normalizat    1.1427        .37031        .54476E-03   -.88391    
  17  Prefactor     1.1174        .10968        .16924E-03   -.88914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80118e-09
Minuit parameter uncertainties:
  1  1.06284e-05
  2  3.16222
  3  0.000214906
  4  4.37144
  5  4.82137e-06
  6  4.69809e-05
  7  6.15221
  8  3.20092
  9  2.80981e-05
  10  3.04813e-05
  11  1.065e-05
  12  55.2673
  13  11.0962
  14  55.6377
  15  6.21835
  16  0.371158
  17  0.109706
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.000e-04  2.810e-05  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  1.117e+00  1.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.143e+00  3.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.581 -30.181
Photon Flux Upper Limit: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882887/likelihoodResults_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.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): 102
logL (Free Index) = 10284.0412302
delta logL = -0.000404932754464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10284.0408256
delta logL = -4.12321242038e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10695E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8294       1.0000          .0000       10.000    
     3 'Normalizat'    1.1425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1174       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10284.04     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10066E-03    79.359        .18142E-02** at limit **
   2  Index         1.7908        6.7208        .50000        .10709E-04
   3  Normalizat    1.1427        .19866E-01    .54476E-03    .36730E-05
   4  Prefactor     1.1174        .61634E-02    .16924E-03    .12495E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100661
  Index      = 1.79079
  Normalizat = 1.14273
  Prefactor  = 1.11736
 **********
 **   18 **HESSE 
 **********

 FCN=   10284.04     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10066E-03    386.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7908        7.3867        .50000       -.69690    
   3  Normalizat    1.1427        .45317E-01    .21790E-04   -.88392    
   4  Prefactor     1.1174        .14058E-01    .67694E-05   -.88914    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24544e-08
Minuit parameter uncertainties:
  1  0.0321661
  2  502.016
  3  0.0453185
  4  0.014058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882887': 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): 102
logL (Free Index) = 10284.0408251
delta logL = 1.50186679093e-07

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.007e-04  3.217e-02  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.791e+00  5.020e+02  0.000e+00  1.000e+01 (-1.000e+00)
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  1.117e+00  1.406e-02  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.143e+00  4.532e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 299.581 -30.181

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/882887/cmap_HighResolution_673488001_673747201_4FGL_J1958.3-3010_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2022-05-09 01:36:47.083146', job_id='882887', GAL2='1.12', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1652085407.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1675' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:36:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 882887: <4FGL_J1958.3-3010_daily_bin1675> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 01:20:32 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:21:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:21:48 2022
Terminated at Mon May  9 01:36:47 2022
Results reported at Mon May  9 01:36:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin1675 299.581 -30.181 673488001 673747201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1958.3-3010 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   810.25 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            975 sec.

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

