Sounds to me like you had some issues with distractions during the day, amplified by working at home.
Other people (like me) prefer to work late at night for the same reason, it also allows for a more social lifestyle (i.e. going out occasionally) than having to be in bed early.