O'Dogherty, Daniel, active 1685-1718, former Bavarian captain