You're not going to jail, and probably won't end up with a conviction. A lawyer may be able to negotiate a disposition prior to arraignment of dismissal with community service. The case is weak, you have no real record, and some personal issues that merit sympathy. Worst case senario is some probation with drug treatment, but you'd probably have to have really ineffective lawyer for a deal like that. Plus don't discount the idea that your statement, which is the worst evidence against you, might be suppressed as involuntary.

Everyone-keep you mouths' shut when dealing with the police.