Carbonaceous material by ion irradiation in space