Intermittent Pulsations in an Accretion-powered Millisecond Pulsar