why gooey? how did you get it? freebasing acetate or fumarate? Did you try to let it dry for long enough, scraping and rescraping it and letting air dry?
regarding how to store it, what about turning it back into a salt form by dissolving in minimal amount of vinegar for making tincture ? Take a look at q21's tek, and also do a search on the forum for amor fati and q21q21 's posts regarding 'tincture'.
Or if you have fumaric acid, better changing the freebase into fumarates for pharma.
Or infuse some herbs with the freebase and you can both smoke it, or swallow a right amount of the herbs for pharma (though they will obviously taste bad).
Or just put that gooey freebase in some easily scrape-able container such as a petri dish and keep it as such.
or... I dont know, too many options