/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 205 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 = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1550
RA = 255.558, Dec = 26.7116
tmin = 641088001, tmax = 641347201
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='321325', job_status='RUN', time_executed='2021-09-16 11:50:11.371042', time_epoch_executed='1631818211.37' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/321325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/321325/ft1_4FGL_J1702.2+2642_daily_bin1550.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/321325/ft1_4FGL_J1702.2+2642_daily_bin1550.fits outfile=/scratch/kocevski/321325/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1550.fits ra=255.558 dec=26.7116 rad=12.0 tmin=641088001.0 tmax=641347201.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 2.57
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.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/321325/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1550.fits evtable="EVENTS" outfile="/scratch/kocevski/321325/ft1_filtered_4FGL_J1702.2+2642_daily_bin1550.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.47
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/321325/ft1_filtered_4FGL_J1702.2+2642_daily_bin1550.fits" evtable="EVENTS" scfile=/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits sctable="SC_DATA" outfile=/scratch/kocevski/321325/ltcube_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.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/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits
.....................!
real 12.93
user 12.60
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/321325/ft1_filtered_4FGL_J1702.2+2642_daily_bin1550.fits evtable="EVENTS" scfile=/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits sctable="SC_DATA" expcube=/scratch/kocevski/321325/ltcube_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.fits outfile=/scratch/kocevski/321325/expmap_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.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/321325/ltcube_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.fits
.....................!
real 156.10
user 151.98
sys 3.76

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/321325/ft1_filtered_4FGL_J1702.2+2642_daily_bin1550.fits scfile=/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits outfile=/scratch/kocevski/321325/cmap_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.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.48
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/321325/ft1_filtered_4FGL_J1702.2+2642_daily_bin1550.fits scfile=/scratch/kocevski/321325/ft2_4FGL_J1702.2+2642_daily_bin1550.fits outfile=/scratch/kocevski/321325/cmap_HighResolution_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.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.48
user 0.32
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8729       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2344       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    23.180       1.0000         .10000E-03   10000.    
    10 'Prefactor '    94.486       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.732       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.334       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.048       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0811       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92237       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=   10864.50     FROM MIGRAD    STATUS=CONVERGED    294 CALLS     1408 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3673       -.89838E-07** at limit **
   2  Prefactor     .10000E-03    7.4776        .54883E-07** at limit **
   3  Prefactor     2.8723        23.734       -.28258E-06   -.36760E-03
   4  Prefactor     3.2321        3.6565        .69594E-06   -.22269E-02
   5  Prefactor     .10000E-03    14.858       -.38971E-06** at limit **
   6  Prefactor     .10000E-03    19.467        .11423E-06** at limit **
   7  Prefactor     .10000E-03    3.9079       -.67763E-08** at limit **
   8  norm          .10000E-03    2.1577        .43606E-08** at limit **
   9  norm          23.170        44.086       -.14348E-04   -.58649E-04
  10  Prefactor     94.484        77.640       -.10552E-05   -.56893E-05
  11  Prefactor     16.729        35.495       -.33479E-05   -.17501E-04
  12  Prefactor     24.327        37.680       -.84162E-05   -.58820E-04
  13  Prefactor     28.051        51.319        .37683E-05   -.23548E-05
  14  Prefactor     .10000E-03    2.2786        .20007E-07** at limit **
  15  Normalizat    1.0811        .16573        .31482E-06    .38112E-04
  16  Prefactor     .92240        .85426E-01    .45316E-06   -.25048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.87232
  Prefactor  = 3.23213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 23.17
  Prefactor  = 94.484
  Prefactor  = 16.7291
  Prefactor  = 24.3269
  Prefactor  = 28.0507
  Prefactor  = 0.0001
  Normalizat = 1.08106
  Prefactor  = 0.922401
 **********
 **   18 **HESSE 
 **********

 FCN=   10864.50     FROM HESSE     STATUS=OK           199 CALLS     1607 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.5081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8723        25.518        .11991E-02   -1.5369    
   4  Prefactor     3.2321        5.9813        .11261E-02   -1.5348    
   5  Prefactor     .10000E-03    14.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2544        .29876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.170        44.247        .83197E-04   -1.4745    
  10  Prefactor     94.484        77.913        .41347E-04   -1.3761    
  11  Prefactor     16.729        35.510        .97915E-04   -1.4890    
  12  Prefactor     24.327        37.773        .81204E-04   -1.4721    
  13  Prefactor     28.051        51.249        .75646E-04   -1.4648    
  14  Prefactor     .10000E-03    2.2823        .15365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0811        .19974        .31549E-03   -.90362    
  16  Prefactor     .92240        .10149        .17699E-03   -.95363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13403e-09
Minuit parameter uncertainties:
  1  5.06296e-06
  2  5.11588e-06
  3  17.1319
  4  5.98239
  5  2.13826e-05
  6  9.67667e-06
  7  3.10754e-06
  8  5.50816e-06
  9  44.3098
  10  77.9977
  11  35.5551
  12  37.8104
  13  51.3294
  14  3.31494e-06
  15  0.199876
  16  0.101513
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  9.677e-06  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:  9.224e-01  1.015e-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.081e+00  1.999e-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: 5.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/321325/likelihoodResults_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.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) = 10864.5015241
delta logL = -0.000244347258558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10864.5012798
delta logL = 4.4092303142e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1125       1.0000          .0000       10.000    
     3 'Normalizat'    1.0811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92240       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=   10864.50     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6158.9        .90712E-02** at limit **
   2  Index         2.1060        7.7398        .50000        .26871E-05
   3  Normalizat    1.0811        .59190E-01    .71298E-01    .16469E-04
   4  Prefactor     .92240        .31092E-01    .45290E-01   -.93215E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10598
  Normalizat = 1.08106
  Prefactor  = 0.922402
 **********
 **   18 **HESSE 
 **********

 FCN=   10864.50     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1899.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1060        8.9202        .50000       -.61726    
   3  Normalizat    1.0811        .50475E-01    .31549E-03   -.90362    
   4  Prefactor     .92240        .26551E-01    .17699E-03   -.95363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.83154e-10
Minuit parameter uncertainties:
  1  0.000216438
  2  41.7182
  3  0.050477
  4  0.0265519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/321325': 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) = 10864.5012798
delta logL = 8.91122908797e-09

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  2.164e-04  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.106e+00  4.172e+01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  2.408e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.224e-01  2.655e-02  0.000e+00  1.000e+01 ( 1.000e+00)
658        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
659        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
656   Normalization:  1.081e+00  5.048e-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/321325/cmap_HighResolution_641088001_641347201_4FGL_J1702.2+2642_daily_bin1550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-03', job_status='DONE', photon_flux_upper_limit='5.10e-08', time_completed='2021-09-16 12:00:14.129193', job_id='321325', GAL2='0.92', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1631818814.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.91e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1550' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 12:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 321325: <4FGL_J1702.2+2642_daily_bin1550> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1550 255.558 26.7116 641088001 641347201 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 :                                   600.53 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             295.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            891 sec.

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

