NOVELTY - A hydrocarbon containing formation is treated in situ by providing heat from a source to one portion of the formation, allowing the heat to transfer to a selected section of the formation, controlling the heat from the one or more heat sources such that an average temperature within at least a majority of the selected section of the formation is less than 375 degreesC, and produces a mixture from the formation.    USE - For treating hydrocarbon-containing formation to produce non-condensable hydrocarbons, condensable hydrocarbons, ammonia useful as fertilizer, and hydrogen (claimed).    ADVANTAGE - The inventive method economically produces hydrocarbons, hydrogen and/or other products from hydrocarbon containing formation. It is capable of yielding a mixture of relatively high quality hydrocarbon products, hydrogen, and other products.    DETAILED DESCRIPTION - A hydrocarbon containing formation is treatment in situ by providing heat from one or more heat sources to one portion of the formation, allowing the heat to transfer from the heat sources to a selected section of the formation, controlling the heat from the one or more heat sources such that an average temperature within at least a majority of the selected section of the formation is less than 375 degreesC, and producing a mixture from the formation.    INDEPENDENT CLAIMS are also included for:    (a) in situ method of producing hydrogen from hydrocarbon containing formation;    (b) a method of forming heater wells in hydrocarbon containing formation comprising forming first wellbore in the formation, forming a second wellbore in the formation using magnetic tracking such that the second wellbore is arranged parallel to the first wellbore, and providing heating element within the respective wellbores;    (c) method of installing a heater well into a hydrocarbon containing formation comprising forming a bore in the ground using a steerable motor and accelerometer, and providing a heating mechanism within the bore;    (d) a system for heating the hydrocarbon-containing formation comprising heater, oxidizing fluid source, and conduit;    (e) a mixture produced from a portion of the hydrocarbon containing formation comprising less than 10 wt.% olefin and average carbon number of less than 35;    (f) a method of in situ production of synthesis gas (823) form a hydrocarbon containing formation, comprising heating a section of the formation, and providing a synthesis gas generating fluid to the section to generate a synthesis gas, and removing synthesis gas from the formation;    (g) a method of sequestering a carbon dioxide within a hydrocarbon-containing formation comprising heating a portion of the formation, allowing a portion to cool, and storing carbon dioxide within the portion; and    (h) a method of producing ammonia using a carbon-containing formation comprising separating air to produce an oxygen-rich stream and nitrogen-rich steam, heating a selected section of the formation to a temperature to support the reaction of carbon-containing material in the formation to form synthesis gas, providing synthesis gas generating fluid and oxygen to react with the portion of the carbon-containing material in the formation to generate synthesis gas, producing synthesis gas from the formation, providing a portion of the hydrogen in the synthesis gas to an ammonia synthesis process, providing nitrogen to the ammonia synthesis process, and using the ammonia synthesis process to generate ammonia.    DESCRIPTION OF DRAWING(S) - The drawing shows the invention using pyrolysis water to generate synthesis gas in a formation.    Heat source (801)    Electric source (803)    Pyrolysis fluid (807)    Aqueous stream (811)    Vapor stream (813)    Injection well (817)    Synthesis gas (823)    Production well (825)