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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1780
RA = 255.558, Dec = 26.7116
tmin = 700704001, tmax = 700963201
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='70814', job_status='RUN', time_executed='2023-03-20 01:22:24.297424', time_epoch_executed='1679300544.3' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70814

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70814/ft1_4FGL_J1702.2+2642_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70814/ft1_4FGL_J1702.2+2642_daily_bin1780.fits outfile=/scratch/kocevski/70814/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1780.fits ra=255.558 dec=26.7116 rad=12.0 tmin=700704001.0 tmax=700963201.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.10
user 3.88
sys 0.21

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

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

Number of photons that the gtmktime cut: 984

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70814/ft1_filtered_4FGL_J1702.2+2642_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/70814/ltcube_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.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/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits
.....................!
real 12.26
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70814/ft1_filtered_4FGL_J1702.2+2642_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/70814/ltcube_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.fits outfile=/scratch/kocevski/70814/expmap_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.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/70814/ltcube_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.fits
.....................!
real 191.23
user 185.95
sys 4.95

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/70814/ft1_filtered_4FGL_J1702.2+2642_daily_bin1780.fits scfile=/scratch/kocevski/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits outfile=/scratch/kocevski/70814/cmap_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70814/ft1_filtered_4FGL_J1702.2+2642_daily_bin1780.fits scfile=/scratch/kocevski/70814/ft2_4FGL_J1702.2+2642_daily_bin1780.fits outfile=/scratch/kocevski/70814/cmap_HighResolution_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66954E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10787E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.665       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1881       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2485       1.0000          .0000       .10000E+07
     6 'Prefactor '    30.282       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27156E-04   1.0000          .0000       .10000E+07
     8 'norm      '    1.6539       1.0000          .0000       .10000E+07
     9 'norm      '    76.544       1.0000          .0000       .10000E+07
    10 'Prefactor '    .48012E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55719E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .69805E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .94313E-06   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1543       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91812       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=   10700.36     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      808 TOTAL
                     EDM=   .83E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.3453       -.21631E-06** at limit **
   2  Prefactor      .0000        2.8119       -.45195E-07** at limit **
   3  Prefactor     15.713        13.038       -.49587E-07   -.58991E-03
   4  Prefactor     2.2182        4.1869        .22511E-06   -.28029E-03
   5  Prefactor     6.1732        1.1944        .17926E-07   -.12926E-02
   6  Prefactor     28.838        5.8816        .43027E-07    .19012E-01
   7  Prefactor      .0000        2.6652        .97530E-08** at limit **
   8  norm          1.6512        1.9616       -.77818E-07    .59175E-04
   9  norm          79.055        49.007        .20349E-06   -.20458E-03
  10  Prefactor     .94924E-08    26.343        .41956E-06** at limit **
  11  Prefactor      .0000        14.002        .21675E-06** at limit **
  12  Prefactor     .34972E-08    30.937        .94421E-07** at limit **
  13  Prefactor      .0000        6.4047       -.44194E-06** at limit **
  14  Normalizat    1.1548        .20033       -.57652E-05   -.81596E-05
  15  Prefactor     .91805        .10430        .43132E-05   -.36304E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.7135
  Prefactor  = 2.21819
  Prefactor  = 6.17321
  Prefactor  = 28.8377
  Prefactor  = 0
  norm       = 1.65121
  norm       = 79.0551
  Prefactor  = 9.49241e-09
  Prefactor  = 0
  Prefactor  = 3.4972e-09
  Prefactor  = 0
  Normalizat = 1.1548
  Prefactor  = 0.918053
 **********
 **   18 **HESSE 
 **********

 FCN=   10700.36     FROM HESSE     STATUS=OK           210 CALLS     1018 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.3399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.8151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.713        13.046        .25279E-03   -1.5629    
   4  Prefactor     2.2182        4.2839        .69553E-03   -1.5678    
   5  Prefactor     6.1732        22.874        .40134E-03   -1.5658    
   6  Prefactor     28.838        24.723        .18175E-03   -1.5601    
   7  Prefactor      .0000        2.6695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6512        1.9735        .82043E-03   -1.5682    
   9  norm          79.055        49.000        .11431E-03   -1.5530    
  10  Prefactor     .94924E-08    27.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        14.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .34972E-08    31.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.3838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1548        .16754        .69749E-01   -.88011    
  15  Prefactor     .91805        .87474E-01    .45236E-01   -.95513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.773e-07
