00021: Feature selections are not supported
Your map contains feature selections. However, optimized map services do not support feature selections that are saved in your map document.
Clear your feature selections. Use the Clear Selected Features button on the Tools toolbar to remove feature selections.
There are many cases in which you may have saved selections in your map documents. However, you should clear these before publishing your ArcMap document as an optimized map service.
If you need to use a subset (selected) of features in your Web map application, you can work with feature selections as part of your application. For example, see Displaying an operational layer as client-side graphics for more information.