I am running a python script to create map tile packages from a series of maps containing imagery within an ArcPro project. The code halts when it gets to "Map 3". There is no Map 3 in my ArcPro project. When I click on the drop down arrow to see the list of maps, it is not there. However, when I open the "Create Map Tile Package" geoprocessing tool it sees a Map 3. How do I get rid of relic maps? This has happened to me many times before. See the images below.
Map list in geoprocessing task
Map list
You can see Map 3 listed in the There is no Map 3 in the list of maps.
geoprocessing task above.