Accidentally synonyms such as by a fluke, adventitiously, and as luck would have it. Accidentally is an adverb, and its antonym is systematically.