This protein is a multifunctional enzyme, able to activate and polymerize the amino acids Tyr, Asn, Gln and Pro as part of the synthesis of mycosubtilin. The Asn and Gln residues are further epimerized to the D-isomer form. The activation sites for these amino acids consist of individual domains. Binds 4 phosphopantetheines covalently. Belongs to the ATP-dependent AMP-binding enzyme family.