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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1518
RA = 255.558, Dec = 26.7116
tmin = 632793601, tmax = 633052801
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='321280', job_status='RUN', time_executed='2021-09-16 11:49:58.538706', time_epoch_executed='1631818198.54' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/321280

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/321280/ft1_4FGL_J1702.2+2642_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/321280/ft2_4FGL_J1702.2+2642_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/321280/ft1_4FGL_J1702.2+2642_daily_bin1518.fits outfile=/scratch/kocevski/321280/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1518.fits ra=255.558 dec=26.7116 rad=12.0 tmin=632793601.0 tmax=633052801.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.66
user 3.36
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/321280/ft1_filtered_4FGL_J1702.2+2642_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/321280/ft2_4FGL_J1702.2+2642_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/321280/ltcube_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.fits outfile=/scratch/kocevski/321280/expmap_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.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/321280/ltcube_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.fits
.....................!
real 192.78
user 186.27
sys 4.19

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/321280/ft1_filtered_4FGL_J1702.2+2642_daily_bin1518.fits scfile=/scratch/kocevski/321280/ft2_4FGL_J1702.2+2642_daily_bin1518.fits outfile=/scratch/kocevski/321280/cmap_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.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/321280/ft1_filtered_4FGL_J1702.2+2642_daily_bin1518.fits scfile=/scratch/kocevski/321280/ft2_4FGL_J1702.2+2642_daily_bin1518.fits outfile=/scratch/kocevski/321280/cmap_HighResolution_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.215       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16436E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1478       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19492E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    42.775       1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.064       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.178       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8141       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .67356       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0506       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=   8130.024     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1487 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.213        17.205       -.23997E-05   -.30801E-03
   2  Prefactor     .10000E-03    4.9854       -.10859E-06** at limit **
   3  Prefactor     .10000E-03    10.519        .13575E-05** at limit **
   4  Prefactor     .10000E-03    11.560       -.10299E-05** at limit **
   5  Prefactor     1.0236        21.493       -.54853E-05   -.19574E-03
   6  Prefactor     .10000E-03    10.555       -.17424E-05** at limit **
   7  Prefactor     .10246E-03    7.8604        .64296E-06** at limit **
   8  norm          .10000E-03    .87790       -.54246E-07** at limit **
   9  norm          42.772        46.349       -.26137E-05   -.47867E-06
  10  Prefactor     41.940        80.932       -.15850E-03    .43964E-05
  11  Prefactor     .10000E-03    29.204        .59746E-06** at limit **
  12  Prefactor     49.170        43.569       -.29924E-05    .63545E-04
  13  Prefactor     .10000E-03    60.801       -.11065E-04** at limit **
  14  Prefactor     5.8128        8.9577       -.67698E-08   -.11157E-03
  15  Normalizat    .67390        .18683        .10521E-04    .26733E-03
  16  Prefactor     1.0506        .99896E-01    .35337E-06    .81076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.02358
  Prefactor  = 0.0001
  Prefactor  = 0.000102459
  norm       = 0.0001
  norm       = 42.7723
  Prefactor  = 41.94
  Prefactor  = 0.0001
  Prefactor  = 49.1702
  Prefactor  = 0.000100001
  Prefactor  = 5.81284
  Normalizat = 0.6739
  Prefactor  = 1.05058
 **********
 **   18 **HESSE 
 **********

 FCN=   8130.024     FROM HESSE     STATUS=OK           203 CALLS     1690 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.213        17.229        .43480E-03   -1.4786    
   2  Prefactor     .10000E-03    4.9971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.904        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0236        172.27        .77220E-02   -1.5506    
   6  Prefactor     .10000E-03    10.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10246E-03    87.201        .48303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .88818        .82484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          42.772        46.378        .61295E-04   -1.4399    
  10  Prefactor     41.940        81.137        .30904E-03   -1.4412    
  11  Prefactor     .10000E-03    29.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.170        43.527        .57183E-04   -1.4304    
  13  Prefactor     .10000E-03    60.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8128        8.9609        .16656E-03   -1.5226    
  15  Normalizat    .67390        .21496        .35846E-03   -1.0493    
  16  Prefactor     1.0506        .11609        .15822E-03   -.91062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91725e-08
Minuit parameter uncertainties:
  1  17.2327
  2  1.95347e-05
  3  0.000140574
  4  0.000289574
  5  26.6351
  6  2.22719e-05
  7  0.0293287
  8  6.55643e-06
  9  46.4167
  10  81.3519
  11  7.09557e-05
  12  43.5548
  13  0.000495609
  14  8.963
  15  0.21523
  16  0.116118
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  2.227e-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.051e+00  1.161e-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.739e-01  2.152e-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: 4.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/321280/likelihoodResults_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.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) = 8130.02402643
delta logL = -0.000451194306152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8130.02357506
delta logL = 1.74657543539e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0878       1.0000          .0000       10.000    
     3 'Normalizat'    .67391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0506       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=   8130.024     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10191E-03    76.636        .18142E-02** at limit **
   2  Index         2.0240        6.8548        .50000        .19834E-04
   3  Normalizat    .67390        .11569E-01    .35845E-03    .20298E-05
   4  Prefactor     1.0506        .63079E-02    .15822E-03   -.63951E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101912
  Index      = 2.02397
  Normalizat = 0.673901
  Prefactor  = 1.05058
 **********
 **   18 **HESSE 
 **********

 FCN=   8130.024     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10191E-03    329.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0240        8.3633        .50000       -.63752    
   3  Normalizat    .67390        .24662E-01    .14338E-04   -1.0493    
   4  Prefactor     1.0506        .13446E-01    .63287E-05   -.91062    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30187e-08
Minuit parameter uncertainties:
  1  0.0504685
  2  442.634
  3  0.0246628
  4  0.0134465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/321280': 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) = 8130.0235748
delta logL = 4.34889443568e-07

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.019e-04  5.047e-02  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.024e+00  4.426e+02  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.051e+00  1.345e-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:  6.739e-01  2.466e-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/321280/cmap_HighResolution_632793601_633052801_4FGL_J1702.2+2642_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-03', job_status='DONE', photon_flux_upper_limit='4.12e-08', time_completed='2021-09-16 12:00:48.855707', job_id='321280', GAL2='1.05', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1631818848.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1518' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 12:00:48 PDT 2021


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

Job <4FGL_J1702.2+2642_daily_bin1518> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 16 11:45:20 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:46:14 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:46:14 2021
Terminated at Thu Sep 16 12:00:49 2021
Results reported at Thu Sep 16 12:00:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1518 255.558 26.7116 632793601 633052801 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 :                                   642.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            929 sec.

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

