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


Performing analysis on: 4FGL_J1959.1-4247_daily_bin1736
RA = 299.796, Dec = -42.7852
tmin = 689299201, tmax = 689558401
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='961986', job_status='RUN', time_executed='2022-11-08 00:39:14.125299', time_epoch_executed='1667896754.13' WHERE source_name='4FGL J1959.1-4247' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/961986

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/961986/ft1_4FGL_J1959.1-4247_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/961986/ft1_4FGL_J1959.1-4247_daily_bin1736.fits outfile=/scratch/kocevski/961986/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1736.fits ra=299.796 dec=-42.7852 rad=12.0 tmin=689299201.0 tmax=689558401.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.77
user 2.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.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/961986/ft1_filteredMKT_4FGL_J1959.1-4247_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.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.44
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 1211

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/961986/ltcube_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.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/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits
.....................!
real 9.40
user 9.07
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/961986/ltcube_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits outfile=/scratch/kocevski/961986/expmap_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.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/961986/ltcube_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits
.....................!
real 145.84
user 140.90
sys 4.64

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

Setting source of interest to:
4FGL J1959.1-4247 @ 299.796 -42.7852

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits outfile=/scratch/kocevski/961986/cmap_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.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.796 yref=-42.7852 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.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits outfile=/scratch/kocevski/961986/cmap_HighResolution_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.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.796 yref=-42.7852 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.52
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/961986/Model_4FGL_J1959.1-4247_daily_bin1736.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/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits.....................!
real 79.63
user 78.07
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits', '/scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits', expMap='/scratch/kocevski/961986/expmap_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits', expCube='/scratch/kocevski/961986/ltcube_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/961986/Model_4FGL_J1959.1-4247_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1959.1-4247'

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  3.377e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/961986/ft1_filtered_4FGL_J1959.1-4247_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/961986/ft2_4FGL_J1959.1-4247_daily_bin1736.fits
Exposure map: /scratch/kocevski/961986/expmap_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits
Exposure cube: /scratch/kocevski/961986/ltcube_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/961986/Model_4FGL_J1959.1-4247_daily_bin1736.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) = 12415.6436148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3772       1.0000          .0000       .10000E+07
     2 'norm      '    3.0057       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25266E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2664       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.311       1.0000          .0000       .10000E+07
     6 'norm      '    .29249E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.224       1.0000          .0000       .10000E+07
     8 'norm      '    3.3429       1.0000          .0000       .10000E+07
     9 'norm      '    .60411E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .17194E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .84174       1.0000          .0000       .10000E+07
    12 'norm      '    2.8156       1.0000          .0000       .10000E+07
    13 'norm      '    .30855E-03   1.0000          .0000       .10000E+07
    14 'norm      '    14.474       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65391       1.0000          .0000       .10000E+07
    16 'norm      '    .13117E-06   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1687       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0703       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.60     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1323 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3798        5.0418        .55036E-03    .68367E-02
   2  norm          3.0052        1.9947        .58519E-03    .67478E-02
   3  Prefactor     .55511E-10    13.832        .42118E-03** at limit **
   4  Prefactor     6.2804        9.4745        .40077E-03    .11290E-01
   5  Prefactor     11.244        9.5614        .29763E-03   -.36288E-01
   6  norm           .0000        5.1011        .42118E-03** at limit **
   7  Prefactor     10.220        5.0502        .31313E-03    .61809E-02
   8  norm          3.3440        1.0420        .55331E-04    .36433E-02
   9  norm          .16653E-09    2.1315        .42118E-03** at limit **
  10  norm          .33307E-09    7.0277        .42118E-03** at limit **
  11  norm          .84264        1.3261        .49874E-03    .13663E-01
  12  norm          2.8156        2.5179        .60592E-03    .33445E-02
  13  norm          .16653E-09    8.1712        .42118E-03** at limit **
  14  norm          14.563        13.328        .26301E-03    .25079E-02
  15  Prefactor     .14433E-08    60.957        .64531E-03** at limit **
  16  norm           .0000        .41929        .42118E-03** at limit **
  17  Normalizat    1.1695        .20683        .92197E-01    .18914E-03
  18  Prefactor     1.0702        .79992E-01    .38842E-01    .45028E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.3798
  norm       = 3.00519
  Prefactor  = 5.55112e-11
  Prefactor  = 6.28043
  Prefactor  = 11.2439
  norm       = 0
  Prefactor  = 10.2203
  norm       = 3.34399
  norm       = 1.66533e-10
  norm       = 3.33067e-10
  norm       = 0.842641
  norm       = 2.81564
  norm       = 1.66533e-10
  norm       = 14.5631
  Prefactor  = 1.44329e-09
  norm       = 0
  Normalizat = 1.16951
  Prefactor  = 1.0702
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.60     FROM HESSE     STATUS=OK           240 CALLS     1563 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3798        5.0429        .22014E-04   -1.5671    
   2  norm          3.0052        1.9928        .12431E-04   -1.5673    
   3  Prefactor     .55511E-10    14.047        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2804        9.4685        .16031E-04   -1.5658    
   5  Prefactor     11.244        9.5585        .11905E-04   -1.5641    
   6  norm           .0000        5.1022        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.220        5.0515        .12525E-04   -1.5644    
   8  norm          3.3440        1.0420        .22132E-05   -1.5671    
   9  norm          .16653E-09    2.1329        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .33307E-09    7.0330        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .84264        1.3182        .15555E-04   -1.5690    
  12  norm          2.8156        2.5161        .16166E-04   -1.5674    
  13  norm          .16653E-09    8.2043        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.563        13.328        .10520E-04   -1.5632    
  15  Prefactor     .14433E-08    61.043        .12906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .42109        .70455E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1695        .23804        .40837E-03   -.87550    
  18  Prefactor     1.0702        .92792E-01    .16345E-03   -.90425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36271e-08
