I am 100% sure that is a male. Your pictures of anal doesn't help much because you are taking it from that angle is hard to tell, you need to be more vertical angle for it. But base on the full pictures its a male, and another way to find out is try to squeeze its belly downward its anal slightly and you will see a clear liquid coming out of its anal. If no liquid then its a female.