It is a modern falacy that magic and science cannot coexist. In fact, many of the branches of science can trace their origins to the magical arts. This blog post from the Science Museum Group discusses the Renaissance connections between these two fields.
link to From alchemy to astronomy: Practitioners of science and magic in Renaissance Europe