In the bowl of a stand mixer fitted with the paddle attachment, beat almond paste at medium speed until smooth. In a small bowl, beat butter with a mixer at medium speed until creamy. Add butter to almond paste, beating until combined. Add eggs, one at a time, beating well after each addition. Scrape sides of bowl, and beat in flour.