NOVELTY - The system comprises a cryogenic distillation tower (100) that receives and then separates the raw gas stream into an overhead methane stream and a bottom liquefied acid gas stream, a refrigeration equipment disposed downstream of the tower for cooling the overhead methane stream and returning a portion of the overhead methane stream to the tower as liquid reflux, a solid adsorbent bed disposed upstream of the tower to partially dehydrate the raw gas stream, and a solid adsorbent bed disposed downstream of the tower to adsorb some remaining acid gases from the cooled overhead methane stream.    USE - The system is useful for removing acid gases including carbon dioxide and hydrogen sulfide from a raw gas stream including nitrogen (all claimed).    ADVANTAGE - The system is capable of effectively and rapidly removing the acid gases from the raw gas stream without carbon dioxide emissions, increasing refrigeration equipment capacity and solid accumulation on the tower.    DETAILED DESCRIPTION - The system comprises a cryogenic distillation tower (100) that receives and then separates the raw gas stream into an overhead methane stream and a bottom liquefied acid gas stream, a refrigeration equipment disposed downstream of the tower for cooling the overhead methane stream and returning a portion of the overhead methane stream to the tower as liquid reflux, a solid adsorbent bed disposed upstream of the tower for partially dehydrating the raw gas stream, a solid adsorbent bed disposed downstream of the tower for adsorbing some remaining acid gases from the cooled overhead methane stream, a regenerated solid adsorbent bed to replace the solid adsorbent bed downstream of the tower when the solid adsorbent bed, which is disposed downstream of the tower is saturated with carbon dioxide, a control system for controlling cycle times of the solid adsorbent bed, which is disposed upstream of the tower, and vessels disposed downstream of the tower for further separating carbon dioxide from methane using ionic liquids, physical solvents or chemical solvents. The tower has a lower distillation zone and an intermediate controlled freezing zone that receives a cold liquid spray primarily comprised of methane. The refrigeration equipment is designed to generate liquid reflux in a sufficient quantity to remove acid gases from the raw gas stream within the tower down to a first selected composition, and deliver the overhead methane stream to the solid adsorbent bed, which is disposed downstream of the tower to remove the remaining acid gases down to a second selected composition. The quantity of the generated liquid reflux is sufficient to remove carbon dioxide from the raw gas stream down to a first composition (1-4 mole%) that meets pipeline specifications, and the solid adsorbent bed, which is disposed downstream of the tower removes additional carbon dioxide from the overhead methane stream down to a second composition (0.2-3 mole%) of 50 ppm, where composition meets liquid natural gas specifications. The control system comprises: a device for measuring the composition of water in the raw gas stream upstream of the solid adsorbent bed and the composition of water above the effluent of the solid adsorbent bed, which is disposed upstream of the tower; and a unit for measuring the rate of flow of the raw gas stream into the solid adsorbent bed, which is disposed upstream of the tower. The control system is configured to shut off the flow of fluids through the solid adsorbent bed, which is disposed upstream of the tower when the measurement device senses a predetermined level of water. The solid adsorbent bed is a molecular sieve bed. The molecular sieve bed, which is disposed downstream of the tower removes hydrogen sulfide from the overhead methane stream down to a composition of less than 4 ppm. The additional solid adsorbent bed in reserve is also a molecular sieve bed. The refrigeration equipment comprises an open loop refrigeration system, or a closed loop refrigeration system. The solid adsorbent bed disposed downstream of the tower is configured to replace the solid adsorbent bed, which is disposed upstream of the tower in a regeneration cycle. An INDEPENDENT CLAIM is included for a method for removing acid gases from a raw gas stream.    DESCRIPTION OF DRAWING(S) - The diagram shows a side view of a controlled freeze zone distillation tower.    Initial fluid stream (10)    Chilled fluid stream (12)    Cryogenic distillation tower (100)    Heat exchanger (150)    Expansion device. (152)