SAS to STATA

#1
I am trying to replicate the following SAS code in STATA, using command xtmixed. Although I understand most of the SAS code, I am not entirely sure... could anyone suggest an equivalent STATA code?

proc mixed data= out.sample_av2 method= ml;
by city prod_name;
class org store upc timevar city subject month;
model logprice_fill= subject/ ddfm=bw solution;
random intercept upc org(upc) store org/ subject = timevar;
ods output CovParms = out99.varcomp_pav_wst;
run;

Thanks in advance!