A Jennifer Lopez fan with a restraining order was arrested earlier this month after he had been living at her Southampton, N.Y. mansion for six days while the singer was away, Reuters reported on Thursday.

John Dubis, 49, a retired firefighter from Rhode Island, was residing in the pool house of her home for a week before he was arrested on Aug. 8 and charged with stalking, criminal contempt and possession of burglary tools, Reuters cited police officials as saying.

Dubis, who is currently being held in the Suffolk County Jail on a $100,000 bail, pleaded not guilty to the charges and is expected to appear at the Southampton Justice Court on Aug. 28. "The court ordered an exam to determine if Dubis is fit to proceed in reference to the criminal charges," police said in the statement cited by Reuters.

The former firefighter allegedly slept on Lopez's couch, took photographs of himself inside the pool house and posted them on Facebook under the name David A. Lopez, Aceshowbiz reported. One photo shows Dubis biting a heart-shaped box of chocolates with the caption: “Jenny always sending me love.”

When he was spotted by one of Lopez’s employees, Dubis tried to get away by saying that he was Lopez’s husband, and later told police officials that he was the father of her children. Although Lopez’s neighbors saw Dubis inside the house while the singer was away, they dismissed his presence thinking that he was an employee.

"Oh, my, come to think of it, I did find it odd when I saw a man standing outside her driveway with the gate closed," Nancy Haverman, a neighbor, told New York Post. "I figured he was just part of her security crew. It’s really frightening — you don’t want to be a celebrity. I’m telling you, it’s a curse. I just hope [J.Lo] gets to enjoy this place just like everybody else,” Haverman added.

Dubis was earlier slapped with a restraining order after he contacted Lopez’s mother claiming to be her son.