Wolf is correct. I have birds in the living and dining room and they are kept to a strict solar schedule even though they do live in human areas. Granted that I am a maniac about it and don't allow any lights, TV or anything louder than whispers when they are sleeping

But, this way, I manage to have to cover only the cardinals cage in the living room (which I do because a) the cats love to climb on top of it and b) there is a lamp right across the street and its light shines through the window even when I draw the blinds).
BUT, if you watch TV at night in your living room or receive people at night, etc. (I receive no company in the evening throughout the entire winter -and yes, my entire family, especially my husband, complains about it

) it is better if he has a sleeping cage in another room. If you put his dinner in it every night (it has to be protein food though, produce won't work), he will gladly go into it and roost for the night.
As to his begging and then backing away from you, it's because he can't help needing the attention but he also cannot help not trusting you 100%. Don't forget that this poor bird was so neglected as to be almost abuse! What you need to do is, when you see him fluttering, talk to him softly continuously while you approach his cage without looking directly at him (staring is a predator thing) and taking kind of a circuitous route (kind of like ambling, stop here and there, take a bit of a detour, like that) while watching him out of the corner of your eye all the time and, as soon as you see him tensing up or begin to move to the back stop in your tracks and take one single, small step back with your head sideways (but not completely because you want to watch him out of the corner of your eye). Stay there while you talk in a soft and calm voice (you can also sing softly - my birds are so used to one song that, when they are startled, if I sing it very softly, they automatically calm down) and, once you see him relaxed again, take one step in his direction and watch his reaction. It might seem like a waste of time and it does take long for something that should be as easy as a 1 - 2 - 3 but it's just a temporary thing. The idea is for you to show him, through your actions, that you are no threat to him, that you want to be his friend, that you will allow the relationship to be on his terms and that you will always respect his wishes. He has no reason to trust people so you need to show him that YOU are different.