I am confused between the two at a very fundamental level. Following is the problem:
I take observations $\vec{x}$ and create a histogram $\mathbf{n} = (n_1,\ldots,n_N)$ out of it with $N$ bins. Number of elements in bin $i$ can be modelled as a Poisson random variable i.e. $n_i \sim Pois(\lambda_i)$ with parameter $\lambda_i = \mathbb{E}[n_i] = \mu s_i +b_i$ where $s_i$ and $b_i$ are the number of entries coming from distributions $f_s(x;\mathbf{\theta}_s)$ and $f_b(x;\mathbf{\theta}_b)$ respectively.
Now, when we write the Likelihood function $L(\mu,\theta_s,\theta_b|n_1,\ldots,n_N)$ of this histogram as: $$ \begin{align*} L(\mu,\theta_s,\theta_b;\vec{n}) &= f(n_1|\lambda_1) \cdots f(n_N|\lambda_N) \\ &= \prod_{i=1}^{N} f(n_i|\lambda_i)\\ &= \prod_{i=1}^{N} \frac{\lambda_i^{n_i}}{n_i!}e^{-\lambda_i} \\ &= \prod_{i=1}^{N} \frac{(\mu s_i + b_i)^{n_i}}{n_i!}e^{-(\mu s_i + b_i)} \end{align*} $$
Does this mean that my data is $N$-dimensional (which most probably is not but I still want to ask) or is it the case that I am calculating likelihood of $N$ i.i.d samples?