Constraining the Outflow Structure of the Binary Neutron Star Merger Event GW170817/GRB170817A with a Markov Chain Monte Carlo Analysis