I will admit that magic might be a religion, as it grew out of the rituals used to appease gods and spirits, its just as time went by, the religious trappings where change, or fell out of use. Some types of magic systems did grow out of religion, look at the folk magic of the Pennsylvanis Dutch, or Hoodoo(an outgrowth of Vaudaun). I'll admit that I have been colored by many things that I have read, and said they are source, but sometimes there are bibliographies in the backs of some of those books. I should find a version of the Golden Bough, and read it. I guess, Bulfinche's Mythology could be a source.
Here are a few scientists who were also wizards.
Dr. John Dee
Sir Isaac Newton
Roger Bacon: magical works were attributed to him
Giordano Bruno