Yet we know from both 1 and 2 Maccabees that in the second century B.C.E. a group or party developed, associated with the Maccabees, who called themselves Chasidim, as reflected in the Greek term asidaioi (faithful).
Reciting Psalm 30 on Chanukah: A Biblical Custom? - TheTorah.com
Daniel’s apocalypse offers a perspective of the events leading up to Chanukah that differs markedly from that of First and Second Maccabees. While the latter books take the perspective of the Maccabees, a political group of guerrilla fighters, Daniel reflects the point of view of some of the scribes, the “knowledgeable among the people (maskilim).” A fragile alliance formed between these two groups, but much distrust as well.....What actually happened may have been unimaginable to Daniel’s more passive group: the Judeans won. After a protracted campaign, Antiochus’ beleaguered successor, Lysias, entered into negotiations with the Maccabees, which led to the independent state ruled by the Maccabees and their successors. It was at this time that the rededication of the Jerusalem temple, the event that Chanukah celebrates, occurred. The unknown authors of the apocalyptic visions never wrote the end of the story, or if they did, it was not preserved.
The Lead up to Chanukah in the Book of Daniel - TheTorah.com
As much as I dug, I found no 'consensus' that the book of Daniel was written by the Maccabees themselves. It would seem to answer more questions if we conclude that the author/s were 'associated' with the Maccabees but having clear differences regarding the use of literal swords. It probably sounds pedantic but my subtle difference of opinion seems sound. Many commentators have observed and elaborated on the distinctly different outlook of the would-be martyrs of Daniel and the must-be warriors of 1 Maccabees.
The Book of Daniel is generally agreed to have been written at some point during the persecutions of Antiochus IV Epiphanes, around 167–165 BCE. Compared to the more secular stance of 1 Maccabees that advocated direct military action under the leadership of the Hasmonean family, Daniel appears to have a more spiritual and apocalyptic approach to the crisis, suggesting that God would directly intervene to punish the Seleucids. It appears to suggest more of a passive resistance and praises martyrdom; thus, the most important thing for the faithful was to remain 'pure' in their Judaism to maintain God's favor.... One common point of speculation is that the author of Daniel was a member of the Hasideans, or at least a good example of how the Hasideans thought. Scholars favoring this include Martin Hengel, Victor Tcherikover, and James A. Montgomery.[16][2Hasideans - Wikipedia
1 Maccabees relates that at the start of the conflict around 167–166 BCE, some of those "who had rejected the king's command" forbidding traditional Jewish practices such as circumcision and Jewish dietary laws had escaped into the wilderness. (Qumran?) The empire's soldiers had attacked them on the Sabbath, they declined to defend themselves, and were killed. Hasideans - Wikipedia
Dan 11:33Those with insight will instruct many, though for a time they will fall by sword or flame, or be captured or plundered.
34Now when they fall, they will be granted a little help, (Maccabee initial campaigns) but many will join them insincerely. (perhaps a reference to a group of Hasidim that, after the massacre, decided to join the Maccabean army mentioned in 1 Macc 2 :42,43)
Perhaps this betrayal of their pacifist stance, emboldened the Hellenist High Priest Alcimus (appointed by Antiochus) to feign a peaceful confab with a group of them, and executing the trusting bunch.
Then a group of scribes appeared in a body before Alcimus and Bacchides to ask for just terms. The Hasideans were first among the Israelites to seek peace from them, (the Seleucids) for they said, 'A priest of the line of Aaron has come with the army, and he will not harm us.' Alcimus spoke peaceable words to them and swore this oath to them, 'We will not seek to injure you or your friends.' So they trusted him; but he seized sixty of them and killed them in one day (...) Then the fear and dread of them fell on all the people, for they said, 'There is no truth or justice in them, for they have violated the agreement and the oath that they swore.'