Lorain, I figured out that the problem I had in my script was my own fault. I had a function that was creating random letter and number strings that I was using as raster names. I wasn't checking to make sure that the strings always started with an alpha character and they were occasionally starting with a numeric character. Rasters can't be named with a string that begins with a number.
Dave