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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1730
RA = 177.656, Dec = 41.9096
tmin = 687744001, tmax = 688003201
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='467647', job_status='RUN', time_executed='2022-10-21 00:32:17.490020', time_epoch_executed='1666337537.49' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467647

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467647/ft1_4FGL_J1150.6+4154_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467647/ft1_4FGL_J1150.6+4154_daily_bin1730.fits outfile=/scratch/kocevski/467647/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1730.fits ra=177.656 dec=41.9096 rad=12.0 tmin=687744001.0 tmax=688003201.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.35
user 4.71
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.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/467647/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.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.15

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/467647/ltcube_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.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/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits
.....................!
real 11.80
user 11.41
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/467647/ltcube_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits outfile=/scratch/kocevski/467647/expmap_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.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/467647/ltcube_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits
.....................!
real 193.11
user 187.00
sys 5.71

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits outfile=/scratch/kocevski/467647/cmap_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.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=177.656 yref=41.9096 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits outfile=/scratch/kocevski/467647/cmap_HighResolution_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.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=177.656 yref=41.9096 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467647/Model_4FGL_J1150.6+4154_daily_bin1730.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/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits.....................!
real 58.58
user 57.00
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits', '/scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits', expMap='/scratch/kocevski/467647/expmap_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits', expCube='/scratch/kocevski/467647/ltcube_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/467647/Model_4FGL_J1150.6+4154_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/467647/ft1_filtered_4FGL_J1150.6+4154_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/467647/ft2_4FGL_J1150.6+4154_daily_bin1730.fits
Exposure map: /scratch/kocevski/467647/expmap_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits
Exposure cube: /scratch/kocevski/467647/ltcube_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/467647/Model_4FGL_J1150.6+4154_daily_bin1730.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) = 6868.56780506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.563       1.0000          .0000       .10000E+07
     2 'norm      '    1.8766       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.356       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23520       1.0000          .0000       .10000E+07
     5 'Prefactor '    57.448       1.0000          .0000       .10000E+07
     6 'norm      '    11.403       1.0000          .0000       .10000E+07
     7 'norm      '    22.149       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.6159       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15178E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .38858E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .22304       1.0000          .0000       .10000E+07
    12 'Prefactor '    31.313       1.0000          .0000       .10000E+07
    13 'norm      '    1.8964       1.0000          .0000       .10000E+07
    14 'norm      '    .53870E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .63033E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .56528E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .72554E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.2203       1.0000          .0000       .10000E+07
    19 'norm      '    .38297E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13325E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1282       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93981       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6868.565     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1697 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.201        40.781       -.60332E-07    .10234    
   2  norm          1.8782        .36899       -.17101E-07   -.37274E-01
   3  Prefactor     18.428        1.1338       -.44872E-09    .23966E-01
   4  Prefactor     .13878E-08    2.2973       -.70125E-07** at limit **
   5  Prefactor     57.398        7.3124       -.70697E-08    .84296E-01
   6  norm          11.394        1.1025       -.51147E-08    .34136E-01
   7  norm          22.429        24.355        .19256E-07    .19119    
   8  Prefactor     3.6149        2.2248        .44195E-08    .14090E-02
   9  Prefactor     .40135E-07    11.137       -.16359E-06** at limit **
  10  norm           .0000        .81770       -.66698E-08** at limit **
  11  Prefactor     .24949        14.572        .36171E-06** at limit **
  12  Prefactor     31.131        15.442       -.14924E-07   -.19047E-01
  13  norm          1.8994        1.2402        .75340E-07    .17268E-01
  14  norm          .57065E-07    14.817       -.18734E-06** at limit **
  15  Prefactor     .11102E-09    1.9246       -.13842E-06** at limit **
  16  Prefactor     .19114E-04    4.0112       -.27919E-07** at limit **
  17  Prefactor      .0000        6.7215        .58003E-07** at limit **
  18  Prefactor     9.3298        7.1341        .11338E-07    .19586E-02
  19  norm          .11102E-09    4.5397       -.17038E-06** at limit **
  20  Prefactor     .28866E-08    9.4041       -.91833E-07** at limit **
  21  Normalizat    1.1281        .19325        .33865E-06    .16249E-03
  22  Prefactor     .93968        .22983       -.34130E-06    .10293E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2008
  norm       = 1.87819
  Prefactor  = 18.4282
  Prefactor  = 1.38778e-09
  Prefactor  = 57.3977
  norm       = 11.3939
  norm       = 22.4292
  Prefactor  = 3.61486
  Prefactor  = 4.01346e-08
  norm       = 0
  Prefactor  = 0.249493
  Prefactor  = 31.1307
  norm       = 1.89939
  norm       = 5.70655e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 1.91144e-05
  Prefactor  = 0
  Prefactor  = 9.32981
  norm       = 1.11022e-10
  Prefactor  = 2.88658e-09
  Normalizat = 1.12811
  Prefactor  = 0.939679
 **********
 **   18 **HESSE 
 **********

 FCN=   6868.565     FROM HESSE     STATUS=OK           400 CALLS     2097 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.201        58.282        .23219E-03   -1.5623    
   2  norm          1.8782        .37899        .48935E-03   -1.5681    
   3  Prefactor     18.428        15.314        .23349E-03   -1.5622    
   4  Prefactor     .13878E-08    7.7390        .11180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.398        70.979        .13194E-03   -1.5556    
   6  norm          11.394        14.399        .29642E-03   -1.5640    
   7  norm          22.429        38.872        .21254E-03   -1.5613    
   8  Prefactor     3.6149        2.2500        .53109E-03   -1.5670    
   9  Prefactor     .40135E-07    11.437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .81496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .24949        2.4977        .72100E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.131        48.023        .17873E-03   -1.5596    
  13  norm          1.8994        1.3947        .75510E-03   -1.5680    
  14  norm          .57065E-07    14.928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    1.9168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .19114E-04    210.39        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        6.7261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.3298        7.1387        .32982E-03   -1.5647    
  19  norm          .11102E-09    4.5223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .28866E-08    9.4117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1281        .16347        .53293E-01   -.88854    
  22  Prefactor     .93968        .19385        .69252E-01   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.134e-06
