There's numerous problems here. You made some very serious misteps.
Problem 1:
Depending on which version of Job (the Masoretic or the LXX) you read, it may indicate that the angels cried for joy when God brought the starry hosts into existence. But if you consider the Genesis account; God creates the starry hosts, the sun, and the moon on Day 4 of creation. But what happened on Day 2? God brought forth the heavenly “dwelling space.”
For the heavenly hosts to even exist, they would have had to have an abode to dwell in.
In the Genesis account, God creates the heavenly dwelling space on Day 2. But on Day 3, God creates the earthly abode. Then beginning on Day 4, God fills the heavenly dwelling space. And on Day 5, God begins filling the earthly dwelling space with its hosts.
Just as sea creatures could not live without their dwelling space first established (the sea), neither could angels (or men). This is why the living creatures are not brought into existence until after their proper abodes were first established. This is also the reason why man was created on the sixth day: Because all things were created for him.
So to argue that the angels were present when God first began the creation project, is off. If Job 38 were read correctly, then the most one would be able to argue was that the angels were present by Day 2 or possibly some time on Day 4, prior to the stars existence. But they most certainly were not present prior to Day 1 of creation. One could even argue that the “stars” are representative of the angels, as it is often symbolic in nature.
The question that needs to be answered is: At the time of Genesis 1:1, were the angels in existence? Job 38 does not indicate that they were, not even in the slightest sense. And it wasn't even until Genesis 1:6 that the heavenly dwelling space was even created.
In the Job account, there is nothing in the text that would lead one to assume that angels were in existence prior to Gen. 1:1-2. In fact, Job 38:4-7 (Masoretic) only places their existence prior to (or in sequence with) the events recorded in Gen. 1:16. Job’s account tells us absolutely nothing of their existence prior to Gen. 1:6-8, much less, Gen. 1:1-2.
Job 38:4 is limited in scope; it does not say, “Where were you when I laid the foundations of the heavens and the earth,” but exclusively refers to, “the foundations of the earth.”
In their independent accounts, 2 Enoch and Jubilees, both place the creation of the angelic hosts somewhere along the 7-Day spectrum:
- In 2 Enoch (28:1-33:2), the heavenly abode was created on Day 1. And then on Day 2 of the creation project, God then fills the heavenly abode with its hosts. This places their existence on par with Day 2 of creation (cf. Gen. 1:6-8).
- In Jubilee (2:1-33), the angelic hosts are brought into existence on Day 1 of creation. And even though the two accounts may (at least in some regard) differ, the one thing they do agree on, is: That the angelic hosts did not exist prior to Gen. 1:1-2.
- Psalm 148 provides further support. The author of Psalm 148 lists the angels amongst the things created in a context which alludes back to Gen. 1.
Even in the Palestinian Targumim, though I do disagree with it’s interpretation of Gen. 1:26, says in passing, “And the Lord said to the angels who ministered before Him, who had been created in the second day of the creation of the world, Let us make man in Our image, in Our likeness; and let them rule over the fish of the sea, and over the fowl which are in the atmosphere of heaven, and over the cattle, and over all the earth, and over every reptile creeping upon the earth.”
And in 2 Ezra 6, it lists the “heavenly hosts” amongst created things (2 Ezra 6:3) in a context where the Genesis story of creation is in view (2 Ezra 6:1–6), though it does not specifically identify which day they were brought into existence (2 Ezra 6:38–54).
What I find convincing is 2 Ezra 6:6,
This statement in 2 Ezra 6:6, when paired with 2 Ezra 6:3, does seem to fly in the face of the claim found in the Palestinian Targumim that angels assisted God in creation of the earthly realm. 2 Ezra 6:3 identifies the angels as being created (amongst the “world” and all it’s “inhabitants”), but in 2 Ezra 6:6 it states explicitly, “and they were made through me alone and not through another; just as the end shall come through me alone and not through another.” Though the Palestinian Targumim and 2 Ezra disagree on this point, the important take away is that both sources agree that the heavenly hosts have their place in existence at sometime during the 7-Day spectrum.