Have you checked the oil pressure switch? I had a long-term intermittent oil leak like yours that I couldn't track down until the switch started spewing oil everywhere and it became obvious where it was coming from. If there's any oil on the top of the engine this is possibly your problem - an easy fix. There's a history with oil leaks on failing oil pressure sensors in Subaru's.