Ultrasensitive diamond magnetometry using optimal dynamic decoupling | Synapse