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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1711
RA = 255.558, Dec = 26.7116
tmin = 682819201, tmax = 683078401
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='175615', job_status='RUN', time_executed='2022-09-16 19:58:41.974731', time_epoch_executed='1663383521.97' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175615

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/175615/ft1_4FGL_J1702.2+2642_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/175615/ft2_4FGL_J1702.2+2642_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175615/ft1_4FGL_J1702.2+2642_daily_bin1711.fits outfile=/scratch/kocevski/175615/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1711.fits ra=255.558 dec=26.7116 rad=12.0 tmin=682819201.0 tmax=683078401.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.70
user 4.38
sys 0.22

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

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

Number of photons that the gtmktime cut: 742

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175615/ft1_filtered_4FGL_J1702.2+2642_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/175615/ft2_4FGL_J1702.2+2642_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/175615/ltcube_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.fits outfile=/scratch/kocevski/175615/expmap_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.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/175615/ltcube_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.fits
.....................!
real 191.12
user 186.58
sys 4.03

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/175615/ft1_filtered_4FGL_J1702.2+2642_daily_bin1711.fits scfile=/scratch/kocevski/175615/ft2_4FGL_J1702.2+2642_daily_bin1711.fits outfile=/scratch/kocevski/175615/cmap_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175615/ft1_filtered_4FGL_J1702.2+2642_daily_bin1711.fits scfile=/scratch/kocevski/175615/ft2_4FGL_J1702.2+2642_daily_bin1711.fits outfile=/scratch/kocevski/175615/cmap_HighResolution_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0208       1.0000          .0000       .10000E+07
     2 'Prefactor '    .88818E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.7275       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24425E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    53.129       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36082E-08   1.0000          .0000       .10000E+07
     8 'norm      '    3.3610       1.0000          .0000       .10000E+07
     9 'norm      '    .75435E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    165.45       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.4259       1.0000          .0000       .10000E+07
    14 'Normalizat'    .74362       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1372       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=   8013.764     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1256 TOTAL
                     EDM=   .71E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0217        3.2908       -.62742E-07   -.66190E-02
   2  Prefactor     .55511E-09    11.059       -.43851E-06** at limit **
   3  Prefactor     3.7287        12.237        .35423E-06   -.43918E-04
   4  Prefactor      .0000        5.3675        .77992E-07** at limit **
   5  Prefactor      .0000        29.388       -.28017E-06** at limit **
   6  Prefactor     53.134        1.0282        .21652E-08    .72526E-02
   7  Prefactor     .72164E-09    10.588       -.34914E-07** at limit **
   8  norm          3.3611        3.0656        .11546E-07    .17297E-03
   9  norm           .0000        127.49       -.12695E-05** at limit **
  10  Prefactor     165.47        1.0105       -.24879E-09    .11397E-01
  11  Prefactor      .0000        9.7434       -.77900E-07** at limit **
  12  Prefactor      .0000        23.908       -.15199E-06** at limit **
  13  Prefactor     2.4263        6.0779       -.12997E-06   -.11134E-04
  14  Normalizat    .74364        .23653       -.14436E-05    .47794E-05
  15  Prefactor     1.1372        .12893        .81157E-06    .16646E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.02172
  Prefactor  = 5.55112e-10
  Prefactor  = 3.72866
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 53.1344
  Prefactor  = 7.21645e-10
  norm       = 3.36112
  norm       = 0
  Prefactor  = 165.472
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.42629
  Normalizat = 0.743638
  Prefactor  = 1.13716
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.764     FROM HESSE     STATUS=OK           210 CALLS     1466 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0217        16.980        .50267E-03   -1.5668    
   2  Prefactor     .55511E-09    11.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7287        12.311        .52277E-03   -1.5669    
   4  Prefactor      .0000        5.3431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        29.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.134        47.299        .13720E-03   -1.5562    
   7  Prefactor     .72164E-09    10.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3611        3.0718        .55175E-03   -1.5671    
   9  norm           .0000        127.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     165.47        107.17        .77750E-04   -1.5451    
  11  Prefactor      .0000        9.7450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        23.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4263        6.1161        .65680E-03   -1.5677    
  14  Normalizat    .74364        .20902        .84364E-01   -1.0219    
  15  Prefactor     1.1372        .11122        .36318E-01   -.88288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93611e-07
Minuit parameter uncertainties:
  1  16.5275
  2  0.000154391
  3  12.3106
  4  1.38572e-06
  5  3.14319e-06
  6  47.2996
  7  0.000179269
  8  3.07181
  9  4.04095e-05
  10  107.172
  11  2.41689e-05
  12  1.91618e-05
  13  6.11613
  14  0.209245
  15  0.111239
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  5.313e+01  4.730e+01  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.137e+00  1.112e-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:  7.436e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 255.558 26.712
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 4.02e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 2.12e-05 +/- 1.89e-05

TS (Fixed Index): 2.48
Ra Dec: 255.558 26.712
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/175615/likelihoodResults_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.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) = 8013.34518603
delta logL = 0.419073879115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8013.32504504
delta logL = 0.439214869577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.857       1.0000          .0000       .10000E+07
     2 'Index     '    2.7238       1.0000          .0000       10.000    
     3 'Normalizat'    .69872       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1486       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8013.325     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      303 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.852        53.720        .81912E-05   -.87377E-02
   2  Index         2.7244        .99023        .45829E-02   -.42198E-03
   3  Normalizat    .69822        .24561        .38454E-03   -.50410E-03
   4  Prefactor     1.1488        .12947        .16532E-03   -.12788E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8524
  Index      = 2.72442
  Normalizat = 0.698224
  Prefactor  = 1.14877
 **********
 **   18 **HESSE 
 **********

 FCN=   8013.325     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.852        35.685        .16382E-05   -1.5610    
   2  Index         2.7244        .65953        .18331E-03   -.47250    
   3  Normalizat    .69822        .24172        .15382E-04   -1.0396    
   4  Prefactor     1.1488        .12838        .33063E-04   -.87923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19971e-09
Minuit parameter uncertainties:
  1  35.6852
  2  0.66197
  3  0.242091
  4  0.128417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175615': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8013.32504186
delta logL = 0.439218047233

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  2.385e+01  3.569e+01  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  2.724e+00  6.620e-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:  1.149e+00  1.284e-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.982e-01  2.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 255.558 26.712
Photon Index (Free Index): 2.72 +/- 0.66
Photon Flux (Free Index): 8.05e-08 +/- 6.30e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.31e-05

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/175615/cmap_HighResolution_682819201_683078401_4FGL_J1702.2+2642_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.19e-03', comment='SUCCESS', photon_flux='4.02e-08', energy_flux2='1.90e-05', photon_flux_error='3.58e-08', dlogl='4.39e-01', energy_flux='2.12e-05', photon_flux2='8.05e-08', job_status='DONE', time_completed='2022-09-16 20:09:12.356767', photon_index_error2='0.66', photon_index2='2.72', ts='2.48', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.31e-05', EG='0.74', time_epoch_completed='1663384152.36', return_code='0', job_id='175615', GAL2='1.15', EG2='0.70', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='6.30e-08', ts2='3.39', photon_index='2.12' WHERE bin_id='1711' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:09:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 175615: <4FGL_J1702.2+2642_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1711> 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) <bullet0202>, 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:09:13 2022
Results reported at Fri Sep 16 20:09:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1711 255.558 26.7116 682819201 683078401 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 :                                   631.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            832 sec.

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

