variables in both galaxies are listed in the fifth column of Table\[periods147\] and \[periods185\], respectively, which are available online only. The corresponding mean photometric uncertainties after the calibration are listed in Table\[errors\] for different bins of magnitude within the range $16 < K_s < 19 $. In Fig.\[kDist\] the luminosity function (LF) in $K_s$ of stars detected in and is shown as a black continuous line. The red dashed line represents the distribution of LPVs for which we were able to assign a period as well. With the instrument setting mentioned above, the photometry in $K_s$ for both galaxies is probably complete down to $\approx$17mag. At a mean $K$-band luminosity of 17 mag, the typical photometric errors for and are $0\fm15$ and $0\fm16$, respectively.

Catalogue of variables {#photVar}
----------------------

\[variables\]

    $i$    $e_{phot}$   $K_s$   $e_{phot}$
  ------- ------------ ------- ------------
   $>19$      0.03      $>16$      0.09
   19-20      0.04      16-17      0.11
   20-21      0.06      17-18      0.13
   21-22      0.09      18-19      0.18
   $<22$      0.16      $<19$      0.26

  : Photometric uncertainties for the two galaxies obtained in the $i$- and $K_s$-filters.[]{data-label="errors"}

The $i$-band light curves were searched for periodicities using SIGSPEC[^4] (Reegen [@piet]). A maximum of two periods was derived from the Fourier analysis if the criterion for significance was 