COC(=O)[C@H]1C=C[C@@H](C)n2c(=O)c3cc4ccccc4cc3c(=O)n21
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?