A system and method is provided for producing fluid from a subterranean
formation. A sensor system is used to monitor bottom hole flowing
pressure and formation pressure. The relationship of these pressures is
utilized in conjunction with a stability envelope of the formation in
optimizing fluid production.