As someone who has spent far too many hours learning songs but who has become much better at it, I say you probably hit that one too hard and would have benefited from learning some then walking away. Rinse and repeat. Some call it chunking.
One can see that you are a good enough player that you didn't likely have to learn any new physical skills for this song and the note choices aren't "out there" or overly muddled in speed nor rhythmically complex so you shouldn't have needed much time to grasp those aspects of the song. Nope, you just jumped into the fire and likely got lost in the maze rather than staying above it- maybe listen to the song 5x- listening at all times rather than assuming or figuring, let it sink in. Then, if you can't ID and organize the sections in your mind, write them out so you at least know the flow. Bonus if you write out the chords of each section so you can see how stuff works. Get the format ingrained in your head (I know it's tempting to learn the "fun" licks in the order in which they appear but, believe me, until your ears/fingers can just grab that Shlit skip it until you know the boring (structure) part cold. 1)you will own the structure much faster if you aren't allowing yourself to be distracted by the shiny objects, 2) the fills will come (and stay) much easier once you know them in the context of the song structure.
Thanks much and that hit the nail on the head. I tend to focus on a song from getting from point A (beginning) to point B (end) and can get bogged down in the details and candy along the way. I.e. missing the forest for all the trees. I need to work on just the chord changes and basic structure first, then and only then work on the icing of the cake (fills and so forth).