Magnetized dark energy and the late time acceleration