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


Performing analysis on: 4FGL_J1958.3-3010_daily_bin1717
RA = 299.581, Dec = -30.181
tmin = 684374401, tmax = 684633601
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='216433', job_status='RUN', time_executed='2022-09-16 22:22:39.426784', time_epoch_executed='1663392159.43' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216433/ft1_4FGL_J1958.3-3010_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216433/ft1_4FGL_J1958.3-3010_daily_bin1717.fits outfile=/scratch/kocevski/216433/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin1717.fits ra=299.581 dec=-30.181 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.02
user 4.74
sys 0.26

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

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

Number of photons that the gtmktime cut: 984

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/216433/ltcube_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.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/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits
.....................!
real 13.96
user 13.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/216433/ltcube_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits outfile=/scratch/kocevski/216433/expmap_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.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/216433/ltcube_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits
.....................!
real 191.26
user 186.03
sys 4.86

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/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits scfile=/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits outfile=/scratch/kocevski/216433/cmap_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits scfile=/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits outfile=/scratch/kocevski/216433/cmap_HighResolution_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.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.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216433/Model_4FGL_J1958.3-3010_daily_bin1717.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/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits.....................!
real 87.84
user 86.32
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits', '/scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits', expMap='/scratch/kocevski/216433/expmap_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits', expCube='/scratch/kocevski/216433/ltcube_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216433/Model_4FGL_J1958.3-3010_daily_bin1717.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/216433/ft1_filtered_4FGL_J1958.3-3010_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/216433/ft2_4FGL_J1958.3-3010_daily_bin1717.fits
Exposure map: /scratch/kocevski/216433/expmap_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits
Exposure cube: /scratch/kocevski/216433/ltcube_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216433/Model_4FGL_J1958.3-3010_daily_bin1717.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) = 10288.0493277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36709E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32069E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10599E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .74666E-02   1.0000          .0000       .10000E+07
     5 'norm      '    13.030       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1521       1.0000          .0000       .10000E+07
     7 'norm      '    10.971       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62582E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .55963E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .96958E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14466       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18547E-03   1.0000          .0000       .10000E+07
    13 'Normalizat'    .90014       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10287.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      746 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.2413        .38610E-06** at limit **
   2  Prefactor      .0000        2.7442       -.69678E-06** at limit **
   3  Prefactor     .25535E-08    8.4841       -.10070E-06** at limit **
   4  Prefactor     .30698E-07    5.0536        .47480E-06** at limit **
   5  norm          12.979        1.6466        .16834E-07    .47967E-02
   6  Prefactor     1.1362        5.4531       -.35969E-06    .54921E-04
   7  norm          10.971        1.7580        .39993E-08    .52098E-03
   8  Prefactor      .0000        28.289       -.10218E-05** at limit **
   9  norm          .61062E-09    7.9138        .20281E-06** at limit **
  10  norm          .26146E-07    6.3400        .63470E-06** at limit **
  11  Prefactor      .0000        30.628        .32268E-06** at limit **
  12  Prefactor      .0000        2.4726       -.33763E-07** at limit **
  13  Normalizat    .90028        .29694        .85760E-05    .25010E-05
  14  Prefactor     1.1054        .94299E-01   -.11163E-05    .11797E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.55351e-09
  Prefactor  = 3.06977e-08
  norm       = 12.9789
  Prefactor  = 1.13618
  norm       = 10.9714
  Prefactor  = 0
  norm       = 6.10623e-10
  norm       = 2.61458e-08
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.900285
  Prefactor  = 1.10536
 **********
 **   18 **HESSE 
 **********

 FCN=   10287.97     FROM HESSE     STATUS=OK           184 CALLS      930 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.2391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.7407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .25535E-08    9.0055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .30698E-07    10.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.979        13.083        .27724E-03   -1.5636    
   6  Prefactor     1.1362        5.4606        .10770E-02   -1.5687    
   7  norm          10.971        1.7629        .30222E-03   -1.5642    
   8  Prefactor      .0000        28.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .61062E-09    8.0795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .26146E-07    10.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        30.512        .12858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.4784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .90028        .26979        .11755       -.96450    
  14  Prefactor     1.1054        .84552E-01    .37388E-01   -.89295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97121e-06
Minuit parameter uncertainties:
  1  3.44661e-06
  2  6.88927e-08
  3  0.000302524
  4  0.00112426
  5  13.0835
  6  4.98167
  7  1.76288
  8  3.49477e-06
  9  0.000138915
  10  0.00106359
  11  5.21315e-06
  12  2.93825e-06
  13  0.270195
  14  0.0845619
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  0.000e+00  3.495e-06  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:  1.105e+00  8.456e-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:  9.003e-01  2.702e-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: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216433/likelihoodResults_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.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) = 10287.9829738
delta logL = -0.0171188683653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10287.9466159
delta logL = 0.0192390118373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82402       1.0000          .0000       .10000E+07
     2 'Index     '    2.7252       1.0000          .0000       10.000    
     3 'Normalizat'    .89355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1051       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=   10287.95     FROM MIGRAD    STATUS=FAILED        92 CALLS      287 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82170        28.603        .20465E-04   -.12355E-01
   2  Index         2.7231        2.8245        .79127E-02   -.71363E-03
   3  Normalizat    .89366        .29521        .52304E-03    .30617E-03
   4  Prefactor     1.1051        .94613E-01    .15164E-03    .16124E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10287.95     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      368 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82170        28.603        .35563E-04   -1.5690    
   2  Index         2.7231        2.8245        .19164E-02   -.47281    
   3  Normalizat    .89366        .29521        .30921E-03   -.96683    
   4  Prefactor     1.1051        .94613E-01    .10712E-03   -.89304    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10287.95     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      400 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82084        11.812        .81858E-06   -.13129E-03
   2  Index         2.7235        1.9041        .31651E-03   -.17241E-05
   3  Normalizat    .89366        .29537        .20922E-04   -.26083E-04
   4  Prefactor     1.1051        .94519E-01    .30327E-04   -.11921E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.820841
  Index      = 2.72355
  Normalizat = 0.893659
  Prefactor  = 1.10509
 **********
 **   18 **HESSE 
 **********

 FCN=   10287.95     FROM HESSE     STATUS=OK            23 CALLS      423 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82084        11.624        .37408E-06   -1.5690    
   2  Index         2.7235        1.8903        .12660E-04   -.47270    
   3  Normalizat    .89366        .29560        .41843E-05   -.96683    
   4  Prefactor     1.1051        .94567E-01    .60655E-05   -.89304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57177e-12
Minuit parameter uncertainties:
  1  6.17793
  2  1.95228
  3  0.296139
  4  0.0945809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216433': 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) = 10287.946614
delta logL = 0.0192408864386

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  8.208e-01  6.178e+00  0.000e+00  1.000e+06 ( 1.000e-14)
458        Index:  2.724e+00  1.952e+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:  1.105e+00  9.458e-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:  8.937e-01  2.961e-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/216433/cmap_HighResolution_684374401_684633601_4FGL_J1958.3-3010_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2022-09-16 22:33:46.830432', job_id='216433', GAL2='1.11', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1663392826.83', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.92e-02', ts2='0.04', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1717' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 22:33:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 216433: <4FGL_J1958.3-3010_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin1717> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 22:20:15 2022
Job was executed on host(s) <bullet0080>, 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:33:48 2022
Results reported at Fri Sep 16 22:33:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin1717 299.581 -30.181 684374401 684633601 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 :                                   669.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            813 sec.

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

