Self-propelled particle in an external potential: existence of an effective temperature.