Minuit parameter uncertainties:
  1  58.2834
  2  0.378987
  3  15.3139
  4  0.000206225
  5  70.9796
  6  14.3995
  7  38.8722
  8  2.25004
  9  0.00135497
  10  7.61487e-07
  11  1.5788
  12  48.0237
  13  1.39467
  14  0.00184602
  15  2.96188e-05
  16  0.126835
  17  1.5454e-05
  18  7.13867
  19  4.97002e-05
  20  0.000328217
  21  0.163545
  22  0.193993
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.707e-08  1.846e-03  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.397e-01  1.940e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.128e+00  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467647/likelihoodResults_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.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) = 6868.56620076
delta logL = -0.000715275460607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6863.09016459
delta logL = 5.47532089841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96531       1.0000          .0000       .10000E+07
     2 'alpha     '    3.9162       1.0000          .0000       5.0000    
     3 'Normalizat'    .95869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6863.090     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      318 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96744        4.7139        .42533E-03   -.22560E-02
   2  alpha         3.9153        1.5427        .12809        .47969E-04
   3  Normalizat    .95870        .68542E-01    .45647E-01   -.13534E-04
   4  Prefactor     1.0369        .81039E-01    .65964E-01   -.40646E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.967443
  alpha      = 3.91529
  Normalizat = 0.958701
  Prefactor  = 1.03691
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.090     FROM HESSE     STATUS=OK            31 CALLS      349 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96744        1.8795        .28624E-05   -1.5688    
   2  alpha         3.9153        .76877        .55693E-03    .60179    
   3  Normalizat    .95870        .19716        .25102E-03   -.94427    
   4  Prefactor     1.0369        .23363        .29178E-03   -.91509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67384e-12
