Thank you for the information.
Based on your information, you don't seem to have any alarming features at this time. there is no swelling, skin color change or pain when you press in there. I see that you have been having this pain off and on in the last 24 hours. Considering the fact that there is no other symptoms, your current pain could be from muscle or bone, possibly a muscle crams or contracted muscle which present like this. Muscle cramps are contraction of a muscle that doesn't relax. Cramps can occur in any skeletal muscle, but are most common in the legs and feet and muscles that cross two joints. Cramps can involve part of a muscle or all the muscles in a group. The most commonly affected muscle groups are: Back of lower leg, Back/front of thigh, Feet, hands, arms, abdomen.
The exact cause of muscle cramps is unknown, but many experts think it is related to poor flexibility, muscle fatigue
,overuse or doing new activity. Other factors associated with muscle cramps include exercising in extreme heat, dehydration and electrolyte depletion.
Cramps usually go away on their own without treatment, but these tips will help speed the process: Stop the activity that cause the cramp, gently stretch and massage the cramping muscle, use of heating pad for symptomatic relief. If you have persistent pain then taking pain medication is also beneficial.
If your pain become worse or you develop swelling, skin color change, then you will have to see your doctor for proper evaluation, x ray and blood test to pin point the exact cause.