ref
early 17th century: from French panique, from modern Latin panicus, from Greek panikos, from the name of the god Pan, noted for causing terror, to whom woodland noises were attributed.
panic + -ed with -k- interfix