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


Performing analysis on: 4FGL_J1702.2+2642_daily_bin1295
RA = 255.558, Dec = 26.7116
tmin = 574992001, tmax = 575251201
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='319932', job_status='RUN', time_executed='2021-09-16 11:43:00.234294', time_epoch_executed='1631817780.23' WHERE source_name='4FGL J1702.2+2642' and cadence='daily' and bin_id='1295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319932

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319932/ft1_4FGL_J1702.2+2642_daily_bin1295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319932/ft1_4FGL_J1702.2+2642_daily_bin1295.fits outfile=/scratch/kocevski/319932/ft1_filteredMKT_4FGL_J1702.2+2642_daily_bin1295.fits ra=255.558 dec=26.7116 rad=12.0 tmin=574992001.0 tmax=575251201.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.36
user 5.08
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319932/ft1_filtered_4FGL_J1702.2+2642_daily_bin1295.fits" evtable="EVENTS" scfile=/scratch/kocevski/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits sctable="SC_DATA" outfile=/scratch/kocevski/319932/ltcube_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.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/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits
.....................!
real 13.91
user 13.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319932/ft1_filtered_4FGL_J1702.2+2642_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits sctable="SC_DATA" expcube=/scratch/kocevski/319932/ltcube_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.fits outfile=/scratch/kocevski/319932/expmap_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.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/319932/ltcube_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.fits
.....................!
real 192.11
user 186.49
sys 5.03

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/319932/ft1_filtered_4FGL_J1702.2+2642_daily_bin1295.fits scfile=/scratch/kocevski/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits outfile=/scratch/kocevski/319932/cmap_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319932/ft1_filtered_4FGL_J1702.2+2642_daily_bin1295.fits scfile=/scratch/kocevski/319932/ft2_4FGL_J1702.2+2642_daily_bin1295.fits outfile=/scratch/kocevski/319932/cmap_HighResolution_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3457       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.909       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5774       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0081       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5506       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.836       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    63.211       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10395E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14149E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.729       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.782       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0665       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90496       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=   8594.685     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     1447 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3440        15.410        .51719E-05    .10227E-04
   2  Prefactor     38.906        22.130        .10879E-06   -.11180E-04
   3  Prefactor     6.5797        13.652        .19923E-06   -.73744E-05
   4  Prefactor     7.0084        5.3368        .31219E-07   -.16989E-04
   5  Prefactor     5.5505        18.685        .26509E-06   -.15853E-05
   6  Prefactor     23.834        23.817        .52872E-08   -.79167E-05
   7  Prefactor     .10000E-03    14.508        .37224E-06** at limit **
   8  norm          .10000E-03    .71598        .38019E-07** at limit **
   9  norm          63.174        61.800       -.45159E-06   -.76266E-04
  10  Prefactor     .10000E-03    23.259       -.65716E-07** at limit **
  11  Prefactor     .10000E-03    20.911       -.65157E-06** at limit **
  12  Prefactor     .10000E-03    63.651       -.95687E-05** at limit **
  13  Prefactor     27.669        68.036        .47564E-06   -.31042E-04
  14  Prefactor     11.779        12.131        .10484E-06    .19818E-04
  15  Normalizat    1.0664        .19098       -.10962E-05    .59392E-04
  16  Prefactor     .90498        .96588E-01    .25788E-06   -.43122E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34399
  Prefactor  = 38.906
  Prefactor  = 6.57969
  Prefactor  = 7.0084
  Prefactor  = 5.55053
  Prefactor  = 23.8338
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 63.1745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6686
  Prefactor  = 11.7791
  Normalizat = 1.06644
  Prefactor  = 0.904981
 **********
 **   18 **HESSE 
 **********

 FCN=   8594.685     FROM HESSE     STATUS=OK           203 CALLS     1650 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3440        15.421        .79670E-03   -1.5204    
   2  Prefactor     38.906        22.240        .64257E-04   -1.4460    
   3  Prefactor     6.5797        13.654        .15647E-03   -1.5195    
   4  Prefactor     7.0084        5.3250        .15154E-03   -1.5178    
   5  Prefactor     5.5505        18.649        .17053E-03   -1.5237    
   6  Prefactor     23.834        23.818        .82046E-04   -1.4731    
   7  Prefactor     .10000E-03    14.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .71845        .76601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          63.174        61.772        .25236E-03   -1.4117    
  10  Prefactor     .10000E-03    23.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    63.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.669        67.801        .76080E-04   -1.4655    
  14  Prefactor     11.779        12.137        .11671E-03   -1.5021    
  15  Normalizat    1.0664        .22714        .31198E-03   -.90837    
  16  Prefactor     .90498        .11560        .17559E-03   -.95967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76881e-11
