Also written fy Fan. Not very vulgar. Rather blasphemous though - basically uttering one of the names Swedes have for Satan.
Excessive use has watered down this expletive in some cliques of society, making it usable at most occasions.