Minuit parameter uncertainties:
  1  5.04287
  2  1.99281
  3  5.31069e-05
  4  9.46853
  5  9.55849
  6  1.0478e-05
  7  5.05146
  8  1.04199
  9  3.79904e-05
  10  9.67527e-05
  11  1.31821
  12  2.51606
  13  7.04476e-05
  14  13.3279
  15  0.000594058
  16  4.35416e-06
  17  0.238259
  18  0.0928061
Done.

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

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  1.665e-10  3.799e-05  0.000e+00  1.000e+06 ( 1.000e-12)
376        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.642e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  1.070e+00  9.281e-02  0.000e+00  1.000e+01 ( 1.000e+00)
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.170e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.796 -42.785
Photon Flux Upper Limit: 4.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/961986/likelihoodResults_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.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) = 12415.6040067
delta logL = -4.07818879467e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12415.604003
delta logL = -2.9405055102e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17120E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .85132       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12415.60     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .48437        .42118E-03** at limit **
   2  alpha         4.0714        1.1817       -.17685E-03     .0000    
   3  Normalizat    1.1695        1.1178        .19845E-04   -.52077E-04
   4  Prefactor     1.0702        1.1710       -.12452E-04    .28796E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.07139
  Normalizat = 1.16951
  Prefactor  = 1.0702
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12415.60     FROM HESSE     STATUS=FAILED         7 CALLS      247 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .48437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9222        1.1817       -.17685E-03    .67970    
   3  Normalizat    1.1695        1.1178        .19845E-04   -.87550    
   4  Prefactor     1.0702        1.1710       -.12452E-04   -.90425    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.95816e-11
Minuit parameter uncertainties:
  1  6.445e-06
  2  1.27006
  3  1.14186
  4  1.20094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/961986': 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): 101
logL (Free Index) = 12415.6040027
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J1959.1-4247
   Spectrum: LogParabola
375         norm:  0.000e+00  6.445e-06  0.000e+00  1.000e+06 ( 1.000e-12)
376        alpha:  4.071e+00  1.270e+00  0.000e+00  5.000e+00 ( 1.000e+00)
377         beta:  1.642e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  6.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
667    Prefactor:  1.070e+00  1.201e+00  0.000e+00  1.000e+01 ( 1.000e+00)
668        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
669        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
666   Normalization:  1.170e+00  1.142e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 299.796 -42.785

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/961986/cmap_HighResolution_689299201_689558401_4FGL_J1959.1-4247_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-05', job_status='DONE', photon_flux_upper_limit='4.52e-08', time_completed='2022-11-08 00:50:13.148161', job_id='961986', GAL2='1.07', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1667897413.15', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1736' AND source_name='4FGL J1959.1-4247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:50:13 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 961986: <4FGL_J1959.1-4247_daily_bin1736> in cluster <slac> Done

Job <4FGL_J1959.1-4247_daily_bin1736> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 00:35:25 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:35:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:35:26 2022
Terminated at Tue Nov  8 00:50:14 2022
Results reported at Tue Nov  8 00:50:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1959.1-4247_daily_bin1736 299.796 -42.7852 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1959.1-4247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             294.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