Minuit parameter uncertainties:
  1  15.4303
  2  22.2448
  3  13.6608
  4  5.32535
  5  18.6685
  6  23.8279
  7  6.9951e-06
  8  2.85979e-07
  9  61.8348
  10  1.02383e-05
  11  9.17585e-06
  12  8.2951e-06
  13  67.9903
  14  12.1392
  15  0.227347
  16  0.115632
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
657    Prefactor:  9.050e-01  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.066e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.87
Ra Dec: 255.558 26.712
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.80e-08 +/- 1.80e-08
Energy Flux (Fixed Index): 9.51e-06 +/- 9.50e-06

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

Saving results to:
/scratch/kocevski/319932/likelihoodResults_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8594.37673225
delta logL = 0.308270087096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8594.3739237
delta logL = 0.311078631783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.293       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5198       1.0000          .0000       10.000    
     3 'Normalizat'    1.0757       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90367       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=   8594.374     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      291 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.293        33.278        .70512E-04   -.11357E-03
   2  Index         1.5197        .72084        .12471E-01   -.53983E-04
   3  Normalizat    1.0757        .21580        .31080E-03   -.22050E-03
   4  Prefactor     .90367        .11357        .17571E-03   -.35004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.2932
  Index      = 1.51975
  Normalizat = 1.07566
  Prefactor  = 0.903671
 **********
 **   18 **HESSE 
 **********

 FCN=   8594.374     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.293        33.349        .14102E-04   -1.4571    
   2  Index         1.5197        .72258        .49884E-03   -.76988    
   3  Normalizat    1.0757        .21598        .12432E-04   -.90537    
   4  Prefactor     .90367        .11367        .35142E-04   -.96013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19998e-10
Minuit parameter uncertainties:
  1  33.3684
  2  0.727551
  3  0.216156
  4  0.1137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319932': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8594.3739237
delta logL = 0.311078632225

Extracting fit parameters...

4FGL J1702.2+2642
   Spectrum: PowerLaw
290    Prefactor:  3.229e+01  3.337e+01  1.000e-04  1.000e+04 ( 1.000e-14)
291        Index:  1.520e+00  7.276e-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.037e-01  1.137e-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.076e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.49
Ra Dec: 255.558 26.712
Photon Index (Free Index): 1.52 +/- 0.73
Photon Flux (Free Index): 7.60e-09 +/- 1.17e-08
Energy Flux (Free Index): 2.25e-05 +/- 3.73e-05

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/319932/cmap_HighResolution_574992001_575251201_4FGL_J1702.2+2642_daily_bin1295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', comment='SUCCESS', photon_flux='1.80e-08', energy_flux2='2.25e-05', photon_flux_error='1.80e-08', dlogl='3.11e-01', energy_flux='9.51e-06', photon_flux2='7.60e-09', job_status='DONE', time_completed='2021-09-16 11:54:22.336809', photon_index_error2='0.73', photon_index2='1.52', ts='3.87', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.22e-08', energy_flux_error2='3.73e-05', EG='1.07', time_epoch_completed='1631818462.34', return_code='0', job_id='319932', GAL2='0.90', EG2='1.08', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='1.17e-08', ts2='4.49', photon_index='2.12' WHERE bin_id='1295' AND source_name='4FGL J1702.2+2642' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 11:54:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 319932: <4FGL_J1702.2+2642_daily_bin1295> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1702.2+2642_daily_bin1295 255.558 26.7116 574992001 575251201 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 :                                   679.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            817 sec.

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

