Don't you have a lawyer? If you can't afford one at least get a public defender. Don't just expect the judge to feel sorry for you and let you off. If you have a lawyer you can maybe get a deal to keep it off your record or he might be able to argue an illegal search and seizure. That's an interesting point of law there since it was in a flashlight keychain and there may be some avenue of escape.