Minuit parameter uncertainties:
  1  1.87954
  2  0.787823
  3  0.197313
  4  0.233857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467647': 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) = 6863.09016353
delta logL = 5.47532195243

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  9.674e-01  1.880e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  3.915e+00  7.878e-01  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.037e+00  2.339e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  9.587e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.44
Ra Dec: 177.656 41.910
Photon Index (Free Index): 3.92 +/- 0.79
Photon Flux (Free Index): 1.60e-07 +/- 6.15e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.03e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/467647/cmap_HighResolution_687744001_688003201_4FGL_J1150.6+4154_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-05', comment='SUCCESS', energy_flux2='2.65e-05', dlogl='5.48e+00', photon_flux2='1.60e-07', job_status='DONE', time_completed='2022-10-21 00:43:25.560087', photon_index_error2='0.79', photon_index2='3.92', ts='-0.00', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='1.03e-05', EG='1.13', time_epoch_completed='1666338205.56', return_code='0', job_id='467647', GAL2='1.04', EG2='0.96', return_code2='0', photon_flux_error2='6.15e-08', ts2='11.44', photon_index='1.62' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:43:25 PDT 2022

nvs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 26.9860510926 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 18.6797593422 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 2.14297156862 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 12.9264868234 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 18.2579214189 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 3.72964118797 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 21.9749281565 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 11.1184660235 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 21.4990077273 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 27.4520490531 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 29.6858402811 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 19.0541182578 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 10.7963925724 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 22.8500436757 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 14.2775485825 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 3.68949691848 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 11.6962853629 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 11.7402085863 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 3.24425518328 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 10.0704404596 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 25.6316032583 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 25.026778867 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 15.6811364902 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 15.2825865302 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 24.0426253772 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 13.6113837861 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 27.7696540021 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 3.82944600567 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 24.8529177192 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 29.9463750151 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 5.97169776578 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 28.8374467931 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 11.9364637817 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 14.1993225488 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59', time_completed='2022-10-21 00:25:48.588275', job_id='461499' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337148.59' at line 1

Command execution failed.

Waiting 26.8037079409 seconds and trying again...


Maximum wait time exceeded. Proceeding.


Analysis Complete.


Fri Oct 21 00:35:50 PDT 2022

ed before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1

Command execution failed.

Waiting 20.0203936904 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1

Command execution failed.

Waiting 10.1138915043 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23', time_completed='2022-10-21 00:24:47.226215', job_id='461610' WHERE bin_id='1730' AND source_name='4FGL J1150.6+4154' AND cadence='daily';
1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1
Traceback (most recent call last):
  File "/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/DatabaseTools.py", line 120, in executeCommand
    cursor.execute(command)
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/cursor.py", line 554, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 495, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/mysql/connector/connection.py", line 397, in _handle_result
    raise errors.get_exception(packet)
ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1666337087.23' at line 1

Command execution failed.

Waiting 27.0758686583 seconds and trying again...


Maximum wait time exceeded. Proceeding.


Analysis Complete.


Fri Oct 21 00:35:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 461610: <4FGL_J1150.6+4154_daily_bin1730> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1730> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Oct 21 00:07:26 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:07:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:07:27 2022
Terminated at Fri Oct 21 00:35:12 2022
Results reported at Fri Oct 21 00:35:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1730 177.656 41.9096 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             255.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1664 sec.
    Turnaround time :                            1666 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 461499: <4FGL_J1150.6+4154_daily_bin1730> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:07:20 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:07:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:07:21 2022
Terminated at Fri Oct 21 00:35:51 2022
Results reported at Fri Oct 21 00:35:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1730 177.656 41.9096 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             267.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1710 sec.
    Turnaround time :                            1711 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 467647: <4FGL_J1150.6+4154_daily_bin1730> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1730> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Oct 21 00:30:15 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:30:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:30:16 2022
Terminated at Fri Oct 21 00:43:25 2022
Results reported at Fri Oct 21 00:43:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1730 177.656 41.9096 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.58 sec.
    Max Memory :                                 625 MB
    Average Memory :                             277.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

