any you guys know what actually triggers the P0171 to go off in our PCMs?

Im doing some open loop stuff to save some gas and was wondering if its a certain afr that sets it off? I keep throwing it even though Im running a little rich even...

depending on what throws it I may just delete it from the PCM since I tune in open loop anyway...

P0171- system too lean

thanks
Jarred