/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 198 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 = 7474
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1656.0+2047_daily_bin54
RA = 254.005, Dec = 20.7841
tmin = 253324801, tmax = 253584001
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='141144', job_status='RUN', time_executed='2021-09-16 00:46:11.577831', time_epoch_executed='1631778371.58' WHERE source_name='4FGL J1656.0+2047' and cadence='daily' and bin_id='54'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/141144

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/141144/ft1_4FGL_J1656.0+2047_daily_bin54.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/141144/ft1_4FGL_J1656.0+2047_daily_bin54.fits outfile=/scratch/kocevski/141144/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin54.fits ra=254.005 dec=20.7841 rad=12.0 tmin=253324801.0 tmax=253584001.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 1.45
user 1.24
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.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/141144/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin54.fits evtable="EVENTS" outfile="/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits" evtable="EVENTS" scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits sctable="SC_DATA" outfile=/scratch/kocevski/141144/ltcube_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.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/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits
.....................!
real 16.46
user 15.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits sctable="SC_DATA" expcube=/scratch/kocevski/141144/ltcube_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits outfile=/scratch/kocevski/141144/expmap_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.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/141144/ltcube_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits
.....................!
real 191.61
user 185.84
sys 5.00

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 191 point sources and 0 extended sources

Setting source of interest to:
4FGL J1656.0+2047 @ 254.005 20.7841

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits outfile=/scratch/kocevski/141144/cmap_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.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=254.005 yref=20.7841 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits outfile=/scratch/kocevski/141144/cmap_HighResolution_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.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=254.005 yref=20.7841 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/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/141144/Model_4FGL_J1656.0+2047_daily_bin54.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/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits.....................!
real 58.50
user 57.09
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits', '/scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits', expMap='/scratch/kocevski/141144/expmap_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits', expCube='/scratch/kocevski/141144/ltcube_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/141144/Model_4FGL_J1656.0+2047_daily_bin54.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1656.0+2047'

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  6.103e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.477e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  8.932e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/141144/ft1_filtered_4FGL_J1656.0+2047_daily_bin54.fits
Spacecraft file(s): /scratch/kocevski/141144/ft2_4FGL_J1656.0+2047_daily_bin54.fits
Exposure map: /scratch/kocevski/141144/expmap_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits
Exposure cube: /scratch/kocevski/141144/ltcube_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/141144/Model_4FGL_J1656.0+2047_daily_bin54.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) = 7339.06814914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    9.7703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5612       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.8255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1775       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2072       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4805       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.803       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    68.146       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .79567       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7338.997     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     1366 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5506       -.31966E-06** at limit **
   2  Prefactor     9.7716        35.142        .33853E-05    .48837E-04
   3  Prefactor     8.5609        11.368        .25517E-06   -.18651E-03
   4  Prefactor     7.8248        7.0512       -.16031E-05   -.13012E-02
   5  Prefactor     1.1810        40.571        .89297E-05   -.51037E-03
   6  Prefactor     .10000E-03    13.858       -.12533E-05** at limit **
   7  Prefactor     .10000E-03    32.814       -.11940E-05** at limit **
   8  Prefactor     1.2074        4.0221       -.35501E-05   -.70850E-03
   9  Prefactor     2.4799        4.3418        .82147E-06   -.52096E-03
  10  norm          .10000E-03    1.9468        .11183E-06** at limit **
  11  norm          11.804        7.8024        .25916E-06    .92908E-04
  12  Prefactor     .10000E-03    .64079        .64057E-07** at limit **
  13  norm          68.145        63.054       -.19326E-06   -.11546E-04
  14  Normalizat    .79573        .21890        .42203E-06   -.41678E-03
  15  Prefactor     1.0109        .97108E-01   -.36789E-06   -.86648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.77163
  Prefactor  = 8.56093
  Prefactor  = 7.82478
  Prefactor  = 1.18096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.20742
  Prefactor  = 2.47987
  norm       = 0.0001
  norm       = 11.804
  Prefactor  = 0.0001
  norm       = 68.1453
  Normalizat = 0.79573
  Prefactor  = 1.01087
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.997     FROM HESSE     STATUS=OK           184 CALLS     1550 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5553        .15762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.7716        35.155        .12820E-03   -1.5083    
   3  Prefactor     8.5609        11.514        .68501E-03   -1.5123    
   4  Prefactor     7.8248        7.0656        .14334E-03   -1.5148    
   5  Prefactor     1.1810        220.14        .82600E-02   -1.5491    
   6  Prefactor     .10000E-03    13.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.2074        4.0724        .31012E-03   -1.5488    
   9  Prefactor     2.4799        12.268        .12979E-02   -1.5393    
  10  norm          .10000E-03    2.0191        .23332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.804        7.8050        .11660E-03   -1.5021    
  12  Prefactor     .10000E-03    .64375        .66960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          68.145        63.093        .48623E-04   -1.4055    
  14  Normalizat    .79573        .25755        .37615E-03   -1.0023    
  15  Prefactor     1.0109        .11570        .15252E-03   -.92368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92702e-08
