To position two fermata signs on the last bar line (a typical setup in XVIII century music) add the Mark_engraver to the lower staff using \with.
Mark_engraver
\with