Running below `pathfinder`

method in the ./examples/bernoulli directory (after, in the cmdstan installation directory, running `make examples/bernoulli/bernoulli`

), all output is written to a single .log file. That .log file can in various ways get mingled. E.g. in below example with num_paths=7 and num_threads=8. Path [1] is written at the end of Path [6] Best Iter and Path [3] is appended to Path [1] on the next line. With any num_threads > 1 this can/will happen sooner or later. I would like to create a DataFrame from the bottom part of the logfile(s).

Creating separate profile.log files with the `output profile_file=profile_log_1.log`

cmdline argument doesnâ€™t work.

```
./bernoulli pathfinder num_paths=7 data file=bernoulli.data.json output save_cmdstan_config=1 profile_file=bernoulli.profile.1.log num_threads=8
method = pathfinder
pathfinder
init_alpha = 0.001000 (Default)
tol_obj = 0.000000 (Default)
tol_rel_obj = 10000.000000 (Default)
tol_grad = 0.000000 (Default)
tol_rel_grad = 10000000.000000 (Default)
tol_param = 0.000000 (Default)
history_size = 5 (Default)
num_psis_draws = 1000 (Default)
num_paths = 7
save_single_paths = 0 (Default)
psis_resample = 1 (Default)
calculate_lp = 1 (Default)
max_lbfgs_iters = 1000 (Default)
num_draws = 1000 (Default)
num_elbo_draws = 25 (Default)
id = 1 (Default)
data
file = bernoulli.data.json
init = 2 (Default)
random
seed = 966503968 (Default)
output
file = output.csv (Default)
diagnostic_file = (Default)
refresh = 100 (Default)
sig_figs = -1 (Default)
profile_file = bernoulli.profile_.log
save_cmdstan_config = 1
num_threads = 8
Path [1] :Initial log joint density = -18.295156
Path [4] :Initial log joint density = -6.842967
Path [6] :Initial log joint density = -7.426503
Path [5] :Initial log joint density = -7.053005
Path [2] :Initial log joint density = -16.022127
Path [7] :Initial log joint density = -8.070977
Path [3] :Initial log joint density = -9.786336
Path [5] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
4 -6.748e+00 2.727e-03 5.178e-05 1.000e+00 1.000e+00 101 -6.200e+00 -6.200e+00
Path [2] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
5 -6.748e+00 1.861e-03 5.584e-05 1.000e+00 1.000e+00 126 -6.214e+00 -6.214e+00
Path [3] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
5 -6.748e+00 5.647e-04 6.305e-06 1.000e+00 1.000e+00 126 -6.284e+00 -6.284e+00
Path [6] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
5 -6.748e+00 9.555e-05 3.509e-07 1.000e+00 1.000e+00 126 -6.208e+00 -6.208e+00
Path [6] :Best Iter: [5] ELBO (-6.208032) evaluations: (126)Path [1] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
5 -6.748e+00 6.948e-04 1.393e-05 1.000e+00 1.000e+00 126 -6.212e+00 -6.212e+00
Path [1] :Best Iter: [4] ELBO (-6.173815) evaluations: (126)Path [3] :Best Iter: [2] ELBO (-6.155017) evaluations: (126)
Path [7] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
5 -6.748e+00 2.395e-04 1.559e-06 1.000e+00 1.000e+00 126 -6.201e+00 -6.201e+00
Path [5] :Best Iter: [4] ELBO (-6.199598) evaluations: (101)Path [7] :Best Iter: [2] ELBO (-6.107752) evaluations: (126)
Path [4] : Iter log prob ||dx|| ||grad|| alpha alpha0 # evals ELBO Best ELBO Notes
4 -6.748e+00 7.898e-05 9.720e-06 9.497e-01 9.497e-01 101 -6.205e+00 -6.205e+00
Path [4] :Best Iter: [4] ELBO (-6.205340) evaluations: (101)
Path [2] :Best Iter: [3] ELBO (-6.135622) evaluations: (126)
Total log probability function evaluations:7657
```

This is in Github CI and MacOS, cmdstan 2.34.0, Julia v1.10 but also the .zsh command line.