When using smite, you select a primary target who is damaged. The energy the arcs to damage "any creature" within a distance determined by the PR.
Does this mean that if the Librarian is too close to the primary target that he may be damaged by his own attack?