CCOC(=O)C1=CC[C@H]2c3c(c4ccccc4n3C)C(=O)C1N2C
For non-ionizable compounds Log P = Log D throughout pH range, whereas for ionizable compounds LogD takes into account the partition of both ionized and non-ionized forms.  What is logD of this molecule?