Keep a diary is a great idea, as you noticed, it starts to show you patterns over time of things that may trigger your pain or when you have less pain a possible reason why!
Hopefully you'll be able to figure out a plan of action and feel better. Care on the naps, if you take them for too long of a period it will end up totally messing up your sleep schedule

I think they say no more than an hour is recommended.