State diagram of nanopillar spin valves with perpendicular magnetic anisotropy