Ok, thank you for your answer. That did solve the problem. I was copy pasting the command directly from the website, which has only one dash before each flag. Once, i added t dashes it worked.
The command ran but i still have a problem which was later one. Here is the error i got.
I searched online, but the only solution is to replace the NaNs with zeros!