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


Performing analysis on: 4FGL_J1809.7+2910_daily_bin1750
RA = 272.441, Dec = 29.1709
tmin = 692928001, tmax = 693187201
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='24731', job_status='RUN', time_executed='2022-12-20 01:40:55.260391', time_epoch_executed='1671529255.26' WHERE source_name='4FGL J1809.7+2910' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24731/ft1_4FGL_J1809.7+2910_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24731/ft1_4FGL_J1809.7+2910_daily_bin1750.fits outfile=/scratch/kocevski/24731/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1750.fits ra=272.441 dec=29.1709 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.54
user 3.35
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.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/24731/ft1_filteredMKT_4FGL_J1809.7+2910_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 915

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/24731/ltcube_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.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/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits
.....................!
real 11.83
user 11.41
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/24731/ltcube_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits outfile=/scratch/kocevski/24731/expmap_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.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/24731/ltcube_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits
.....................!
real 193.14
user 187.98
sys 4.84

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

Setting source of interest to:
4FGL J1809.7+2910 @ 272.441 29.1709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits outfile=/scratch/kocevski/24731/cmap_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.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=272.441 yref=29.1709 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits outfile=/scratch/kocevski/24731/cmap_HighResolution_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.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=272.441 yref=29.1709 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/24731/Model_4FGL_J1809.7+2910_daily_bin1750.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/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits.....................!
real 83.15
user 81.80
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits', '/scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits', expMap='/scratch/kocevski/24731/expmap_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits', expCube='/scratch/kocevski/24731/ltcube_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/24731/Model_4FGL_J1809.7+2910_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1809.7+2910'

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.835e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/24731/ft1_filtered_4FGL_J1809.7+2910_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/24731/ft2_4FGL_J1809.7+2910_daily_bin1750.fits
Exposure map: /scratch/kocevski/24731/expmap_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits
Exposure cube: /scratch/kocevski/24731/ltcube_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/24731/Model_4FGL_J1809.7+2910_daily_bin1750.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) = 9474.98093745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17753       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18726E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .37166E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25022E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.948       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26190E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33767E-06   1.0000          .0000       .10000E+07
     8 'norm      '    97.304       1.0000          .0000       .10000E+07
     9 'Prefactor '    .41578E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .48630E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1450       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14498E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15148E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .83334E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .38312       1.0000          .0000       .10000E+07
    16 'norm      '    .79285E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .48059E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .63999       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9474.979     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1546 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13956E-06    52.277        .69250E-07** at limit **
   2  Prefactor     .14494E-06    8.0380        .11300E-06** at limit **
   3  Prefactor     .11102E-09    18.041        .21160E-06** at limit **
   4  Prefactor     .16709E-07    9.6958       -.37829E-07** at limit **
   5  Prefactor     11.941        2.8006       -.14481E-07    .43709E-02
   6  Prefactor     .26090E-08    285.88        .69589E-06** at limit **
   7  norm           .0000        .46947        .58214E-07** at limit **
   8  norm          97.278        3.2913       -.54929E-08   -.35358E-01
   9  Prefactor     .99920E-09    2.3103        .23083E-07** at limit **
  10  norm          .13323E-08    5.0652        .37650E-07** at limit **
  11  Prefactor     3.1475        4.6884        .71368E-07   -.30369E-03
  12  Prefactor     .44409E-09    6.9683        .76621E-07** at limit **
  13  Prefactor     .12212E-08    6.2480       -.11193E-06** at limit **
  14  norm          .66669E-07    16.232        .64007E-07** at limit **
  15  norm          .37366        4.0936       -.10409E-06   -.11570E-02
  16  norm          .42938E-06    2.2836       -.55112E-07** at limit **
  17  Prefactor     .35527E-08    13.697        .28195E-06** at limit **
  18  Normalizat    .64012        .22867        .29361E-05    .69635E-06
  19  Prefactor     1.1520        .87241E-01   -.67989E-06    .12837E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.39555e-07
  Prefactor  = 1.4494e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 1.67089e-08
  Prefactor  = 11.9407
  Prefactor  = 2.60902e-09
  norm       = 0
  norm       = 97.2782
  Prefactor  = 9.99201e-10
  norm       = 1.33227e-09
  Prefactor  = 3.14746
  Prefactor  = 4.44089e-10
  Prefactor  = 1.22125e-09
  norm       = 6.66689e-08
  norm       = 0.373656
  norm       = 4.29379e-07
  Prefactor  = 3.55271e-09
  Normalizat = 0.640121
  Prefactor  = 1.15202
 **********
 **   18 **HESSE 
 **********

 FCN=   9474.979     FROM HESSE     STATUS=OK           314 CALLS     1860 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13956E-06    55.242        .12190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14494E-06    21.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    20.494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16709E-07    10.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.941        45.882        .28956E-03   -1.5639    
   6  Prefactor     .26090E-08    6.3938        .66503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .47042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          97.278        73.653        .10138E-03   -1.5511    
   9  Prefactor     .99920E-09    2.3372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .13323E-08    5.1023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1475        4.7208        .57134E-03   -1.5672    
  12  Prefactor     .44409E-09    7.0275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12212E-08    6.2874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66669E-07    22.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .37366        1.4069        .57127E-02   -1.5720    
  16  norm          .42938E-06    .96230        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .35527E-08    13.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .64012        .22058        .11077       -1.0631    
  19  Prefactor     1.1520        .81647E-01    .35877E-01   -.87821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26488e-07
