magate