opamp output unstable
The AD797 op amp is not really unity gain stable without adding a capacitor and it isn't really designed for a supply as low as 5 volts. Read the data sheet. I wouldn't use 100 M ohm resistors either. Look at table 7 in the data sheet and note the low ohmic values for the resistors used. The 300 kohm resistors are far too high.