Fabrication and characterization of an L3 nanocavity designed by an iterative machine-learning method