MHz free electron laser x-ray diffraction and modeling of pulsed laser heated diamond anvil cell