aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 6 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17513
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1656.0+2047_weekly_bin744
RA = 254.005, Dec = 20.7841
tmin = 688953601, tmax = 689558401
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='975581', job_status='RUN', time_executed='2022-11-08 01:25:43.767742', time_epoch_executed='1667899543.77' WHERE source_name='4FGL J1656.0+2047' and cadence='weekly' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975581

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975581/ft1_4FGL_J1656.0+2047_weekly_bin744.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975581/ft1_4FGL_J1656.0+2047_weekly_bin744.fits outfile=/scratch/kocevski/975581/ft1_filteredMKT_4FGL_J1656.0+2047_weekly_bin744.fits ra=254.005 dec=20.7841 rad=12.0 tmin=688953601.0 tmax=689558401.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 7.61
user 7.36
sys 0.22

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

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

Number of photons that the gtmktime cut: 1856

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/975581/ltcube_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.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/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits
.....................!
real 26.40
user 26.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/975581/ltcube_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits outfile=/scratch/kocevski/975581/expmap_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.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/975581/ltcube_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits
.....................!
real 191.63
user 186.29
sys 4.96

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/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits scfile=/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits outfile=/scratch/kocevski/975581/cmap_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits scfile=/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits outfile=/scratch/kocevski/975581/cmap_HighResolution_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits', '/scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits', expMap='/scratch/kocevski/975581/expmap_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits', expCube='/scratch/kocevski/975581/ltcube_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/975581/Model_4FGL_J1656.0+2047_weekly_bin744.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  0.000e+00  1.000e+06 ( 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/975581/ft1_filtered_4FGL_J1656.0+2047_weekly_bin744.fits
Spacecraft file(s): /scratch/kocevski/975581/ft2_4FGL_J1656.0+2047_weekly_bin744.fits
Exposure map: /scratch/kocevski/975581/expmap_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits
Exposure cube: /scratch/kocevski/975581/ltcube_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/975581/Model_4FGL_J1656.0+2047_weekly_bin744.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) = 19800.0213483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3749       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.6045       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.6773       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1567       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.1825       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9955       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.466       1.0000          .0000       .10000E+07
     8 'Prefactor '    .39899       1.0000          .0000       .10000E+07
     9 'Prefactor '    .64240       1.0000          .0000       .10000E+07
    10 'norm      '    .21982       1.0000          .0000       .10000E+07
    11 'norm      '    8.7194       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2878       1.0000          .0000       .10000E+07
    13 'norm      '    17.449       1.0000          .0000       .10000E+07
    14 'Normalizat'    .97512       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19799.60     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      833 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3593        4.9640        .22559E-06   -.18596E-03
   2  Prefactor     7.7018        12.507        .11800E-06   -.24271E-01
   3  Prefactor     2.5153        6.6998        .20886E-06   -.24065E-03
   4  Prefactor     4.1655        3.4923       -.86866E-07    .74796E-03
   5  Prefactor     9.1258        10.933       -.11826E-06   -.30120E-01
   6  Prefactor     7.8497        10.423       -.67953E-07   -.29582E-03
   7  Prefactor     24.968        30.579        .38711E-06   -.31484E-02
   8  Prefactor     .40478        9.7730        .82414E-06   -.22030E-03
   9  Prefactor     .72281        17.688       -.10153E-05   -.10813E-02
  10  norm          .21940        2.6484       -.31736E-06** at limit **
  11  norm          8.7238        5.3520        .24447E-06    .45143E-03
  12  Prefactor     1.2860        1.7463       -.83698E-07    .97420E-04
  13  norm          16.939        22.504        .75114E-07   -.52354E-02
  14  Normalizat    .97579        .16154       -.90173E-05   -.31756E-05
  15  Prefactor     1.0061        .73976E-01    .34378E-05   -.17724E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35934
  Prefactor  = 7.70179
  Prefactor  = 2.51534
  Prefactor  = 4.16555
  Prefactor  = 9.12584
  Prefactor  = 7.84973
  Prefactor  = 24.9675
  Prefactor  = 0.404781
  Prefactor  = 0.722813
  norm       = 0.219398
  norm       = 8.7238
  Prefactor  = 1.28603
  norm       = 16.9389
  Normalizat = 0.975786
  Prefactor  = 1.00614
 **********
 **   18 **HESSE 
 **********

 FCN=   19799.60     FROM HESSE     STATUS=OK           232 CALLS     1065 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3593        4.9854        .66453E-03   -1.5677    
   2  Prefactor     7.7018        17.530        .36342E-03   -1.5652    
   3  Prefactor     2.5153        6.7138        .62252E-03   -1.5676    
   4  Prefactor     4.1655        3.5386        .49413E-03   -1.5667    
   5  Prefactor     9.1258        15.403        .33050E-03   -1.5648    
   6  Prefactor     7.8497        10.424        .35435E-03   -1.5652    
   7  Prefactor     24.968        30.910        .20222E-03   -1.5608    
   8  Prefactor     .40478        1.5704        .89604E-02   -1.5695    
   9  Prefactor     .72281        17.573        .65512E-03   -1.5691    
  10  norm          .21940        .71503        .58361E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.7238        5.3725        .33922E-03   -1.5649    
  12  Prefactor     1.2860        1.7681        .97610E-03   -1.5685    
  13  norm          16.939        22.711        .23949E-03   -1.5626    
  14  Normalizat    .97579        .13612        .80032E-01   -.93846    
  15  Prefactor     1.0061        .61540E-01    .43919E-01   -.92525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01153e-06
