Orbital magnetism and spin-orbit effects in the electronic structure of BaIrO3.