Exponential Family Graphical Models: Correlated Replicates and Unmeasured Confounders, with Applications to fMRI Data (JMLR, 2026)