exhibit 10. 4 license agreement this license agreement ( this “ agreement ” ) is effective as of november 12, 2015 ( “ effective date ” ), by and between tesoro refining & marketing company llc, a delaware limited liability company ( “ trmc ” ), and tesoro logistics operations llc, a delaware limited liability company ( “ tlo ” ). a. whereas, trmc is the owner of those certain parcels of real property as shown on the asset map ( “ map ” ) attached hereto as exhibit a ( the “ facility ” ) ; b. whereas, trmc, tlo, carson cogeneration company, a delaware corporation, tesoro logistics lp, a delaware limited partnership, tesoro socal pipeline company llc, a delaware limited liability company, tesoro corporation, a delaware corporation, and tesoro logistics gp, llc, a delaware limited liability company, have entered that certain contribution, conveyance and assumption agreement effective as of november 12, 2015 ( the “ contribution agreement ” ) ; c. whereas, pursuant to the contribution agreement, trmc has transferred certain assets to tlo ( the “ transferred assets ” ) ; d. whereas, trmc and tlo have entered in that certain carson ii storage services agreement, effective november 12, 2015 ( the “ storage services agreement ” ), pursuant to which tlo has agreed to provide certain storage and handling services to trmc utilizing the transferred assets ( the “ services ” ) ( capitalized terms used in this agreement but not defined herein shall have the meanings given to them in the storage services agreement ) ; e. whereas, trmc desires to give tlo access to certain portions of the facility from time to time for the purpose of operating and maintaining the transferred assets and providing the services ; and f. whereas, trmc and tlo desire to enter into this agreement for the purpose of permitting such access, all on the terms and conditions herein set forth. now, therefore, in consideration of the recitals set forth above ( which recitals are incorporated herein by this reference ), the mutual covenants herein, and other good and valuable consideration, the receipt and adequacy of which are hereby acknowledged, the parties agree as follows : 1 1. access rights. ( a ) access rights to tlo. subject to the terms and conditions of this agreement, trmc grants to tlo and its agents, representatives and contractors ( collectively,