/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 82 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 = 7380
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1270
RA = 255.558, Dec = 26.7116
tmin = 568512001, tmax = 568771201
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='319896', job_status='RUN', time_executed='2021-09-16 11:44:01.507794', time_epoch_executed='1631817841.51' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319896/ft1_4FGL_J1702.2+2642_daily_bin1270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319896/ft1_4FGL_J1702.2+2642_daily_bin1270.fits outfile=/scratch/kocevski/319896/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1270.fits ra=255.558 dec=26.7116 rad=12.0 tmin=568512001.0 tmax=568771201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.57
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.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/319896/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1270.fits evtable="EVENTS" outfile="/scratch/kocevski/319896/ft1_filtered_4FGL_J1702.2+2642_daily_bin1270.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319896/ft1_filtered_4FGL_J1702.2+2642_daily_bin1270.fits" evtable="EVENTS" scfile=/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits sctable="SC_DATA" outfile=/scratch/kocevski/319896/ltcube_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.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/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits
.....................!
real 15.13
user 14.70
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319896/ft1_filtered_4FGL_J1702.2+2642_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits sctable="SC_DATA" expcube=/scratch/kocevski/319896/ltcube_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.fits outfile=/scratch/kocevski/319896/expmap_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.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/319896/ltcube_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.fits
.....................!
real 192.07
user 187.02
sys 4.49

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/319896/ft1_filtered_4FGL_J1702.2+2642_daily_bin1270.fits scfile=/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits outfile=/scratch/kocevski/319896/cmap_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319896/ft1_filtered_4FGL_J1702.2+2642_daily_bin1270.fits scfile=/scratch/kocevski/319896/ft2_4FGL_J1702.2+2642_daily_bin1270.fits outfile=/scratch/kocevski/319896/cmap_HighResolution_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=255.558 yref=26.7116 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12809E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.734       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2857       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20879       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3833       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5646       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.345       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12899E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4980       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .51389       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9014.478     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     1300 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10140E-03    42.061        .14581E-05** at limit **
   2  Prefactor     .10001E-03    12.655        .84591E-06** at limit **
   3  Prefactor     16.734        1.7437       -.19327E-06   -.17146E-02
   4  Prefactor     3.2863        4.8399       -.32670E-05   -.12045E-03
   5  Prefactor     .10000E-03    18.305        .17132E-05** at limit **
   6  Prefactor     .12881E-03    1293.0       -.18224E-04** at limit **
   7  Prefactor     5.3814        1.6796        .27668E-06    .36994E-03
   8  norm          1.5645        2.4737        .17328E-05    .13459E-03
   9  norm          .10089E-03    27.534       -.10345E-05** at limit **
  10  Prefactor     .10164E-03    28.996       -.60389E-05** at limit **
  11  Prefactor     .10001E-03    12.663        .26445E-05** at limit **
  12  Prefactor     17.282        11.618        .11016E-05   -.12228E-01
  13  Prefactor     .10051E-03    15.433       -.43649E-05** at limit **
  14  Prefactor     9.4986        1.0643        .70773E-07    .71206E-03
  15  Normalizat    .51411        .21199        .16100E-04    .64208E-04
  16  Prefactor     1.2136        .11700       -.43352E-05    .70152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001014
  Prefactor  = 0.000100011
  Prefactor  = 16.7342
  Prefactor  = 3.28628
  Prefactor  = 0.0001
  Prefactor  = 0.000128808
  Prefactor  = 5.38144
  norm       = 1.56445
  norm       = 0.000100895
  Prefactor  = 0.000101636
  Prefactor  = 0.000100012
  Prefactor  = 17.2822
  Prefactor  = 0.000100512
  Prefactor  = 9.49865
  Normalizat = 0.514107
  Prefactor  = 1.21362
 **********
 **   18 **HESSE 
 **********

 FCN=   9014.478     FROM HESSE     STATUS=OK           241 CALLS     1541 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10140E-03    43.199        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    12.576        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.734        13.518        .24477E-02   -1.4890    
   4  Prefactor     3.2863        4.8776        .55844E-02   -1.5345    
   5  Prefactor     .10000E-03    18.146        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12881E-03    25.596        .15282       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3814        13.983        .43301E-02   -1.5244    
   8  norm          1.5645        2.4985        .85015E-02   -1.5458    
   9  norm          .10089E-03    34.990        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10164E-03    40.263        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    12.675        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.282        30.632        .24042E-02   -1.4876    
  13  Prefactor     .10051E-03    36.470        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4986        12.777        .32508E-02   -1.5091    
  15  Normalizat    .51411        .19981        .97500E-01   -1.1177    
  16  Prefactor     1.2136        .10905        .34316E-01   -.85913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0979e-06
Minuit parameter uncertainties:
  1  0.0155626
  2  0.000740613
  3  13.5209
  4  4.87818
  5  3.31758e-05
  6  0.0543315
  7  13.9919
  8  2.49869
  9  0.0111972
  10  0.0162436
  11  0.000785681
  12  30.6603
  13  0.00865049
  14  12.7807
  15  0.200086
  16  0.109066
Done.

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

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.288e-04  5.433e-02  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.214e+00  1.091e-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:  5.141e-01  2.001e-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: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319896/likelihoodResults_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.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) = 9014.47818396
delta logL = -3.47649074683e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9014.47818396
delta logL = -3.4751228668e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1191       1.0000          .0000       10.000    
     3 'Normalizat'    .51410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2136       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=   9014.218     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      340 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11404        1.7368        .90712E-02    .47286E-02
   2  Index         4.4110        1.9409        .93526E-01    .27636E-03
   3  Normalizat    .46349        .28107E-01    .10248        .12317E-03
   4  Prefactor     1.2283        .15365E-01    .34317E-01    .14617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.114043
  Index      = 4.41097
  Normalizat = 0.463492
  Prefactor  = 1.22828
 **********
 **   18 **HESSE 
 **********

 FCN=   9014.218     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      375 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11404        9.7577        .41210E-03   -1.5640    
   2  Index         4.4110        7.1775        .62791E-02   -.11808    
   3  Normalizat    .46349        .12878        .45413E-03   -1.1414    
   4  Prefactor     1.2283        .68911E-01    .15731E-03   -.85465    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.32331e-08
Minuit parameter uncertainties:
  1  2.10921
  2  6.46985
  3  0.128863
  4  0.0689164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319896': 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) = 9014.21763746
delta logL = 0.260543022701

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  1.140e-01  2.109e+00  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  4.411e+00  6.470e+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.228e+00  6.892e-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:  4.635e-01  1.289e-01  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/319896/cmap_HighResolution_568512001_568771201_4FGL_J1702.2+2642_daily_bin1270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-09-16 11:55:31.148288', job_id='319896', GAL2='1.23', fit_tolerance='1e-08', EG2='0.46', EG='0.51', time_epoch_completed='1631818531.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.61e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1270' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:55:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 319896: <4FGL_J1702.2+2642_daily_bin1270> in cluster <slac> Done

Job <4FGL_J1702.2+2642_daily_bin1270> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 16 11:40:43 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 11:42:23 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:42:23 2021
Terminated at Thu Sep 16 11:55:31 2021
Results reported at Thu Sep 16 11:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1270 255.558 26.7116 568512001 568771201 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 :                                   685.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            888 sec.

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

