American diplomats are in the final stretch of negotiations with Iran over its nuclear program.