Yeah you have gnats, probably gnat larvae in your medium. I would just use sticky traps high and low to catch the flying adults. Since you are about to chop the only shitty thing you will face is the flying gnats get stuck in your sticky icky buds so blast some fans up high or hang sticky traps to keep those shit heads from getting stuck up in your buds.