parallelized logL