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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1773
RA = 255.558, Dec = 26.7116
tmin = 698889601, tmax = 699148801
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='796836', job_status='RUN', time_executed='2023-02-27 10:06:10.036512', time_epoch_executed='1677521170.04' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/796836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/796836/ft1_4FGL_J1702.2+2642_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/796836/ft1_4FGL_J1702.2+2642_daily_bin1773.fits outfile=/scratch/kocevski/796836/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1773.fits ra=255.558 dec=26.7116 rad=12.0 tmin=698889601.0 tmax=699148801.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.95
user 2.73
sys 0.20

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

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

Number of photons that the gtmktime cut: 1127

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/796836/ft1_filtered_4FGL_J1702.2+2642_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/796836/ltcube_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.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/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits
.....................!
real 14.75
user 13.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/796836/ft1_filtered_4FGL_J1702.2+2642_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/796836/ltcube_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.fits outfile=/scratch/kocevski/796836/expmap_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.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/796836/ltcube_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.fits
.....................!
real 191.67
user 185.70
sys 5.58

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/796836/ft1_filtered_4FGL_J1702.2+2642_daily_bin1773.fits scfile=/scratch/kocevski/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits outfile=/scratch/kocevski/796836/cmap_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/796836/ft1_filtered_4FGL_J1702.2+2642_daily_bin1773.fits scfile=/scratch/kocevski/796836/ft2_4FGL_J1702.2+2642_daily_bin1773.fits outfile=/scratch/kocevski/796836/cmap_HighResolution_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44193E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.4306       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.370       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51027       1.0000          .0000       .10000E+07
     5 'Prefactor '    37.176       1.0000          .0000       .10000E+07
     6 'Prefactor '    .46545       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.943       1.0000          .0000       .10000E+07
     8 'norm      '    2.3651       1.0000          .0000       .10000E+07
     9 'norm      '    .57931E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    186.70       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10637E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63673E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58774E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .98944       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .97045       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=   11868.99     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1074 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    24.251        .58192E-06** at limit **
   2  Prefactor     5.4154        7.5650       -.24090E-07    .42689E-04
   3  Prefactor     19.600        12.412        .23857E-07   -.20962E-03
   4  Prefactor     .50697        5.4836       -.33529E-07    .12788E-03
   5  Prefactor     37.152        24.148       -.23373E-07   -.95062E-02
   6  Prefactor     .38577E-01    384.22        .48421E-06** at limit **
   7  Prefactor     11.898        10.464        .70221E-07    .29616E-03
   8  norm          2.3659        1.6965        .56918E-09    .17753E-03
   9  norm          .55511E-10    16.011       -.23103E-06** at limit **
  10  Prefactor     188.08        78.794       -.10464E-06    .81603E-01
  11  Prefactor     .33307E-09    18.497       -.17958E-06** at limit **
  12  Prefactor     .16498E-06    108.27       -.11048E-05** at limit **
  13  Prefactor      .0000        13.056        .10362E-06** at limit **
  14  Normalizat    .98857        .19295        .27382E-05    .54425E-05
  15  Prefactor     .97074        .10062       -.87292E-06    .18604E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 5.41544
  Prefactor  = 19.6001
  Prefactor  = 0.506968
  Prefactor  = 37.1516
  Prefactor  = 0.0385775
  Prefactor  = 11.8979
  norm       = 2.36593
  norm       = 5.55112e-11
  Prefactor  = 188.08
  Prefactor  = 3.33067e-10
  Prefactor  = 1.64979e-07
  Prefactor  = 0
  Normalizat = 0.988569
  Prefactor  = 0.970743
 **********
 **   18 **HESSE 
 **********

 FCN=   11868.99     FROM HESSE     STATUS=OK           218 CALLS     1292 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    24.142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4154        7.5721        .43097E-03   -1.5661    
   3  Prefactor     19.600        12.419        .22729E-03   -1.5619    
   4  Prefactor     .50697        5.4834        .77683E-03   -1.5694    
   5  Prefactor     37.152        24.341        .16403E-03   -1.5586    
   6  Prefactor     .38577E-01    27.449        .13580E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.898        10.462        .28962E-03   -1.5639    
   8  norm          2.3659        1.6960        .66605E-03   -1.5677    
   9  norm          .55511E-10    16.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     188.08        84.512        .73193E-04   -1.5434    
  11  Prefactor     .33307E-09    18.533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16498E-06    108.47        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        12.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .98857        .16223        .73376E-01   -.93414    
  15  Prefactor     .97074        .83873E-01    .45897E-01   -.93711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32045e-06
Minuit parameter uncertainties:
  1  0.000157371
  2  7.5721
  3  12.419
  4  3.33462
  5  24.3409
  6  2.05809
  7  10.4623
  8  1.69599
  9  4.49682e-05
  10  84.5121
  11  0.000150942
  12  0.00846117
  13  1.16824e-05
  14  0.16231
  15  0.0838846
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.858e-02  2.058e+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

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.707e-01  8.388e-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.886e-01  1.623e-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.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/796836/likelihoodResults_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.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) = 11868.9887747
delta logL = 1.5284449546e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11868.9887591
delta logL = 3.09324350383e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11868.93     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      270 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0514        238.37        .16034E-02    .17058E-01
   2  Index         2.9850        6.4596        .93732E-01    .35475E-03
   3  Normalizat    .97578        .33767E-01    .73801E-01    .12642E-04
   4  Prefactor     .97281        .17833E-01    .45900E-01   -.33656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05144
  Index      = 2.98504
  Normalizat = 0.975778
  Prefactor  = 0.972813
 **********
 **   18 **HESSE 
 **********

 FCN=   11868.93     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      301 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0514        791.50        .42654E-04   -1.5679    
   2  Index         2.9850        6.9965        .18208E-01   -.41478    
   3  Normalizat    .97578        .12216        .32655E-03   -.93846    
   4  Prefactor     .97281        .62654E-01    .17281E-03   -.93641    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94963e-08
Minuit parameter uncertainties:
  1  80.6012
  2  14.3392
  3  0.12219
  4  0.0626586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/796836': 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) = 11868.9291664
delta logL = 0.0596236171368

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  2.051e+00  8.060e+01  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.985e+00  1.434e+01  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.728e-01  6.266e-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.758e-01  1.222e-01  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/796836/cmap_HighResolution_698889601_699148801_4FGL_J1702.2+2642_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.93e-08', time_completed='2023-02-27 10:18:37.947400', job_id='796836', GAL2='0.97', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1677521917.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.96e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1773' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:18:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 796836: <4FGL_J1702.2+2642_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1773> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Feb 27 10:05:24 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:05:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:05:26 2023
Terminated at Mon Feb 27 10:18:38 2023
Results reported at Mon Feb 27 10:18:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1773 255.558 26.7116 698889601 699148801 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 :                                   749.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            794 sec.

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

