Ask a Neurologist. Get Answers to Your Neurology Questions.
the pain doesn't seem to come from your bowels; it to much related to your body position. I don't think you need a neurologist, either. Pain at night is typical for inflammation, and an arthritis is possible. Did you take any medication? Are the joints (ankles) swollen, or ar there edema in your legs?
This may be a sign of a rheumatoid arthritis. You need a rheumatologist or a GP to check that out.