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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1748
RA = 255.558, Dec = 26.7116
tmin = 692409601, tmax = 692668801
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='891356', job_status='RUN', time_executed='2022-12-14 00:58:39.711327', time_epoch_executed='1671008319.71' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891356/ft1_4FGL_J1702.2+2642_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891356/ft1_4FGL_J1702.2+2642_daily_bin1748.fits outfile=/scratch/kocevski/891356/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1748.fits ra=255.558 dec=26.7116 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.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/891356/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.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.49
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 740

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/891356/ltcube_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.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/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits
.....................!
real 12.48
user 12.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/891356/ltcube_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits outfile=/scratch/kocevski/891356/expmap_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.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/891356/ltcube_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits
.....................!
real 190.43
user 185.56
sys 4.53

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/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits scfile=/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits outfile=/scratch/kocevski/891356/cmap_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits scfile=/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits outfile=/scratch/kocevski/891356/cmap_HighResolution_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.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.54
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits', '/scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits', expMap='/scratch/kocevski/891356/expmap_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits', expCube='/scratch/kocevski/891356/ltcube_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891356/Model_4FGL_J1702.2+2642_daily_bin1748.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/891356/ft1_filtered_4FGL_J1702.2+2642_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/891356/ft2_4FGL_J1702.2+2642_daily_bin1748.fits
Exposure map: /scratch/kocevski/891356/expmap_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits
Exposure cube: /scratch/kocevski/891356/ltcube_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891356/Model_4FGL_J1702.2+2642_daily_bin1748.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) = 7905.92961312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2540       1.0000          .0000       .10000E+07
     2 'Prefactor '    .35552E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13530E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .61299       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14351E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10064E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0716       1.0000          .0000       .10000E+07
     8 'norm      '    .87657       1.0000          .0000       .10000E+07
     9 'norm      '    49.279       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.405       1.0000          .0000       .10000E+07
    11 'Prefactor '    65.800       1.0000          .0000       .10000E+07
    12 'Prefactor '    .34878       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18041E-07   1.0000          .0000       .10000E+07
    14 'Normalizat'    .68963       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1013       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=   7905.930     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     1547 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2523        2.0980       -.22683E-07   -.73740E-01
   2  Prefactor     .90927E-07    8.8305        .45466E-06** at limit **
   3  Prefactor     .55511E-10    4.9534        .20483E-06** at limit **
   4  Prefactor     .67322        6.3568       -.10594E-05   -.74576E-03
   5  Prefactor     .14033E-06    6.6925        .52396E-06** at limit **
   6  Prefactor     .55511E-10    16.988        .42173E-06** at limit **
   7  Prefactor     3.0717        3.6170       -.59002E-07   -.53494E-01
   8  norm          .87713        1.9923        .53069E-06   -.25872E-02
   9  norm          49.282        1.0004       -.43144E-10    .26028E-02
  10  Prefactor     14.421        1.0746       -.51676E-08    .13698E-01
  11  Prefactor     65.867        4.5494        .25298E-07   -.22369    
  12  Prefactor     .12268E-06    53.276       -.51967E-06** at limit **
  13  Prefactor     .33307E-09    4.1469        .45014E-06** at limit **
  14  Normalizat    .68928        .21770        .77259E-05    .13560E-04
  15  Prefactor     1.1013        .12026       -.40140E-05    .10617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.2523
  Prefactor  = 9.09273e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.67322
  Prefactor  = 1.40332e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 3.07167
  norm       = 0.877129
  norm       = 49.2817
  Prefactor  = 14.4212
  Prefactor  = 65.8668
  Prefactor  = 1.2268e-07
  Prefactor  = 3.33067e-10
  Normalizat = 0.689278
  Prefactor  = 1.10133
 **********
 **   18 **HESSE 
 **********

 FCN=   7905.930     FROM HESSE     STATUS=OK           210 CALLS     1757 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2523        10.170        .37218E-03   -1.5654    
   2  Prefactor     .90927E-07    14.899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    4.9505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67322        6.3536        .68073E-03   -1.5692    
   5  Prefactor     .14033E-06    15.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    17.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0717        11.922        .57852E-03   -1.5673    
   8  norm          .87713        2.0007        .47394E-03   -1.5689    
   9  norm          49.282        65.624        .14246E-03   -1.5568    
  10  Prefactor     14.421        107.40        .26364E-03   -1.5632    
  11  Prefactor     65.867        38.047        .12329E-03   -1.5546    
  12  Prefactor     .12268E-06    59.848        .95678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33307E-09    4.1433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .68928        .19199        .81977E-01   -1.0432    
  15  Prefactor     1.1013        .10540        .37537E-01   -.89424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90902e-06
Minuit parameter uncertainties:
  1  10.1703
  2  0.00232771
  3  3.46329e-05
  4  4.13636
  5  0.00294138
  6  4.94741e-05
  7  11.9222
  8  2.00071
  9  65.6252
  10  78.7118
  11  38.0475
  12  0.00541947
  13  7.41037e-05
  14  0.192182
  15  0.105422
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  5.551e-11  4.947e-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:  1.101e+00  1.054e-01  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:  6.893e-01  1.922e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891356/likelihoodResults_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.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) = 7905.95655866
delta logL = -0.0270075195185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7905.92955136
delta logL = -2.26876181841e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21630E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .90743       1.0000          .0000       10.000    
     3 'Normalizat'    .68917       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1014       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=   7905.930     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      196 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    22.244        .67083E-06** at limit **
   2  Index         1.8843        5.8047       -.16319E-04    .17527E-10
   3  Normalizat    .68928        .21736       -.21632E-04    .33320E-04
   4  Prefactor     1.1013        .11963        .83794E-05   -.16581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 1.88433
  Normalizat = 0.689279
  Prefactor  = 1.10133
 **********
 **   18 **HESSE 
 **********

 FCN=   7905.930     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      231 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    .16491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8843        6.6761        .45100       -.67274    
   3  Normalizat    .68928        .41388E-03    .81977E-01   -1.0432    
   4  Prefactor     1.1013        .22691E-03    .37534E-01   -.89424    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19099e-13
Minuit parameter uncertainties:
  1  1.63047e-05
  2  6005.13
  3  0.00041388
  4  0.00022691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891356': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7905.92955114
delta logL = -9.09494701773e-12

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.886e-10  1.630e-05  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  1.884e+00  6.005e+03  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:  1.101e+00  2.269e-04  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:  6.893e-01  4.139e-04  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/891356/cmap_HighResolution_692409601_692668801_4FGL_J1702.2+2642_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-03', job_status='DONE', photon_flux_upper_limit='5.12e-08', time_completed='2022-12-14 01:09:13.689309', job_id='891356', GAL2='1.10', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1671008953.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-9.09e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1748' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:09:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 891356: <4FGL_J1702.2+2642_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:55:29 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:55:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:55:30 2022
Terminated at Wed Dec 14 01:09:14 2022
Results reported at Wed Dec 14 01:09:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1748 255.558 26.7116 692409601 692668801 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 :                                   636.21 sec.
    Max Memory :                                 1072 MB
    Average Memory :                             247.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

