A reliable way, with simple programming, to get unusually large values for a function that is number theoretic multiplicative is just to take $n$ from a small $m$ and
$$ n = \operatorname{LCM} (1,2,3,4,5,...,m-1,m) $$
Note that this increases only when $m$ is a prime or prime power. One version of the Prime Number Theorem is the fairly good approximation $\log n \approx m \; . \;$
I've done that, my conclusion is that $P(n) > \; n \; ( \log n )^k$ for any fixed positive $k$ and large enough $n$ in this sequence. As I've mentioned, this sequence of $n$ act roughly as the colossally abundant numbers.
=========================
Full printout for $m \leq 25$
1.5 m 2 pillai 3 n 2 = 2 -1.106277801788494
2.5 m 3 pillai 15 n 6 = 2 3 1.57114840063342
3.333333333333333 m 4 pillai 40 n 12 = 2^2 3 1.322705324263649
6.000000000000003 m 5 pillai 360 n 60 = 2^2 3 5 1.27110600234983
11.14285714285714 m 7 pillai 4680 n 420 = 2^2 3 5 7 1.340489752783667
13.92857142857144 m 8 pillai 11700 n 840 = 2^3 3 5 7 1.381138463847476
19.49999999999998 m 9 pillai 49140 n 2520 = 2^3 3^2 5 7 1.443196002229409
37.22727272727266 m 11 pillai 1031940 n 27720 = 2^3 3^2 5 7 11 1.555505596788277
71.59090909090902 m 13 pillai 25798500 n 360360 = 2^3 3^2 5 7 11 13 1.675517976485081
85.90909090909101 m 16 pillai 61916400 n 720720 = 2^4 3^2 5 7 11 13 1.711618190328735
166.7647058823523 m 17 pillai 2043241200 n 12252240 = 2^4 3^2 5 7 11 13 17 1.832281489005753
324.7523219814228 m 19 pillai 75599924400 n 232792560 = 2^4 3^2 5 7 11 13 17 19 1.954844200385714
635.3849777897412 m 23 pillai 3401996598000 n 5354228880 = 2^4 3^2 5 7 11 13 17 19 23 2.075907921212419
917.7783012518491 m 25 pillai 24569975430000 n 26771144400 = 2^4 3^2 5^2 7 11 13 17 19 23 2.146284910434013
===============================
Abbreviated printout for $m \leq 64$
1.5 m 2 -1.106277801788494
2.5 m 3 1.57114840063342
3.333333333333333 m 4 1.322705324263649
6.000000000000003 m 5 1.27110600234983
11.14285714285714 m 7 1.340489752783667
13.92857142857144 m 8 1.381138463847476
19.49999999999998 m 9 1.443196002229409
37.22727272727266 m 11 1.555505596788277
71.59090909090902 m 13 1.675517976485081
85.90909090909101 m 16 1.711618190328735
166.7647058823523 m 17 1.832281489005753
324.7523219814228 m 19 1.954844200385714
635.3849777897412 m 23 2.075907921212419
917.7783012518491 m 25 2.146284910434013
1180.000673038088 m 27 2.194463499259528
2319.31166769555 m 29 2.313778030559765
4563.806829981581 m 31 2.433171054297125
5324.441301645173 m 32 2.462405192118611
10504.97878432697 m 37 2.579664357765774
20753.73857391433 m 41 2.69603025320276
41024.83206471433 m 43 2.812189849790792
81176.79536209513 m 47 2.927413728375297
118643.0086061401 m 49 2.994577324543895
235047.4698800856 m 53 3.108318781606997
466111.084338476 m 59 3.220881584455215
924581.0033599157 m 61 3.333132364266017
1056664.0038399 m 64 3.356425839582893
===============================
Now take $n=(p_1\cdots p_k)^2$, then $P(n) \geq n2^k$, and $2^k >> \ln{n}$, so something is wrong somewhere.
– Aphelli Sep 11 '19 at 21:44