Do not show children of a category

Just use the parameter category__in of WP_Query – if you do this, then there is no need for cat and category__not_in. category__in does give you back results from the categor(y/ies) specified, but does not include results for the children of the specified categor(y/ies).