MODULATION MECHANISM OF TeV, GeV, AND X-RAY EMISSION IN LS5039