You have to score, get the onside kick and score again. One score can be a FG.What's the rationale of going for the field goal there? Anyone?
May as well try the FG, then go for the TD next time with whatever time remains, than burn clock trying to score and coming up short.
Of course, this assumes the kicker is competent.