/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 8 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1313
RA = 255.558, Dec = 26.7116
tmin = 579657601, tmax = 579916801
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='319958', job_status='RUN', time_executed='2021-09-16 11:43:11.062099', time_epoch_executed='1631817791.06' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1313'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319958/ft1_4FGL_J1702.2+2642_daily_bin1313.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319958/ft1_4FGL_J1702.2+2642_daily_bin1313.fits outfile=/scratch/kocevski/319958/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1313.fits ra=255.558 dec=26.7116 rad=12.0 tmin=579657601.0 tmax=579916801.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.50
user 3.21
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits" evtable="EVENTS" scfile=/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits sctable="SC_DATA" outfile=/scratch/kocevski/319958/ltcube_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.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/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits
.....................!
real 15.13
user 14.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits evtable="EVENTS" scfile=/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits sctable="SC_DATA" expcube=/scratch/kocevski/319958/ltcube_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits outfile=/scratch/kocevski/319958/expmap_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.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/319958/ltcube_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits
.....................!
real 192.81
user 187.12
sys 4.56

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/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits scfile=/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits outfile=/scratch/kocevski/319958/cmap_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits scfile=/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits outfile=/scratch/kocevski/319958/cmap_HighResolution_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.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.57
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits', '/scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits', expMap='/scratch/kocevski/319958/expmap_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits', expCube='/scratch/kocevski/319958/ltcube_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319958/Model_4FGL_J1702.2+2642_daily_bin1313.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  1.000e-04  1.000e+04 ( 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/319958/ft1_filtered_4FGL_J1702.2+2642_daily_bin1313.fits
Spacecraft file(s): /scratch/kocevski/319958/ft2_4FGL_J1702.2+2642_daily_bin1313.fits
Exposure map: /scratch/kocevski/319958/expmap_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits
Exposure cube: /scratch/kocevski/319958/ltcube_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319958/Model_4FGL_J1702.2+2642_daily_bin1313.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) = 7451.31523818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.749       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.611       1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.833       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14563E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.248       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11654E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4300       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .56496       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0732       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.

 FCN=   7451.311     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1459 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.749        14.698       -.42559E-06   -.30933E-03
   2  Prefactor     17.614        17.735        .55980E-06   -.29379E-04
   3  Prefactor     31.825        16.801       -.67238E-06    .20135E-03
   4  Prefactor     .10000E-03    4.2002       -.11626E-05** at limit **
   5  Prefactor     14.215        25.346        .96150E-05   -.15515E-04
   6  Prefactor     .10000E-03    68.211       -.11351E-05** at limit **
   7  Prefactor     .10000E-03    3.5882       -.60555E-07** at limit **
   8  norm          .10000E-03    1.6257        .10494E-07** at limit **
   9  norm          .10000E-03    198.62       -.69385E-05** at limit **
  10  Prefactor     .10000E-03    45.149       -.35933E-06** at limit **
  11  Prefactor     25.359        33.889       -.11715E-05    .16983E-04
  12  Prefactor     7.4307        12.142       -.21529E-05    .44135E-04
  13  Prefactor     .10000E-03    18.177       -.13613E-06** at limit **
  14  Prefactor     .10000E-03    2.8737        .58964E-07** at limit **
  15  Normalizat    .56487        .19700       -.68162E-06    .94225E-04
  16  Prefactor     1.0732        .10385       -.13450E-07    .33670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7486
  Prefactor  = 17.6137
  Prefactor  = 31.8246
  Prefactor  = 0.000100003
  Prefactor  = 14.2147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 25.359
  Prefactor  = 7.43075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.564866
  Prefactor  = 1.07316
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.311     FROM HESSE     STATUS=OK           199 CALLS     1658 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.749        14.818        .52145E-03   -1.4940    
   2  Prefactor     17.614        17.742        .95438E-04   -1.4868    
   3  Prefactor     31.825        16.629        .71018E-04   -1.4579    
   4  Prefactor     .10000E-03    11.368        .33222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.215        25.235        .10611E-03   -1.4954    
   6  Prefactor     .10000E-03    68.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5935        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6722        .21486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    199.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    45.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.359        33.905        .79542E-04   -1.4700    
  12  Prefactor     7.4307        12.128        .14714E-03   -1.5163    
  13  Prefactor     .10000E-03    18.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8786        .14291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .56487        .21996        .38480E-03   -1.0950    
  16  Prefactor     1.0732        .11747        .15474E-03   -.90329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49182e-10
Minuit parameter uncertainties:
  1  14.8214
  2  17.7476
  3  16.6313
  4  0.000399018
  5  25.2535
  6  9.55466e-05
  7  2.10085e-06
  8  4.07387e-07
  9  0.000655392
  10  3.11051e-05
  11  33.9307
  12  12.1323
  13  1.46727e-05
  14  1.36994e-06
  15  0.220303
  16  0.117494
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  9.555e-05  1.000e-04  1.000e+04 ( 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.073e+00  1.175e-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:  5.649e-01  2.203e-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: 6.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319958/likelihoodResults_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.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) = 7451.31061093
delta logL = -6.90206588843e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7451.31054194
delta logL = -3.57067619916e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1685       1.0000          .0000       10.000    
     3 'Normalizat'    .56487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0732       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=   7451.311     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      246 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    904.91        .90712E-02** at limit **
   2  Index         2.1421        8.8032        .50000        .29190E-05
   3  Normalizat    .56487        .17913E-01    .86870E-01    .44987E-04
   4  Prefactor     1.0732        .97531E-02    .38710E-01   -.14124E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.14212
  Normalizat = 0.564867
  Prefactor  = 1.07315
 **********
 **   18 **HESSE 
 **********

 FCN=   7451.311     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8888.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1421        6.0071        .50000       -.60843    
   3  Normalizat    .56487        .87427E-01    .38480E-03   -1.0950    
   4  Prefactor     1.0732        .47738E-01    .15474E-03   -.90329    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.07565e-11
Minuit parameter uncertainties:
  1  0.0045581
  2  54.575
  3  0.0874483
  4  0.0477401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319958': 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) = 7451.31054192
delta logL = -1.5156729205e-08

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  4.558e-03  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.142e+00  5.457e+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.073e+00  4.774e-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:  5.649e-01  8.745e-02  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/319958/cmap_HighResolution_579657601_579916801_4FGL_J1702.2+2642_daily_bin1313.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.50e-08', time_completed='2021-09-16 11:53:35.952892', job_id='319958', GAL2='1.07', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1631818415.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1313' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:53:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 319958: <4FGL_J1702.2+2642_daily_bin1313> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1313> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 16 11:40:47 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:42:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 16 11:42:54 2021
Terminated at Thu Sep 16 11:53:36 2021
Results reported at Thu Sep 16 11:53:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1313 255.558 26.7116 579657601 579916801 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 :                                   623.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            769 sec.

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

