If you created drugs for your personal use, then you are not guilty of manufacturing a controlled substance under federal law. That said, California law is a completely different matter, and you may be guilty under those.