Performance characteristics and parametric optimization of an irreversible magnetic Ericsson heat-pump