Meanwhile, here is yesterdays effort with a different script. (Quite a few exposure issues as you can see).
You have a beautiful spot for time lapsing. Is there much light pollution at night? Where are you located?
The online specs for the camera says it can take over 2 shots per second in continuous mode. If you enter an interval of "5", that would be 0.5 seconds per shot, or 2 shots per second. The first number printed on the screen is the time left over. If it's positive, it means you're shooting at 2 shots per second. When it goes negative, it's not keeping up with the shot rate.
Be sure that you set the review time to 0 seconds, or that will slow you up. I try to set everything I can in the camera's menus to off. I use "cloudy" for white balance with sunsets, even on sunny days. Auto white balance doesn't look good with time lapse.
I just did the "smoothing" factor, and used it once, but it looks like it worked. I used a smoothing factor of "8" for sunset.
Most of my time lapses are of the computer screen. You can go back and forth from the screen to a dark spot and watch the exposure follow, if it's working right.
Setting the log file to "1" is what I recommend. It saves a log with an 8 digit name of "month-day-hour-minute.LOG" The modified print_screen(n) function names the log file "nnnnnnnn.LOG" if n>9999.
I'm looking forward seeing your future creations. Good luck.