Ferdico is typically Sicilian, specific to Palermo, it should derive from an altered archaic form contracted, derived from an alteration of the name Federico.
Bibliographic source' "L'origine dei cognomi Italianim storia ed etimologia" di E. Rossoni disponibile online su: https://archive.org/