Muscle spasms are very common. I personally don't think your PN is the cause.
Low magnesium status is common in 70% of the American public.
You can help it by soaking in epsom salts. About 4 oz to a bath tub...it will help.
The ache is often a sign of severe muscle pull when cramps are severe.
Diabetics lose magnesium thru the urine daily. Some drugs increase magnesium loss, like caffeine, diuretics, alcohol.
I hope you didn't buy magnesium oxide...it is next to useless. I think if you improve your magnesium intake you will also find it easier to sleep. It will in general relax you which I think you will enjoy.
__________________
All truths are easy to understand once they are discovered; the point is to discover them.-- Galileo Galilei
************************************
.
Weezie looking at petunias 8.25.2017
****************************
These forums are for mutual support and information sharing only. The forums are not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider. Always consult your doctor before trying anything you read here.