Bernard Madoff, accused of the largest fraud in U.S. history, will be allowed to remain in his $7 million Park Avenue apartment instead of being sent to jail, under terms of an agreement announced today by federal prosecutors. Madoff was unable to meet the bond conditions set last week by a federal magistrate which required him to get four people to sign his personal recognizance bond. According to the U.S. Attorney's office, only Madoff's wife and brothers were willing to sign the document. But instead of ordering him held in jail, prosecutors agreed to home detention with electronic monitoring. Madoff and his luxury apartment on Manhattan's upper east side will be fitted with an electronic monitoring device by the court's pre-trial services and Madoff will be under a curfew of between 7 p.m. through 9 a.m. Madoff's wife agreed to post the mansions in her name in Palm Beach, Florida and in Montauk on New York's Long Island. The Securities and Exchange Commission chairman said today the agency has found no evidence of wrongdoing by any SEC personnel" in connection with Madoff's alleged $50 billion Ponzi scheme and that the SEC intends to get to the bottom of where it may have gone wrong. "I was very concerned to learn this week that credible allegations about Mr. Madoff had been made over nearly a decade and yet never referred to the commission for action," Commissioner Christopher Cox said at a press conference. Yesterday, Cox acknowledged what amounted to a generational failure on the part of the SEC to discover any hint of Madoff's scheme, despite allegations dating back to 1999.