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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1712
RA = 255.558, Dec = 26.7116
tmin = 683078401, tmax = 683337601
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='175616', job_status='RUN', time_executed='2022-09-16 20:01:15.347891', time_epoch_executed='1663383675.35' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/175616/ft1_4FGL_J1702.2+2642_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175616/ft1_4FGL_J1702.2+2642_daily_bin1712.fits outfile=/scratch/kocevski/175616/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1712.fits ra=255.558 dec=26.7116 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.80
user 4.49
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.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/175616/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.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: 725

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/175616/ltcube_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.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/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits
.....................!
real 15.59
user 15.06
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/175616/ltcube_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits outfile=/scratch/kocevski/175616/expmap_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.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/175616/ltcube_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits
.....................!
real 192.48
user 186.65
sys 4.94

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

Setting source of interest to:
4FGL J1702.2+2642 @ 255.558 26.7116

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits outfile=/scratch/kocevski/175616/cmap_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.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=255.558 yref=26.7116 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits outfile=/scratch/kocevski/175616/cmap_HighResolution_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.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=255.558 yref=26.7116 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/175616/Model_4FGL_J1702.2+2642_daily_bin1712.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/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits.....................!
real 63.86
user 62.33
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits', '/scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits', expMap='/scratch/kocevski/175616/expmap_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits', expCube='/scratch/kocevski/175616/ltcube_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/175616/Model_4FGL_J1702.2+2642_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1702.2+2642'

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  4.481e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/175616/ft1_filtered_4FGL_J1702.2+2642_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/175616/ft2_4FGL_J1702.2+2642_daily_bin1712.fits
Exposure map: /scratch/kocevski/175616/expmap_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits
Exposure cube: /scratch/kocevski/175616/ltcube_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/175616/Model_4FGL_J1702.2+2642_daily_bin1712.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) = 7757.07159034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64365E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .46962E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18808E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15737E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14921E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17497E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.338       1.0000          .0000       .10000E+07
     8 'norm      '    .27458E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .30047E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .43757E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19534E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    39.284       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8387       1.0000          .0000       .10000E+07
    14 'Normalizat'    .90291       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97493       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7756.978     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      820 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66058E-08    9.5251       -.13831E-06** at limit **
   2  Prefactor      .0000        4.5612        .81688E-07** at limit **
   3  Prefactor      .0000        20.057        .61907E-07** at limit **
   4  Prefactor     .19984E-08    2.4485       -.23775E-06** at limit **
   5  Prefactor     .10381E-07    7.9390       -.20272E-06** at limit **
   6  Prefactor     .55511E-10    15.095        .14054E-06** at limit **
   7  Prefactor     11.324        9.6794       -.49467E-07   -.27973E-01
   8  norm          .42333E-06    1.9789       -.18271E-06** at limit **
   9  norm          .66057E-05    13.334        .25180E-06** at limit **
  10  Prefactor     .70872E-05    12.951        .12045E-06** at limit **
  11  Prefactor     .52847E-07    11.267       -.75704E-08** at limit **
  12  Prefactor     34.562        38.278       -.26237E-06    .22856E-02
  13  Prefactor     6.5787        9.3403       -.89542E-07   -.56936E-01
  14  Normalizat    .90280        .21827       -.21008E-05    .86130E-04
  15  Prefactor     .97566        .11959        .19062E-05    .28562E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.60583e-09
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.9984e-09
  Prefactor  = 1.03806e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 11.3245
  norm       = 4.23328e-07
  norm       = 6.60566e-06
  Prefactor  = 7.08722e-06
  Prefactor  = 5.28466e-08
  Prefactor  = 34.5619
  Prefactor  = 6.5787
  Normalizat = 0.902795
  Prefactor  = 0.975664
 **********
 **   18 **HESSE 
 **********

 FCN=   7756.978     FROM HESSE     STATUS=OK           214 CALLS     1034 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66058E-08    9.6345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.6049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        9.6202        .82539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19984E-08    2.4751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10381E-07    8.0477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    15.038        .17207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.324        9.7401        .29728E-03   -1.5641    
   8  norm          .42333E-06    2.1999        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .66057E-05    24.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70872E-05    24.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .52847E-07    11.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.562        38.282        .15957E-03   -1.5590    
  13  Prefactor     6.5787        9.7000        .38343E-03   -1.5657    
  14  Normalizat    .90280        .18329        .71487E-01   -.96362    
  15  Prefactor     .97566        .99523E-01    .45953E-01   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22793e-07
Minuit parameter uncertainties:
  1  0.000503929
  2  2.05268e-05
  3  1.14822e-05
  4  0.00014112
  5  0.000577931
  6  5.21843e-05
  7  9.74016
  8  0.00193009
  9  0.0255993
  10  0.0261318
  11  0.00156858
  12  38.2822
  13  9.70002
  14  0.183414
  15  0.0995419
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  5.551e-11  5.218e-05  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.757e-01  9.954e-02  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  9.028e-01  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 255.558 26.712
Photon Flux Upper Limit: 5.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/175616/likelihoodResults_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.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): 0
logL (Free Index) = 7757.0101487
delta logL = -0.0317373237976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7756.97841351
delta logL = -2.13389830606e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23311E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .78239       1.0000          .0000       10.000    
     3 'Normalizat'    .90252       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97577       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7756.978     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      200 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        14.615        .98786E-07** at limit **
   2  Index         2.1426        5.8429       -.84735E-05     .0000    
   3  Normalizat    .90280        .21985       -.36764E-06   -.20950E-04
   4  Prefactor     .97566        .11903        .20373E-05   -.59787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.14256
  Normalizat = 0.902796
  Prefactor  = 0.975663
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7756.978     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .91E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .50317        1.9054       -.84735E-05   -.60832    
   3  Normalizat    .90280        1.2379       -.36764E-06   -.96362    
   4  Prefactor     .97566        1.3163        .20373E-05   -.93545    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.129e-13
Minuit parameter uncertainties:
  1  9.44235e-06
  2  1.78432
  3  1.28057
  4  1.36386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175616': 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) = 7756.97841137
delta logL = 2.18278728426e-11

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  9.442e-06  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.143e+00  1.784e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.757e-01  1.364e+00  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  9.028e-01  1.281e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 255.558 26.712

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/175616/cmap_HighResolution_683078401_683337601_4FGL_J1702.2+2642_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2022-09-16 20:10:45.850109', job_id='175616', GAL2='0.98', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1663384245.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1712' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:10:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 175616: <4FGL_J1702.2+2642_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1712> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 19:55:21 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:57:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:57:53 2022
Terminated at Fri Sep 16 20:10:46 2022
Results reported at Fri Sep 16 20:10:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1712 255.558 26.7116 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1702.2+2642 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            925 sec.

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

