The raw is in neither color space for one. But the bigger issue is, the ProPhoto RGB container is larger than the sRGB container, and large enough to provide RGB values that are not actual colors. But also more saturated actual colors than sRGB so clipping from either is to be expected. One is invisible. Leave sRGB as an output color space for the web and mobile devices (that may not understand color management). Otherwise sRGB is rather useless.