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


Performing analysis on: 4FGL_J1656.0+2047_daily_bin657
RA = 254.005, Dec = 20.7841
tmin = 409622401, tmax = 409881601
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='146510', job_status='RUN', time_executed='2021-09-16 01:00:40.750067', time_epoch_executed='1631779240.75' WHERE source_name='4FGL J1656.0+2047' and cadence='daily' and bin_id='657'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146510/ft1_4FGL_J1656.0+2047_daily_bin657.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146510/ft1_4FGL_J1656.0+2047_daily_bin657.fits outfile=/scratch/kocevski/146510/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin657.fits ra=254.005 dec=20.7841 rad=12.0 tmin=409622401.0 tmax=409881601.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.78
user 5.50
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.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/146510/ft1_filteredMKT_4FGL_J1656.0+2047_daily_bin657.fits evtable="EVENTS" outfile="/scratch/kocevski/146510/ft1_filtered_4FGL_J1656.0+2047_daily_bin657.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146510/ft1_filtered_4FGL_J1656.0+2047_daily_bin657.fits" evtable="EVENTS" scfile=/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits sctable="SC_DATA" outfile=/scratch/kocevski/146510/ltcube_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.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/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits
.....................!
real 14.99
user 14.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146510/ft1_filtered_4FGL_J1656.0+2047_daily_bin657.fits evtable="EVENTS" scfile=/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits sctable="SC_DATA" expcube=/scratch/kocevski/146510/ltcube_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.fits outfile=/scratch/kocevski/146510/expmap_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.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/146510/ltcube_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.fits
.....................!
real 191.44
user 186.23
sys 4.60

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/146510/ft1_filtered_4FGL_J1656.0+2047_daily_bin657.fits scfile=/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits outfile=/scratch/kocevski/146510/cmap_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146510/ft1_filtered_4FGL_J1656.0+2047_daily_bin657.fits scfile=/scratch/kocevski/146510/ft2_4FGL_J1656.0+2047_daily_bin657.fits outfile=/scratch/kocevski/146510/cmap_HighResolution_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7338       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5926       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.536       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.025       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4551       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.998       1.0000         .10000E-03   10000.    
    10 'norm      '    .87365       1.0000         .10000E-03   10000.    
    11 'norm      '    18.068       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9435       1.0000         .10000E-03   10000.    
    13 'norm      '    10.180       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.0327       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0301       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=   13009.29     FROM MIGRAD    STATUS=CONVERGED    262 CALLS     1337 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1670        .27728E-06** at limit **
   2  Prefactor     28.887        27.570       -.13927E-05   -.25198E-03
   3  Prefactor     7.7277        13.363       -.62482E-06   -.15784E-03
   4  Prefactor     4.5940        4.2901        .16160E-06   -.86780E-04
   5  Prefactor     12.534        18.728       -.60428E-06   -.11064E-03
   6  Prefactor     .10000E-03    24.185        .99689E-07** at limit **
   7  Prefactor     37.995        39.619       -.66100E-05   -.60730E-03
   8  Prefactor     4.4567        5.6418        .93080E-06    .21052E-03
   9  Prefactor     14.998        11.053       -.11373E-06   -.10147E-03
  10  norm          .87400        1.4672        .44913E-06    .95705E-03
  11  norm          18.067        8.9060       -.93671E-06   -.21628E-04
  12  Prefactor     2.9435        2.0560        .19111E-05   -.23293E-02
  13  norm          10.179        38.406       -.49074E-06   -.20564E-04
  14  Normalizat    1.0326        .19159        .20114E-06   -.10384E-03
  15  Prefactor     1.0302        .80752E-01   -.23551E-06   -.14318E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.8875
  Prefactor  = 7.72771
  Prefactor  = 4.59397
  Prefactor  = 12.5336
  Prefactor  = 0.0001
  Prefactor  = 37.9945
  Prefactor  = 4.45669
  Prefactor  = 14.9983
  norm       = 0.874002
  norm       = 18.0671
  Prefactor  = 2.94347
  norm       = 10.1787
  Normalizat = 1.03262
  Prefactor  = 1.03017
 **********
 **   18 **HESSE 
 **********

 FCN=   13009.29     FROM HESSE     STATUS=OK           188 CALLS     1525 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.887        27.746        .74532E-04   -1.4633    
   3  Prefactor     7.7277        13.445        .14419E-03   -1.5152    
   4  Prefactor     4.5940        4.2839        .18783E-03   -1.5279    
   5  Prefactor     12.534        18.736        .11313E-03   -1.5000    
   6  Prefactor     .10000E-03    24.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.995        42.146        .64997E-04   -1.4474    
   8  Prefactor     4.4567        5.6613        .19077E-03   -1.5286    
   9  Prefactor     14.998        11.015        .10342E-03   -1.4933    
  10  norm          .87400        1.1302        .17540E-02   -1.5521    
  11  norm          18.067        8.9338        .94226E-04   -1.4858    
  12  Prefactor     2.9435        2.1052        .64724E-03   -1.5365    
  13  norm          10.179        38.473        .12558E-03   -1.5070    
  14  Normalizat    1.0326        .22678        .38411E-03   -.91946    
  15  Prefactor     1.0302        .96455E-01    .16508E-03   -.91731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08915e-09
