A far-off-resonance optical trap for a Ba+ ion