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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin711
RA = 255.558, Dec = 26.7116
tmin = 423619201, tmax = 423878401
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='316811', job_status='RUN', time_executed='2021-09-16 11:30:41.440242', time_epoch_executed='1631817041.44' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316811/ft1_4FGL_J1702.2+2642_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316811/ft2_4FGL_J1702.2+2642_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316811/ft1_4FGL_J1702.2+2642_daily_bin711.fits outfile=/scratch/kocevski/316811/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin711.fits ra=255.558 dec=26.7116 rad=12.0 tmin=423619201.0 tmax=423878401.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 5.78
user 5.51
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316811/ft1_filtered_4FGL_J1702.2+2642_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/316811/ft2_4FGL_J1702.2+2642_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/316811/ltcube_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.fits outfile=/scratch/kocevski/316811/expmap_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.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/316811/ltcube_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.fits
.....................!
real 193.21
user 187.33
sys 5.26

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/316811/ft1_filtered_4FGL_J1702.2+2642_daily_bin711.fits scfile=/scratch/kocevski/316811/ft2_4FGL_J1702.2+2642_daily_bin711.fits outfile=/scratch/kocevski/316811/cmap_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.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.39
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    84.976       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10665E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5191       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.309       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .62521E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.212       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1450       1.0000         .10000E-03   10000.    
     9 'norm      '    82.077       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    107.18       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.202       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5078       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .38358       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2815       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=   2704.709     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1466 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     84.946        52.804        .21393E-05   -.43861E-05
   2  Prefactor     .10000E-03    64.664        .22411E-05** at limit **
   3  Prefactor     .10000E-03    9.4335       -.59703E-07** at limit **
   4  Prefactor     5.5157        10.520        .92052E-06   -.73691E-05
   5  Prefactor     48.365        59.287       -.54420E-05   -.15791E-04
   6  Prefactor     .10000E-03    384.68        .20986E-04** at limit **
   7  Prefactor     42.203        32.975        .91075E-06   -.86682E-05
   8  norm          3.1443        3.7776        .63878E-08   -.11768E-04
   9  norm          82.070        164.50        .11877E-05   -.15858E-05
  10  Prefactor     .10000E-03    48.928       -.44454E-05** at limit **
  11  Prefactor     107.17        93.749        .65865E-06   -.53005E-05
  12  Prefactor     17.202        29.102       -.38347E-07   -.47386E-05
  13  Prefactor     .10000E-03    40.284        .19330E-05** at limit **
  14  Prefactor     1.4944        49.581        .98394E-05   -.32042E-05
  15  Normalizat    .38382        .42428        .16162E-05   -.29421E-04
  16  Prefactor     1.2814        .23772       -.10434E-05   -.82089E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 84.9462
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.51566
  Prefactor  = 48.3654
  Prefactor  = 0.000100001
  Prefactor  = 42.203
  norm       = 3.14432
  norm       = 82.0705
  Prefactor  = 0.0001
  Prefactor  = 107.171
  Prefactor  = 17.202
  Prefactor  = 0.0001
  Prefactor  = 1.49442
  Normalizat = 0.383819
  Prefactor  = 1.28143
 **********
 **   18 **HESSE 
 **********

 FCN=   2704.709     FROM HESSE     STATUS=OK           199 CALLS     1665 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     84.946        52.619        .21789E-03   -1.3862    
   2  Prefactor     .10000E-03    65.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.4385        .15602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5157        10.505        .17102E-03   -1.5238    
   5  Prefactor     48.365        59.341        .57693E-04   -1.4316    
   6  Prefactor     .10000E-03    387.76        .21042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.203        33.037        .61701E-04   -1.4408    
   8  norm          3.1443        3.7741        .10763E-03   -1.5353    
   9  norm          82.070        165.06        .44335E-04   -1.3894    
  10  Prefactor     .10000E-03    48.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     107.17        93.756        .38846E-04   -1.3634    
  12  Prefactor     17.202        29.097        .96567E-04   -1.4878    
  13  Prefactor     .10000E-03    40.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4944        49.657        .17422E-02   -1.5463    
  15  Normalizat    .38382        .41008        .51902E-03   -1.1815    
  16  Prefactor     1.2814        .23450        .16285E-03   -.83861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17414e-10
Minuit parameter uncertainties:
  1  52.6479
  2  4.26427e-05
  3  3.05679e-06
  4  10.509
  5  59.4136
  6  0.000927407
  7  33.0517
  8  3.77442
  9  165.998
  10  2.02625e-05
  11  93.8856
  12  29.1206
  13  3.11288e-06
  14  17.2438
  15  0.413343
  16  0.234695
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  9.274e-04  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.281e+00  2.347e-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:  3.838e-01  4.133e-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: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316811/likelihoodResults_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.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) = 2704.70943167
delta logL = -1.2135653833e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2704.70943167
delta logL = -1.21352072711e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1191       1.0000          .0000       10.000    
     3 'Normalizat'    .38382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2814       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=   2704.709     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      221 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10020E-03    .56368        .13257    ** at limit **
   2  Index         2.2508        5.8449        .50000       -.28844E-05
   3  Normalizat    .38381        .67573E-03    .11717        .81555E-04
   4  Prefactor     1.2814        .37379E-03    .32941E-01    .41503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100204
  Index      = 2.25082
  Normalizat = 0.383814
  Prefactor  = 1.28143
 **********
 **   18 **HESSE 
 **********

 FCN=   2704.709     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      262 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10020E-03    .53186        .13664       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2508        5.8067        .50000       -.58217    
   3  Normalizat    .38381        .66948E-03    .51902E-03   -1.1815    
   4  Prefactor     1.2814        .37126E-03    .16285E-03   -.83861    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.85263e-11
Minuit parameter uncertainties:
  1  0.000659249
  2  9.73202
  3  0.000669477
  4  0.000371256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316811': 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) = 2704.70941945
delta logL = 8.98858161236e-08

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.002e-04  6.592e-04  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.251e+00  9.732e+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:  1.281e+00  3.713e-04  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:  3.838e-01  6.695e-04  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/316811/cmap_HighResolution_423619201_423878401_4FGL_J1702.2+2642_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2021-09-16 11:38:13.362683', job_id='316811', GAL2='1.28', fit_tolerance='1e-08', EG2='0.38', EG='0.38', time_epoch_completed='1631817493.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='8.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='711' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:38:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 316811: <4FGL_J1702.2+2642_daily_bin711> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin711> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Thu Sep 16 11:30:23 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:30:33 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:30:33 2021
Terminated at Thu Sep 16 11:38:14 2021
Results reported at Thu Sep 16 11:38:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin711 255.558 26.7116 423619201 423878401 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 :                                   449.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   460 sec.
    Turnaround time :                            471 sec.

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

