optimized analytics daemon

Signed-off-by: Bart Piwowar <bart.piwowar@gmail.com>