SPARC working point optimization for a bunch with gaussian temporal profile