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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1493
RA = 255.558, Dec = 26.7116
tmin = 626313601, tmax = 626572801
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='321244', job_status='RUN', time_executed='2021-09-16 11:47:53.452658', time_epoch_executed='1631818073.45' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/321244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/321244/ft1_4FGL_J1702.2+2642_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/321244/ft2_4FGL_J1702.2+2642_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/321244/ft1_4FGL_J1702.2+2642_daily_bin1493.fits outfile=/scratch/kocevski/321244/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1493.fits ra=255.558 dec=26.7116 rad=12.0 tmin=626313601.0 tmax=626572801.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.46
user 4.19
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/321244/ft1_filtered_4FGL_J1702.2+2642_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/321244/ft2_4FGL_J1702.2+2642_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/321244/ltcube_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.fits outfile=/scratch/kocevski/321244/expmap_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.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/321244/ltcube_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.fits
.....................!
real 192.89
user 187.20
sys 5.07

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/321244/ft1_filtered_4FGL_J1702.2+2642_daily_bin1493.fits scfile=/scratch/kocevski/321244/ft2_4FGL_J1702.2+2642_daily_bin1493.fits outfile=/scratch/kocevski/321244/cmap_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/321244/ft1_filtered_4FGL_J1702.2+2642_daily_bin1493.fits scfile=/scratch/kocevski/321244/ft2_4FGL_J1702.2+2642_daily_bin1493.fits outfile=/scratch/kocevski/321244/cmap_HighResolution_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.9970       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9157       1.0000         .10000E-03   10000.    
     9 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    83.698       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.963       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.689       1.0000         .10000E-03   10000.    
    13 'Prefactor '    88.426       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3151       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4521       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .69258       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=   8097.602     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1443 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6466        16.381        .15344E-04   -.40308E-04
   2  Prefactor     .10000E-03    3.9835       -.16972E-06** at limit **
   3  Prefactor     .10000E-03    6.1365       -.59383E-05** at limit **
   4  Prefactor     .10000E-03    4.7986        .66112E-06** at limit **
   5  Prefactor     .10000E-03    10.056       -.14002E-05** at limit **
   6  Prefactor     8.9763        32.630       -.49534E-04    .30367E-06
   7  Prefactor     .10000E-03    6.5158        .63012E-05** at limit **
   8  norm          1.9157        1.9788       -.51159E-07   -.24393E-03
   9  norm          .10000E-03    29.974        .48271E-05** at limit **
  10  Prefactor     83.726        99.555        .30440E-04    .22689E-04
  11  Prefactor     20.064        71.327        .21515E-03    .12643E-03
  12  Prefactor     18.609        61.881       -.16554E-03   -.70110E-04
  13  Prefactor     88.404        116.45       -.20315E-04    .47219E-04
  14  Prefactor     6.3099        8.3672       -.47578E-05   -.20936E-03
  15  Normalizat    1.4522        .19106        .17382E-05   -.53572E-04
  16  Prefactor     .69249        .96590E-01   -.86439E-06    .24130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.64661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.97628
  Prefactor  = 0.0001
  norm       = 1.91573
  norm       = 0.0001
  Prefactor  = 83.7258
  Prefactor  = 20.0635
  Prefactor  = 18.6086
  Prefactor  = 88.4041
  Prefactor  = 6.30994
  Normalizat = 1.45223
  Prefactor  = 0.692491
 **********
 **   18 **HESSE 
 **********

 FCN=   8097.602     FROM HESSE     STATUS=OK           201 CALLS     1644 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6466        16.373        .15589E-03   -1.5192    
   2  Prefactor     .10000E-03    3.9870        .17541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.1576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.9763        32.651        .13362E-03   -1.5109    
   7  Prefactor     .10000E-03    6.5486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9157        1.9714        .12489E-03   -1.5431    
   9  norm          .10000E-03    29.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     83.726        99.644        .43907E-04   -1.3875    
  11  Prefactor     20.064        71.289        .89642E-04   -1.4812    
  12  Prefactor     18.609        61.807        .92647E-04   -1.4845    
  13  Prefactor     88.404        115.78        .21364E-03   -1.3825    
  14  Prefactor     6.3099        8.3608        .15973E-03   -1.5206    
  15  Normalizat    1.4522        .22770        .27579E-03   -.79130    
  16  Prefactor     .69249        .11508        .19223E-03   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67855e-10
Minuit parameter uncertainties:
  1  16.3843
  2  9.14428e-07
  3  2.8626e-05
  4  5.26805e-06
  5  3.1417e-06
  6  32.7165
  7  8.88665e-06
  8  1.9715
  9  5.70189e-06
  10  99.8442
  11  71.5945
  12  62.0212
  13  116.072
  14  8.36236
  15  0.227856
  16  0.115116
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  8.976e+00  3.272e+01  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:  6.925e-01  1.151e-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.452e+00  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/321244/likelihoodResults_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.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) = 8097.59473385
delta logL = 0.00718885451261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8097.59267008
delta logL = 0.00925262259807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9701       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3165       1.0000          .0000       10.000    
     3 'Normalizat'    1.4506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69288       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=   8097.593     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      268 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9708        47.052        .15196E-03    .32619E-04
   2  Index         2.3163        1.7261        .10463E-01    .33674E-04
   3  Normalizat    1.4506        .22604        .27592E-03    .17841E-04
   4  Prefactor     .69287        .11389        .19218E-03    .19403E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.97083
  Index      = 2.31627
  Normalizat = 1.45062
  Prefactor  = 0.692874
 **********
 **   18 **HESSE 
 **********

 FCN=   8097.593     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9708        33.029        .60783E-05   -1.5180    
   2  Index         2.3163        1.4605        .41851E-03   -.56657    
   3  Normalizat    1.4506        .22620        .11037E-04   -.79175    
   4  Prefactor     .69287        .11393        .76872E-05   -1.0381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69257e-11
Minuit parameter uncertainties:
  1  30.3742
  2  1.49134
  3  0.22636
  4  0.113967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/321244': 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) = 8097.59267005
delta logL = 0.00925264971829

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  6.971e+00  3.037e+01  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.316e+00  1.491e+00  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:  6.929e-01  1.140e-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.451e+00  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/321244/cmap_HighResolution_626313601_626572801_4FGL_J1702.2+2642_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-09-16 11:58:47.893657', job_id='321244', GAL2='0.69', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1631818727.89', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='9.25e-03', ts2='0.11', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1493' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:58:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 321244: <4FGL_J1702.2+2642_daily_bin1493> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1493> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 16 11:45:17 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:46:04 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:04 2021
Terminated at Thu Sep 16 11:58:48 2021
Results reported at Thu Sep 16 11:58:48 2021

Your job looked like:

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

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