Minuit parameter uncertainties:
  1  0.00555278
  2  0.003549
  3  9.9644e-05
  4  0.000825706
  5  45.8832
  6  0.000258521
  7  5.07131e-06
  8  73.6534
  9  9.56341e-05
  10  0.000164533
  11  4.72081
  12  0.000113801
  13  0.000174139
  14  0.00245655
  15  1.4069
  16  0.00128563
  17  0.000440573
  18  0.220887
  19  0.0816564
Done.

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

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  1.332e-09  1.645e-04  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  1.763e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.152e+00  8.166e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  6.401e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 272.441 29.171
Photon Flux Upper Limit: 3.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/24731/likelihoodResults_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9474.9790298
delta logL = -0.000246793279075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9474.97878352
delta logL = -5.14812199981e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30648E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .53015       1.0000          .0000       5.0000    
     3 'Normalizat'    .64003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1520       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9474.836     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      360 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39885E-02    .89490E-02    .10461E-04** at limit **
   2  alpha         5.0000        3.9925        .50000    ** at limit **
   3  Normalizat    .61133        .23544        .50182E-03   -.12007E-03
   4  Prefactor     1.1568        .87531E-01    .14172E-03   -.51959E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00398854
  alpha      = 5
  Normalizat = 0.611326
  Prefactor  = 1.1568
 **********
 **   18 **HESSE 
 **********

 FCN=   9474.836     FROM HESSE     STATUS=OK            31 CALLS      391 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39885E-02    .83841E-02    .41845E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.8590        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .61133        .23597        .20073E-04   -1.0751    
   4  Prefactor     1.1568        .87582E-01    .28344E-04   -.87671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27994e-11
Minuit parameter uncertainties:
  1  0.00838408
  2  7.35964e-05
  3  0.236356
  4  0.0875926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24731': 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) = 9474.83583269
delta logL = 0.142950315179

Extracting fit parameters...

4FGL J1809.7+2910
   Spectrum: LogParabola
339         norm:  3.989e-03  8.384e-03  0.000e+00  1.000e+06 ( 1.000e-13)
340        alpha:  5.000e+00  7.360e-05  0.000e+00  5.000e+00 ( 1.000e+00)
341         beta:  1.007e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
342           Eb:  2.273e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.157e+00  8.759e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  6.113e-01  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 272.441 29.171

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/24731/cmap_HighResolution_692928001_693187201_4FGL_J1809.7+2910_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-05', job_status='DONE', photon_flux_upper_limit='3.51e-08', time_completed='2022-12-20 01:54:56.284237', job_id='24731', GAL2='1.16', fit_tolerance='1e-08', EG2='0.61', EG='0.64', time_epoch_completed='1671530096.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.43e-01', ts2='0.31', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:54:56 PST 2022

ight syntax to use near 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64' at line 1

Command execution failed.

Waiting 22.6438394582 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 16.913634971 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 19.7317337929 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 5.74797741291 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 16.0999459612 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 2.42713919897 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 2.44605830683 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 27.9367280983 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 21.6070432441 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 22.4381954439 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 10.5331203688 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 17.8105404119 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 18.3927292672 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 20.688139716 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 23.2865469785 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 24.6081213953 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 14.5886461409 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 29.150606815 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 7.02768813896 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 12.6387514955 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 9.0034405683 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 20.7619603405 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 23.6850189593 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 21.888418797 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 2.80115724257 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 8.63365852186 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 6.190538598 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 10.4668720277 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 11.0643281374 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 17.2034630739 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 3.89138037617 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 7.79310566674 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 21.3778886734 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 5.61323721885 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 6.30671190531 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 22.7693723872 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 23.2862330197 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 20.9035523622 seconds and trying again...


UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' AND cadence='daily';
UPDATE lightcurve_data_v2 SET job_status='FAIL', comment='local variable 'ts_freeIndex' referenced before assignment', time_epoch_completed='1671528972.64', time_completed='2022-12-20 01:36:12.638192', job_id='20108' WHERE bin_id='1750' AND source_name='4FGL J1809.7+2910' 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='1671528972.64' 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='1671528972.64' at line 1

Command execution failed.

Waiting 11.9456890655 seconds and trying again...


Maximum wait time exceeded. Proceeding.


Analysis Complete.


Tue Dec 20 01:46:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 20108: <4FGL_J1809.7+2910_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 01:20:25 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:20:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:20:25 2022
Terminated at Tue Dec 20 01:46:18 2022
Results reported at Tue Dec 20 01:46:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1750 272.441 29.1709 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1809.7+2910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1552 sec.
    Turnaround time :                            1553 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 24731: <4FGL_J1809.7+2910_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1809.7+2910_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:40:18 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:40:19 2022
Terminated at Tue Dec 20 01:54:57 2022
Results reported at Tue Dec 20 01:54:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1809.7+2910_daily_bin1750 272.441 29.1709 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1809.7+2910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             376.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