Minuit parameter uncertainties:
  1  4.74233e-06
  2  3.20582e-06
  3  13.046
  4  4.28393
  5  22.874
  6  24.723
  7  9.05337e-07
  8  1.97346
  9  49.0005
  10  0.00102312
  11  2.32954e-06
  12  0.00066083
  13  7.35045e-06
  14  0.167618
  15  0.0874873
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  2.884e+01  2.472e+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:  9.181e-01  8.749e-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:  1.155e+00  1.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 255.558 26.712
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 9.86e-06

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

Saving results to:
/scratch/kocevski/70814/likelihoodResults_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.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) = 10700.2230515
delta logL = 0.137817133715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10700.214095
delta logL = 0.146773651963

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.971       1.0000          .0000       .10000E+07
     2 'Index     '    1.7982       1.0000          .0000       10.000    
     3 'Normalizat'    1.1612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91676       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=   10700.21     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      306 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.978        36.849        .32041E-04    .39456E-03
   2  Index         1.7982        .58304        .11164E-01    .34923E-03
   3  Normalizat    1.1613        .19669        .30787E-03   -.91653E-04
   4  Prefactor     .91669        .10332        .17865E-03   -.12088E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.9776
  Index      = 1.79815
  Normalizat = 1.16133
  Prefactor  = 0.916687
 **********
 **   18 **HESSE 
 **********

 FCN=   10700.21     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.978        36.209        .12816E-05   -1.5583    
   2  Index         1.7982        .57317        .22328E-02   -.69498    
   3  Normalizat    1.1613        .19682        .12315E-04   -.87806    
   4  Prefactor     .91669        .10340        .35731E-04   -.95560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12671e-11
Minuit parameter uncertainties:
  1  36.209
  2  0.575323
  3  0.19695
  4  0.103425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70814': 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) = 10700.2140947
delta logL = 0.146773895454

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.898e+01  3.621e+01  0.000e+00  1.000e+06 ( 1.000e-14)
291        Index:  1.798e+00  5.753e-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.167e-01  1.034e-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:  1.161e+00  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 255.558 26.712
Photon Index (Free Index): 1.80 +/- 0.58
Photon Flux (Free Index): 1.48e-08 +/- 1.77e-08
Energy Flux (Free Index): 1.79e-05 +/- 2.27e-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/70814/cmap_HighResolution_700704001_700963201_4FGL_J1702.2+2642_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='1.79e-05', photon_flux_error='1.87e-08', dlogl='1.47e-01', energy_flux='1.15e-05', photon_flux2='1.48e-08', job_status='DONE', time_completed='2023-03-20 01:32:58.685363', photon_index_error2='0.58', photon_index2='1.80', ts='3.19', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='7.03e-08', energy_flux_error2='2.27e-05', EG='1.15', time_epoch_completed='1679301178.69', return_code='0', job_id='70814', GAL2='0.92', EG2='1.16', return_code2='0', energy_flux_error='9.86e-06', photon_flux_error2='1.77e-08', ts2='3.48', photon_index='2.12' WHERE bin_id='1780' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:32:58 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 70814: <4FGL_J1702.2+2642_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Mar 20 01:20:14 2023
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:20:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:20:14 2023
Terminated at Mon Mar 20 01:32:59 2023
Results reported at Mon Mar 20 01:32:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1780 255.558 26.7116 700704001 700963201 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 :                                   637.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            765 sec.

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

