Have you had your Magnesium level tested?
Low magnesium can lead to Anxiety, insomnia, depression, muscle aches, muscle twitch, restless legs, panic attacks, diarrhea, extreme weakness or tiredness, irregular heart rhythm, diabetes etc. Supplements or regular Epsom Salt bath may make an improvement for you . Internet search "Organic Facts Magnesium" for more info.