A judge has ordered a former West Virginia University physics professor who admitted committing federal fraud to serve three months in prison.