Does it work without nohup? I haven't used "<" in my nohupped sage jobs -- what is it supposed to do? Also, why not use .sage instead of .txt? I would try
nohup sage input.sage > output.txt &

(after copying input.txt to input.sage)