NOVELTY - Treating coal formation in situ comprises: (1) providing heat from at least one heat source (801) to at least one portion of the formation; (2) allowing the heat to transfer from the heat source(s) to a selected section; (3) controlling heat from the heat source(s) so that an average temperature within at least a majority of the selected section is less than 375degreesC and (4) producing a mixture.    USE - Used for producing hydrocarbons, hydrogen, synthesis gas, carbon material which is used for steel manufacture, and ammonia which is used for producing urea (claimed). The synthesis gas is used for producing paraffins which are used for diesel, jet fuel and naphtha product, and for producing methane, methanol, gasoline, diesel fuel and ammonia. The synthesis gas is used as combustion fuel for heating the formation. The synthesis gas is used in energy generation units such as molten carbonate fuel cell, solid oxide fuel cell and other type of fuel cell. The cooled, spent portion of the coal formation is used to store and/or sequester other materials such as carbon dioxide.    ADVANTAGE - A mixture of high quality hydrocarbon products, hydrogen and other product, is produced. The hydrocarbons are pyrolyzed within a larger area of portion using fewer heat sources, as spacing between the heat sources is selected to increase the effectiveness of the heat source, thereby economic viability of selected in situ conversion process for hydrocarbon is increased. Uniformity of heat distribution in selected section of the formation is increased. The coal formation is heated economically, using systems having durability. The pressure of hydrogen in produced fluid is controlled, so that a large amount of fluids having improved quality is provided. The reducing agent added to formation, reacts with hydrocarbon fragments to form selected products and inhibits production of non-selected products. The porosity of portion(s) of the formation is increased uniformly. The pyrolyzed portion(s) of formation has improved uniform permeability, thereby produces synthesis gas with high recovery efficiency, heating value and desired composition. The formation when cooled, increases strength of rock in the formation and absorptive capacity of the formation. Fluid released to the environment due to the operation of the in situ conversion process, is reduced or eliminated.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are included for the following:    (1) treatment of a coal formation layer in situ;    (2) in situ method for heating coal formation;    (3) in situ method for producing hydrogen from coal formation;    (4) formation of heater wells in a coal formation;    (5) installation of a heater well in a coal formation;    (6) a system configured to heat the coal formation;    (7) a mixture produced from a portion of the coal formation;    (8) a condensable mixture produced from a portion of the coal formation;    (9) in situ production of synthesis gas (823) from a coal formation;    (10) forming a spent portion of the formation within the coal formation;    (11) sequestering carbon dioxide within the coal formation;    (12) in situ sequestration of carbon dioxide within a coal formation;    (13) in situ production of energy from a coal formation;    (14) production of ammonia using a coal formation; and    (15) treatment of hydrocarbon in portion(s) of a coal formation.    DESCRIPTION OF DRAWING(S) - The figure is a diagram showing the usage of pyrolysis water to generate synthesis gas in the formation.    Heat source (801)    Electric heater (803)    Synthesis gas (823)    Production well (825)