Minuit parameter uncertainties:
  1  4.98539
  2  17.5302
  3  6.71386
  4  3.53858
  5  15.403
  6  10.4236
  7  30.9102
  8  1.57035
  9  7.12791
  10  0.71503
  11  5.37247
  12  1.76815
  13  22.7108
  14  0.136169
  15  0.0615445
Done.

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

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  9.126e+00  1.540e+01  0.000e+00  1.000e+06 ( 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.006e+00  6.154e-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:  9.758e-01  1.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/975581/likelihoodResults_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.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) = 19799.5764819
delta logL = 0.0273183155077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19799.5757609
delta logL = 0.0280393488865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1765       1.0000          .0000       .10000E+07
     2 'Index     '    2.1001       1.0000          .0000       10.000    
     3 'Normalizat'    .98243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0047       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=   19799.58     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      295 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1998        16.353        .66121E-04    .22187E-03
   2  Index         2.1035        1.3766        .10909E-01   -.80704E-04
   3  Normalizat    .98237        .15746        .35318E-03    .13520E-04
   4  Prefactor     1.0047        .72178E-01    .16033E-03    .16167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.19984
  Index      = 2.10354
  Normalizat = 0.982372
  Prefactor  = 1.00472
 **********
 **   18 **HESSE 
 **********

 FCN=   19799.58     FROM HESSE     STATUS=OK            27 CALLS      322 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1998        16.577        .13224E-04   -1.5647    
   2  Index         2.1035        1.3947        .21818E-02   -.61786    
   3  Normalizat    .98237        .15757        .14127E-04   -.93623    
   4  Prefactor     1.0047        .72232E-01    .64132E-05   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58022e-12
Minuit parameter uncertainties:
  1  16.5771
  2  1.42348
  3  0.157648
  4  0.0722393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975581': 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) = 19799.5757578
delta logL = 0.0280424789598

Extracting fit parameters...

4FGL J1656.0+2047
   Spectrum: PowerLaw
287    Prefactor:  9.200e+00  1.658e+01  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.104e+00  1.423e+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.005e+00  7.224e-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:  9.824e-01  1.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/975581/cmap_HighResolution_688953601_689558401_4FGL_J1656.0+2047_weekly_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='6.76e-08', time_completed='2022-11-08 01:41:40.618160', job_id='975581', GAL2='1.00', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1667900500.62', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.80e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='744' AND source_name='4FGL J1656.0+2047' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov  8 01:41:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0157>
Subject: Job 975581: <4FGL_J1656.0+2047_weekly_bin744> in cluster <slac> Done

Job <4FGL_J1656.0+2047_weekly_bin744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 01:25:28 2022
Job was executed on host(s) <bullet0157>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 01:25:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 01:25:30 2022
Terminated at Tue Nov  8 01:41:41 2022
Results reported at Tue Nov  8 01:41:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1656.0+2047_weekly_bin744 254.005 20.7841 688953601 689558401 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 :                                   956.92 sec.
    Max Memory :                                 629 MB
    Average Memory :                             337.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            973 sec.

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