Minuit parameter uncertainties:
  1  9.82172e-06
  2  27.7582
  3  13.45
  4  4.28414
  5  18.7447
  6  1.31223e-05
  7  42.1794
  8  5.66203
  9  11.0161
  10  1.13022
  11  8.93449
  12  2.10524
  13  38.5667
  14  0.226994
  15  0.096471
Done.

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

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  1.253e+01  1.874e+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.030e+00  9.647e-02  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.033e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 254.005 20.784
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/146510/likelihoodResults_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.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) = 13009.2844241
delta logL = 0.00417391578048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13009.2831765
delta logL = 0.00542152061462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.580       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3866       1.0000          .0000       10.000    
     3 'Normalizat'    1.0343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0296       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=   13009.28     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      278 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.579        22.792        .10869E-03    .14371E-03
   2  Index         2.3866        .88911        .14774E-01    .73730E-04
   3  Normalizat    1.0342        .21844        .38385E-03   -.71793E-04
   4  Prefactor     1.0297        .94195E-01    .16511E-03   -.17941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5793
  Index      = 2.38657
  Normalizat = 1.03417
  Prefactor  = 1.0297
 **********
 **   18 **HESSE 
 **********

 FCN=   13009.28     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.579        21.758        .43477E-05   -1.4971    
   2  Index         2.3866        .84948        .59096E-03   -.55000    
   3  Normalizat    1.0342        .21854        .15354E-04   -.91894    
   4  Prefactor     1.0297        .94235E-01    .33022E-04   -.91746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5138e-10
Minuit parameter uncertainties:
  1  21.7708
  2  0.855211
  3  0.218734
  4  0.0942498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146510': 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) = 13009.2831763
delta logL = 0.005421749991

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  1.358e+01  2.177e+01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.387e+00  8.552e-01  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.030e+00  9.425e-02  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.034e+00  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
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/146510/cmap_HighResolution_409622401_409881601_4FGL_J1656.0+2047_daily_bin657.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-09-16 01:14:10.379854', job_id='146510', GAL2='1.03', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631780050.38', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.42e-03', ts2='0.57', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='657' AND source_name='4FGL J1656.0+2047' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 16 01:14:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 146510: <4FGL_J1656.0+2047_daily_bin657> in cluster <slac> Done

Job <4FGL_J1656.0+2047_daily_bin657> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 16 01:00:18 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 16 01:00:26 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:00:26 2021
Terminated at Thu Sep 16 01:14:11 2021
Results reported at Thu Sep 16 01:14:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1656.0+2047_daily_bin657 254.005 20.7841 409622401 409881601 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 :                                   806.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             355.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            833 sec.

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

