Change celery to redirect debug output to stdout.
minor changes.
Change min_def = 1 for TfidfVectorizer.