Calculate P phases using cake
Cleanup+ global time shift