Aah..that kind of spasm. Yeah i`ve had those also and they can be really annoying :D Worst one was when it was in my butt :D
There are many reasons that contribute to your symptoms. Most important is the fatigue of that mucle. Also some get symptoms from caffeine. Also overall fatigue, hangover...