you can not macro two global cooldown spells together and there are no “smart” macros that can execute priorities.
Macros work like “first thing I can see, I will do” and if it “sees” Demon’s Bite it will just Demon’s Bite forever. If a macro “sees” Immolation Aura it will cast it. Then it “sees” Immolation Aura on CD and it will say “error, spell is on cooldown”.
Amd this is moronic. A creature of near-human intelligence is mocking someone who would like to optimize his performance. And with so many buttons you did not even time 10. Obviously, you must go into the simple spec.