The 741 has relatively limited inputs and outputs.
Outputs only reliably get within about 2-3 V of the rails. So, if powered from -15 and +15 V, the output won't usually get below -13 or about +13 (and may not get below -10/above +10).
Similarly, the inputs only work correctly when more than about 2V from the rails - i.e. you need to keep the inputs between -13 and +13 V. if they go outside this range, then the output may not be correct.
This behavior is acceptable because the 741 is designed to be run from a dual supply - i.e. + and - rails. If you're running from a single supply (e.g. 0 and +20) then you may run into problems. if you're trying to run on less than 20V, then the fact that the 741 doesn't work closer than 2-4 V from the rails, is going to lose a lot of voltage range.
If you need to work from a single supply, then you really should look for a modern replacement of the 741 which is designed to do so. These op amps often have 'rail-to-rail' outputs and 'rail-to-rail' inputs, which are fairly self-explanatory, meaning that the output can go all the way to the supply rails, and the inputs will work correctly all the way to the supply rails.