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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin674
RA = 255.558, Dec = 26.7116
tmin = 414028801, tmax = 414288001
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='315770', job_status='RUN', time_executed='2021-09-16 11:29:30.429505', time_epoch_executed='1631816970.43' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/315770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/315770/ft1_4FGL_J1702.2+2642_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/315770/ft2_4FGL_J1702.2+2642_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/315770/ft1_4FGL_J1702.2+2642_daily_bin674.fits outfile=/scratch/kocevski/315770/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin674.fits ra=255.558 dec=26.7116 rad=12.0 tmin=414028801.0 tmax=414288001.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.25
user 4.97
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/315770/ft1_filtered_4FGL_J1702.2+2642_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/315770/ft2_4FGL_J1702.2+2642_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/315770/ltcube_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.fits outfile=/scratch/kocevski/315770/expmap_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.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/315770/ltcube_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.fits
.....................!
real 191.48
user 186.13
sys 4.90

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/315770/ft1_filtered_4FGL_J1702.2+2642_daily_bin674.fits scfile=/scratch/kocevski/315770/ft2_4FGL_J1702.2+2642_daily_bin674.fits outfile=/scratch/kocevski/315770/cmap_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.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.56
user 0.39
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1529       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.687       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7239       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59180E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.470       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7931       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0426       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1008       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=   10464.85     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1477 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1565        27.502        .12515E-04    .20444E-03
   2  Prefactor     41.691        26.584        .41961E-06    .56247E-05
   3  Prefactor     .10000E-03    13.801        .27134E-08** at limit **
   4  Prefactor     2.7220        4.3957        .55557E-05    .15556E-02
   5  Prefactor     .10273E-03    35.590       -.20110E-04** at limit **
   6  Prefactor     .10000E-03    9.5550        .25559E-08** at limit **
   7  Prefactor     24.468        11.153       -.24973E-07    .96862E-04
   8  norm          .10000E-03    .66793        .20792E-07** at limit **
   9  norm          .10000E-03    33.305       -.66999E-06** at limit **
  10  Prefactor     .10000E-03    116.00       -.16834E-04** at limit **
  11  Prefactor     .10000E-03    14.688        .18121E-06** at limit **
  12  Prefactor     71.766        44.811        .56518E-06    .23251E-04
  13  Prefactor     .10000E-03    47.007        .20813E-05** at limit **
  14  Prefactor     4.7936        5.8471        .14303E-06    .11732E-04
  15  Normalizat    1.0424        .20346       -.27398E-05    .37733E-03
  16  Prefactor     1.1008        .98205E-01   -.87144E-07    .57771E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15647
  Prefactor  = 41.6913
  Prefactor  = 0.0001
  Prefactor  = 2.72201
  Prefactor  = 0.000102727
  Prefactor  = 0.0001
  Prefactor  = 24.4678
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 71.7661
  Prefactor  = 0.0001
  Prefactor  = 4.79364
  Normalizat = 1.04241
  Prefactor  = 1.10084
 **********
 **   18 **HESSE 
 **********

 FCN=   10464.85     FROM HESSE     STATUS=OK           201 CALLS     1678 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1565        27.722        .14040E-02   -1.5414    
   2  Prefactor     41.691        26.648        .62087E-04   -1.4416    
   3  Prefactor     .10000E-03    13.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7220        4.5675        .12337E-02   -1.5378    
   5  Prefactor     .10273E-03    152.61        .82308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.468        11.160        .80977E-04   -1.4718    
   8  norm          .10000E-03    .68110        .81621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    33.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    115.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.766        44.803        .47390E-04   -1.4012    
  13  Prefactor     .10000E-03    47.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.7936        5.8438        .18377E-03   -1.5270    
  15  Normalizat    1.0424        .23739        .36476E-03   -.91623    
  16  Prefactor     1.1008        .11553        .17629E-03   -.89440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81498e-08
Minuit parameter uncertainties:
  1  15.4722
  2  26.6551
  3  4.36473e-05
  4  4.56812
  5  0.040904
  6  4.37061e-06
  7  11.1612
  8  1.80271e-06
  9  1.26651e-05
  10  0.000693276
  11  1.39081e-05
  12  44.8242
  13  0.000140783
  14  5.84446
  15  0.237632
  16  0.115554
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  4.371e-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:  1.101e+00  1.156e-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.042e+00  2.376e-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: 3.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/315770/likelihoodResults_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.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) = 10464.848701
delta logL = -0.000498286193761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10464.8482025
delta logL = 2.40328517975e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0835       1.0000          .0000       10.000    
     3 'Normalizat'    1.0424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1008       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=   10464.85     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      249 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10275E-03    4.5910        .18142E-01** at limit **
   2  Index         2.0053        5.7877        .50000        .24066E-04
   3  Normalizat    1.0424        .31739E-02    .36476E-03    .24311E-05
   4  Prefactor     1.1008        .15820E-02    .17629E-03   -.86417E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102751
  Index      = 2.00534
  Normalizat = 1.04241
  Prefactor  = 1.10084
 **********
 **   18 **HESSE 
 **********

 FCN=   10464.85     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10275E-03    42.449        .33402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0053        8.6444        .50000       -.64217    
   3  Normalizat    1.0424        .96845E-02    .14590E-04   -.91623    
   4  Prefactor     1.1008        .48272E-02    .70514E-05   -.89440    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.67832e-09
Minuit parameter uncertainties:
  1  0.0216284
  2  169.398
  3  0.00968457
  4  0.00482717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/315770': 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) = 10464.8482021
delta logL = 6.39338395558e-07

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.028e-04  2.163e-02  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  2.005e+00  1.694e+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.101e+00  4.827e-03  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.042e+00  9.685e-03  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/315770/cmap_HighResolution_414028801_414288001_4FGL_J1702.2+2642_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.85e-08', time_completed='2021-09-16 11:41:56.702037', job_id='315770', GAL2='1.10', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631817716.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='6.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='674' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:41:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 315770: <4FGL_J1702.2+2642_daily_bin674> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin674> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep 16 11:25:23 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:29:13 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:29:13 2021
Terminated at Thu Sep 16 11:41:57 2021
Results reported at Thu Sep 16 11:41:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin674 255.558 26.7116 414028801 414288001 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 :                                   748.18 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             339.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            994 sec.

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

