Optimal system safety targets