Barcelona couldn't defeat Atalanta and settled for a second place finish in the Champions League league phase.