Cautious optimism in Gaza, Israel as US makes last-ditch cea