Analytical study of self-similar motion following shock waves in magnetized, non-ideal, self-gravitating gas with variable density | Synapse