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


Performing analysis on: 4FGL_J1656.0+2047_daily_bin1093
RA = 254.005, Dec = 20.7841
tmin = 522633601, tmax = 522892801
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='148177', job_status='RUN', time_executed='2021-09-16 01:12:23.888346', time_epoch_executed='1631779943.89' WHERE source_name='4FGL J1656.0+2047' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/148177

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/148177/ft1_4FGL_J1656.0+2047_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/148177/ft1_4FGL_J1656.0+2047_daily_bin1093.fits outfile=/scratch/kocevski/148177/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin1093.fits ra=254.005 dec=20.7841 rad=12.0 tmin=522633601.0 tmax=522892801.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.00
user 2.72
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.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/148177/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin1093.fits evtable="EVENTS" outfile="/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/148177/ltcube_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.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/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits
.....................!
real 12.32
user 11.96
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/148177/ltcube_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits outfile=/scratch/kocevski/148177/expmap_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.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/148177/ltcube_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits
.....................!
real 157.05
user 152.21
sys 4.43

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/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits outfile=/scratch/kocevski/148177/cmap_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.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.46
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits outfile=/scratch/kocevski/148177/cmap_HighResolution_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.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.47
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/148177/Model_4FGL_J1656.0+2047_daily_bin1093.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/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits.....................!
real 56.17
user 54.98
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits', '/scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits', expMap='/scratch/kocevski/148177/expmap_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits', expCube='/scratch/kocevski/148177/ltcube_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/148177/Model_4FGL_J1656.0+2047_daily_bin1093.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/148177/ft1_filtered_4FGL_J1656.0+2047_daily_bin1093.fits
Spacecraft file(s): /scratch/kocevski/148177/ft2_4FGL_J1656.0+2047_daily_bin1093.fits
Exposure map: /scratch/kocevski/148177/expmap_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits
Exposure cube: /scratch/kocevski/148177/ltcube_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/148177/Model_4FGL_J1656.0+2047_daily_bin1093.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) = 8532.9885875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78400       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.290       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.066       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21696E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3992       1.0000         .10000E-03   10000.    
    10 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.3310       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .74447       1.0000         .10000E-03   10000.    
    13 'norm      '    .10903E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.4613       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .83861       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=   8532.987     FROM MIGRAD    STATUS=CONVERGED    293 CALLS     1343 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77571        25.252       -.97226E-05    .27872E-03
   2  Prefactor     .10000E-03    18.744       -.28336E-06** at limit **
   3  Prefactor     .10000E-03    16.367        .95805E-06** at limit **
   4  Prefactor     .10000E-03    2.8492        .87100E-07** at limit **
   5  Prefactor     10.289        22.154        .99739E-06    .13161E-03
   6  Prefactor     37.056        28.951        .20201E-05    .70073E-03
   7  Prefactor     .10009E-03    376.61       -.64968E-05** at limit **
   8  Prefactor     .10000E-03    7.3019       -.65720E-07** at limit **
   9  Prefactor     8.4005        14.730       -.38247E-07   -.12981E-03
  10  norm          .10000E-03    1.2089       -.96934E-08** at limit **
  11  norm          8.3332        8.6986       -.58001E-06   -.26026E-03
  12  Prefactor     .74246        2.7955        .15391E-05   -.23481E-04
  13  norm          .10000E-03    35.075        .78779E-07** at limit **
  14  Normalizat    1.4611        .21557       -.78227E-06   -.44972E-03
  15  Prefactor     .83857        .92309E-01   -.33930E-06   -.90710E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.775707
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 10.2895
  Prefactor  = 37.0556
  Prefactor  = 0.000100093
  Prefactor  = 0.0001
  Prefactor  = 8.40046
  norm       = 0.0001
  norm       = 8.33317
  Prefactor  = 0.742456
  norm       = 0.0001
  Normalizat = 1.46113
  Prefactor  = 0.838574
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.987     FROM HESSE     STATUS=OK           180 CALLS     1523 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77571        27.982        .47379E-02   -1.5532    
   2  Prefactor     .10000E-03    18.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.8830        .15227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.289        22.288        .12491E-03   -1.5066    
   6  Prefactor     37.056        31.322        .65829E-04   -1.4490    
   7  Prefactor     .10009E-03    390.58        .20154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.3847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4005        14.738        .13832E-03   -1.5128    
  10  norm          .10000E-03    1.2310        .99139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.3332        8.7883        .13889E-03   -1.5131    
  12  Prefactor     .74246        5.1420        .27417E-02   -1.5536    
  13  norm          .10000E-03    35.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.4611        .25948        .32306E-03   -.78877    
  15  Prefactor     .83857        .11185        .17564E-03   -.98322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81672e-08
Minuit parameter uncertainties:
  1  9.32204
  2  0.000125162
  3  0.000339687
  4  8.50002e-06
  5  22.3061
  6  31.336
  7  0.0121532
  8  9.96695e-06
  9  14.7444
  10  6.14957e-07
  11  8.7897
  12  3.90801
  13  4.26427e-05
  14  0.259715
  15  0.111882
Done.

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

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  1.029e+01  2.231e+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:  8.386e-01  1.119e-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:  1.461e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/148177/likelihoodResults_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.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) = 8532.97693272
delta logL = 0.010164217385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8532.97495859
delta logL = 0.0121383457172

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9201       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7158       1.0000          .0000       10.000    
     3 'Normalizat'    1.4565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83970       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=   8532.975     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      259 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9174        23.169        .13420E-03   -.24381E-03
   2  Index         2.7159        1.6345        .66911E-02   -.18934E-03
   3  Normalizat    1.4565        .26031        .32349E-03   -.53959E-03
   4  Prefactor     .83970        .11053        .17553E-03   -.84781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.91745
  Index      = 2.71589
  Normalizat = 1.4565
  Prefactor  = 0.839699
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.975     FROM HESSE     STATUS=OK            23 CALLS      282 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9174        22.291        .53680E-05   -1.5111    
   2  Index         2.7159        1.5742        .26764E-03   -.47442    
   3  Normalizat    1.4565        .26040        .64699E-04   -.79008    
   4  Prefactor     .83970        .11058        .35107E-04   -.98281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72098e-09
Minuit parameter uncertainties:
  1  22.3115
  2  1.60912
  3  0.260643
  4  0.110612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/148177': 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) = 8532.97495858
delta logL = 0.0121383594651

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  8.917e+00  2.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.716e+00  1.609e+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:  8.397e-01  1.106e-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:  1.456e+00  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/148177/cmap_HighResolution_522633601_522892801_4FGL_J1656.0+2047_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.48e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-16 01:20:59.921324', job_id='148177', GAL2='0.84', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1631780459.92', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.21e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1093' AND source_name='4FGL J1656.0+2047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 01:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 148177: <4FGL_J1656.0+2047_daily_bin1093> in cluster <slac> Done

Job <4FGL_J1656.0+2047_daily_bin1093> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 16 01:05:30 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 01:10:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 16 01:10:08 2021
Terminated at Thu Sep 16 01:21:00 2021
Results reported at Thu Sep 16 01:21:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1656.0+2047_daily_bin1093 254.005 20.7841 522633601 522892801 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 :                                   512.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            930 sec.

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

