Legendary fish cannot enter fish ponds. Only Fish TANKS.
Also, to get their roe, you don't do that through the Pan but rather, through your fishing rod and a treasure chest appearing (chance only, not certainty), provided that you have read the book "Jewels of the Sea", first!