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 126 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1958.3-3010_daily_bin1718
RA = 299.581, Dec = -30.181
tmin = 684633601, tmax = 684892801
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='216434', job_status='RUN', time_executed='2022-09-16 22:23:22.461790', time_epoch_executed='1663392202.46' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216434/ft1_4FGL_J1958.3-3010_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216434/ft1_4FGL_J1958.3-3010_daily_bin1718.fits outfile=/scratch/kocevski/216434/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin1718.fits ra=299.581 dec=-30.181 rad=12.0 tmin=684633601.0 tmax=684892801.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.27
user 3.07
sys 0.18

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

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

Number of photons that the gtmktime cut: 783

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/216434/ltcube_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.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/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits
.....................!
real 15.48
user 15.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/216434/ltcube_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits outfile=/scratch/kocevski/216434/expmap_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.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/216434/ltcube_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits
.....................!
real 192.13
user 185.68
sys 5.73

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/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits scfile=/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits outfile=/scratch/kocevski/216434/cmap_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits scfile=/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits outfile=/scratch/kocevski/216434/cmap_HighResolution_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216434/Model_4FGL_J1958.3-3010_daily_bin1718.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/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits.....................!
real 76.03
user 74.46
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits', '/scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits', expMap='/scratch/kocevski/216434/expmap_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits', expCube='/scratch/kocevski/216434/ltcube_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216434/Model_4FGL_J1958.3-3010_daily_bin1718.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  0.000e+00  1.000e+06 ( 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/216434/ft1_filtered_4FGL_J1958.3-3010_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/216434/ft2_4FGL_J1958.3-3010_daily_bin1718.fits
Exposure map: /scratch/kocevski/216434/expmap_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits
Exposure cube: /scratch/kocevski/216434/ltcube_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216434/Model_4FGL_J1958.3-3010_daily_bin1718.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) = 8148.72564246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66258E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7002       1.0000          .0000       .10000E+07
     3 'Prefactor '    26.602       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58135E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .12481E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4982       1.0000          .0000       .10000E+07
     7 'norm      '    5.9808       1.0000          .0000       .10000E+07
     8 'Prefactor '    .39364E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .16825E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .61005E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .87707       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11165E-01   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.3865       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98926       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=   8148.715     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1107 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.5412        .17074E-08** at limit **
   2  Prefactor     2.6766        4.5958        .47281E-06   -.49594E-04
   3  Prefactor     26.491        15.677       -.21344E-06   -.27007E-03
   4  Prefactor      .0000        20.633       -.11026E-07** at limit **
   5  norm           .0000        11.620       -.59649E-08** at limit **
   6  Prefactor     4.5331        6.1190        .15149E-07    .21245E-03
   7  norm          5.9806        1.7307        .94548E-08    .14159E-02
   8  Prefactor     .11102E-09    51.701       -.47269E-07** at limit **
   9  norm           .0000        14.528        .46723E-06** at limit **
  10  norm           .0000        15.385       -.24174E-06** at limit **
  11  Prefactor     .55511E-10    196.79        .53190E-08** at limit **
  12  Prefactor      .0000        13.925       -.24365E-06** at limit **
  13  Normalizat    1.3882        .31936       -.42843E-06    .23349E-04
  14  Prefactor     .98909        .91146E-01   -.16172E-06    .16835E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.67664
  Prefactor  = 26.4905
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.5331
  norm       = 5.98062
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.38817
  Prefactor  = 0.989088
 **********
 **   18 **HESSE 
 **********

 FCN=   8148.715     FROM HESSE     STATUS=OK           158 CALLS     1265 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.5425        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6766        4.5995        .12108E-03   -1.5675    
   3  Prefactor     26.491        15.690        .77568E-05   -1.5605    
   4  Prefactor      .0000        20.824        .30460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        11.622        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5331        6.1079        .18979E-04   -1.5665    
   7  norm          5.9806        1.7308        .60929E-05   -1.5659    
   8  Prefactor     .11102E-09    52.406        .31985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        14.521        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        15.433        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    197.32        .94717E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        14.026        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.3882        .37953        .46818E-03   -.80971    
  14  Prefactor     .98909        .10919        .15723E-03   -.93094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79236e-10
Minuit parameter uncertainties:
  1  1.86196e-07
  2  4.59954
  3  15.6898
  4  2.52839e-05
  5  2.3236e-05
  6  6.10787
  7  1.73077
  8  0.00013411
  9  2.11555e-05
  10  2.71179e-05
  11  0.000240424
  12  2.17598e-05
  13  0.380302
  14  0.109216
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.110e-10  1.341e-04  0.000e+00  1.000e+06 ( 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:  9.891e-01  1.092e-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.388e+00  3.803e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216434/likelihoodResults_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.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) = 8148.72440117
delta logL = -0.00928865706464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8148.41381573
delta logL = 0.301296786615

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2304       1.0000          .0000       .10000E+07
     2 'Index     '    3.1648       1.0000          .0000       10.000    
     3 'Normalizat'    1.3219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99586       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8148.414     FROM MIGRAD    STATUS=FAILED        90 CALLS      273 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2300        102.45        .12731E-04   -.41425E-01
   2  Index         3.1655        6.5806        .55496E-02   -.88162E-03
   3  Normalizat    1.3218        .31217        .47781E-03   -.57842E-03
   4  Prefactor     .99590        .88492E-01    .15665E-03   -.15867E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8148.414     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      365 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2300        102.45        .18358E-04   -.41425E-01
   2  Index         3.1655        6.5806        .81966E-03   -.88162E-03
   3  Normalizat    1.3218        .31217        .15578E-03   -.57842E-03
   4  Prefactor     .99590        .88492E-01    .51580E-04   -.15867E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8148.414     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      397 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2295        9.6833        .50925E-06   -.22617E-03
   2  Index         3.1657        1.7284        .22198E-03   -.30728E-05
   3  Normalizat    1.3218        .38534        .95563E-04    .51774E-04
   4  Prefactor     .99591        .11022        .31331E-04    .64662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22953
  Index      = 3.16566
  Normalizat = 1.32176
  Prefactor  = 0.995906
 **********
 **   18 **HESSE 
 **********

 FCN=   8148.414     FROM HESSE     STATUS=OK            23 CALLS      420 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2295        8.3938        .37398E-06   -1.5686    
   2  Index         3.1657        1.6142        .88793E-05   -.37564    
   3  Normalizat    1.3218        .38503        .19113E-04   -.82919    
   4  Prefactor     .99591        .11012        .62661E-05   -.92866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69793e-11
Minuit parameter uncertainties:
  1  6.42507
  2  1.64846
  3  0.385873
  4  0.110144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216434': 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) = 8148.41381453
delta logL = 0.301297983948

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.230e+00  6.425e+00  0.000e+00  1.000e+06 ( 1.000e-14)
458        Index:  3.166e+00  1.648e+00  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:  9.959e-01  1.101e-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.322e+00  3.859e-01  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/216434/cmap_HighResolution_684633601_684892801_4FGL_J1958.3-3010_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-09-16 22:34:09.908928', job_id='216434', GAL2='1.00', fit_tolerance='1e-08', EG2='1.32', EG='1.39', time_epoch_completed='1663392849.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.01e-01', ts2='0.63', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1718' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 22:34:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 216434: <4FGL_J1958.3-3010_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin1718> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 22:20:16 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 22:21:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 22:21:07 2022
Terminated at Fri Sep 16 22:34:10 2022
Results reported at Fri Sep 16 22:34:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin1718 299.581 -30.181 684633601 684892801 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 :                                   649.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            834 sec.

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

