In Final Fantasy Crystal Chronicles: Echoes of Time, the Ultima Weapon is tied to the final boss.
You need to defeat the final boss on hard difficulty, and there is a chance it will drop the weapon for you. Because it is a rare boss drop, you may have to run the fight more than once before it appears, so persistence is key.