Effect of Positive and Negative voltage supply in LM741 opamp
If your input voltage swings equally positive and negative then it would be expected that your output would do the same. However, with 0 volts as your most negative supply rail this cannot happen. An op-amp can only produce output voltages within the confines of its power rails.

This won't be helped by using a rail-to-rail op-amp either.

The data sheet has the full story: -


Input voltage cannot be relied upon when closer than 3V to either rail (see input voltage range limits in DS)
Output voltage is unreliable within 3V of either rail (see output voltage swing limits in DS)


You've broken both these rules!