fixed issue pickling analysis classes which uses python logging