Minuit parameter uncertainties:
  1  1.21384e-05
  2  35.2301
  3  11.5168
  4  7.06633
  5  32.3678
  6  9.79175e-05
  7  0.000102084
  8  4.07331
  9  11.0346
  10  2.29266e-06
  11  7.8057
  12  1.22571e-06
  13  63.1555
  14  0.257947
  15  0.115729
Done.

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

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  1.181e+00  3.237e+01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.477e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  8.932e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.011e+00  1.157e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  7.957e-01  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 254.005 20.784
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/141144/likelihoodResults_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.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) = 7338.9971865
delta logL = 4.92145463795e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7338.99522152
delta logL = 0.00201418951292

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8052       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2256       1.0000          .0000       10.000    
     3 'Normalizat'    .79571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+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=   7338.995     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      323 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7908        145.93        .24289E-03    .24667E-04
   2  Index         2.2250        3.0419        .19301E-01    .75403E-04
   3  Normalizat    .79570        .25091        .37615E-03   -.17016E-02
   4  Prefactor     1.0105        .11453        .15255E-03   -.43406E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.79081
  Index      = 2.22496
  Normalizat = 0.795699
  Prefactor  = 1.01048
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.995     FROM HESSE     STATUS=OK            23 CALLS      346 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7908        131.64        .97154E-05   -1.5374    
   2  Index         2.2250        2.9258        .77205E-03   -.58837    
   3  Normalizat    .79570        .25112        .75230E-04   -1.0023    
   4  Prefactor     1.0105        .11454        .30509E-04   -.92381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05905e-08
Minuit parameter uncertainties:
  1  38.4243
  2  3.24525
  3  0.251482
  4  0.114569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/141144': 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) = 7338.99522138
delta logL = 0.00201433075472

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  2.791e+00  3.842e+01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.225e+00  3.245e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  8.932e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.010e+00  1.146e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  7.957e-01  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 254.005 20.784

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/141144/cmap_HighResolution_253324801_253584001_4FGL_J1656.0+2047_daily_bin54.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-16 00:55:55.698268', job_id='141144', GAL2='1.01', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631778955.7', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.01e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='54' AND source_name='4FGL J1656.0+2047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 00:55:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 141144: <4FGL_J1656.0+2047_daily_bin54> in cluster <slac> Done

Job <4FGL_J1656.0+2047_daily_bin54> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 16 00:40:31 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 00:42:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 16 00:42:44 2021
Terminated at Thu Sep 16 00:55:56 2021
Results reported at Thu Sep 16 00:55:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1656.0+2047_daily_bin54 254.005 20.7841 253324801 253584001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1656.0+2047 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   582.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            925 sec.

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

