Swift TOO API
Swift MOC

swift_too module

Swift_PlanQuery example - querying planned Swift observations

API version = 1.2, swifttools version = 2.4

Author: Jamie A. Kennea (Penn State)

The Swift_PlanQuery class allows for querying the database of observations have have been planned for observation by Swift, otherwise known as the "Pre-Planned Science Timeline" (PPST). This allows the user to find out not only what was planned, but what will be observed by Swift in the future.

Two important caveats:

  1. For past observations, what should have been down is mostly an academic exercise, as due to TOO uploads and GRBs, Swift's pre-planned observations can be obliterated. If you want to know what Swift did observe, do a Swift_ObsQuery

  2. Swift's planning is only done days into the future, so if you want to know what is going to happen weeks from now, you're out of luck.

This therefore is mostly useful if you want to know what Swift is observing today and tomorrow.

from swifttools.swift_too import PlanQuery
from datetime import datetime, timedelta

First Query

Note: as of swifttools 2.2, anonymous login is the default, so if you do not give the username and shared_secret, it will log in as 'anonymous'

First query example: What is Swift planned to observe now? Quite easy to construct. Note as of swifttools 2.3, you can omit the Swift_ from class names. Here is our first query:

plan = PlanQuery(begin=datetime.utcnow())
plan
Begin Time End Time Target Name Observation Number Exposure (s)
2022-03-28 19:47:00 2022-03-28 19:57:00 ZTF21abcgnql 00014332012 600

So the above should have reported back a single target. When you just give begin with no end, it simply returns the observation which is taking place at the time given. So what is happening at this time tomorrow?

plan = PlanQuery(begin=datetime.utcnow() + timedelta(days=1))
plan
Begin Time End Time Target Name Observation Number Exposure (s)
2022-03-29 19:48:00 2022-03-29 19:59:00 NGC 5236 00010978072 660

Did the above query return anything? If not, then there simply isn't a plan for tomorrow. So how can we determine how far into the future Swift has a plan for? The ppstmax parameter. Let's check it out:

f"PPSTs available up to {plan.ppstmax}"
'PPSTs available up to 2022-03-30 00:00:00'

This gives the date of the last planned target. If the query for what Swift is observing this time tomorrow didn't return anything, this date is probably the end of the UT day today. If the time you're running this is before midday on a Monday-Thursday, this is as expected. Typically the plan for tomorrow is submitted for upload around 12pm Eastern time. The exception to this rule is for the weekend plan. Typically on Thursday at 12pm we submit a plan for Friday and Saturday, and on Friday at 12pm we submit a plan for Sunday-Monday. This allows us to cover the weekend, while working a 5 day week.

Second query example

Seeing a whole day's PPST. So let's see the whole day's Plan that goes farthest into the future.

dayplan = PlanQuery(begin=plan.ppstmax - timedelta(days=1), end=plan.ppstmax)
dayplan
Begin Time End Time Target Name Observation Number Exposure (s)
2022-03-28 23:50:00 2022-03-29 00:00:00 OGP_2824 03104295003 600
2022-03-29 00:00:00 2022-03-29 00:07:00 OGP_3917 03103421003 420
2022-03-29 00:07:00 2022-03-29 00:25:00 saa-cold-218-0 00074100090 1080
2022-03-29 00:25:00 2022-03-29 00:35:00 MKN 6 00035461088 600
2022-03-29 00:35:00 2022-03-29 00:40:00 0716+714 00096041006 300
2022-03-29 00:40:00 2022-03-29 01:10:00 ZTF20abobpcb 00013649033 1800
2022-03-29 01:10:00 2022-03-29 01:20:00 1RXS J195500.6-160328 00083574001 600
2022-03-29 01:20:00 2022-03-29 01:23:19 SMC J0048.5-7256 00048753255 199
2022-03-29 01:23:19 2022-03-29 01:25:00 SMC J0113.8-7403 00048702206 101
2022-03-29 01:25:00 2022-03-29 01:30:00 N132D 00059114070 300
2022-03-29 01:30:00 2022-03-29 01:55:00 N132D 00059114071 1500
2022-03-29 01:55:00 2022-03-29 02:10:00 0716+714 00096041006 900
2022-03-29 02:10:00 2022-03-29 02:38:00 NGC 5907 ULX 00010374210 1680
2022-03-29 02:38:00 2022-03-29 02:51:00 1RXS J195500.6-160328 00083574001 780
2022-03-29 02:51:00 2022-03-29 02:54:19 SMC J0039.6-7405 00048696222 199
2022-03-29 02:54:19 2022-03-29 02:55:38 SMC J0040.0-7330 00048722222 79
2022-03-29 02:55:38 2022-03-29 02:57:10 SMC J0121.8-7230 00048776191 92
2022-03-29 02:57:10 2022-03-29 02:58:35 SMC J0122.3-7359 00048704194 85
2022-03-29 02:58:35 2022-03-29 02:59:56 SMC J0122.8-7305 00048747193 81
2022-03-29 02:59:56 2022-03-29 03:01:15 SMC J0123.8-7340 00048718193 79
2022-03-29 03:01:15 2022-03-29 03:02:36 SMC J0124.3-7247 00048762191 81
2022-03-29 03:02:36 2022-03-29 03:03:59 SMC J0136.3-7328 00048826157 83
2022-03-29 03:03:59 2022-03-29 03:05:16 SMC J0137.6-7309 00048827154 77
2022-03-29 03:05:16 2022-03-29 03:06:45 SMC J0104.8-7330 00048728213 89
2022-03-29 03:06:45 2022-03-29 03:08:12 SMC J0105.4-7126 00048812203 87
2022-03-29 03:08:12 2022-03-29 03:09:40 SMC J0052.4-7331 00048725222 88
2022-03-29 03:09:40 2022-03-29 03:11:07 SMC J0116.4-7251 00048760200 87
2022-03-29 03:11:07 2022-03-29 03:12:39 SMC J0033.5-7346 00048707220 92
2022-03-29 03:12:39 2022-03-29 03:13:58 SMC J0034.2-7311 00048735220 79
2022-03-29 03:13:58 2022-03-29 03:15:30 SMC J0117.2-7326 00048731198 92
2022-03-29 03:15:30 2022-03-29 03:16:55 SMC J0117.1-7157 00048798191 85
2022-03-29 03:16:55 2022-03-29 03:18:27 SMC J0050.3-7424 00048691220 92
2022-03-29 03:18:27 2022-03-29 03:21:00 SMC J0133.4-7315 00048822163 153
2022-03-29 03:21:00 2022-03-29 03:36:00 SN2022csn 00015084003 900
2022-03-29 03:36:00 2022-03-29 03:46:00 MKN 6 00035461088 600
2022-03-29 03:46:00 2022-03-29 04:03:00 M87 00096453017 1020
2022-03-29 04:03:00 2022-03-29 04:26:00 OGP_0057 03104501005 1380
2022-03-29 04:26:00 2022-03-29 04:30:22 SMC J0029.4-7344 00048706221 262
2022-03-29 04:30:22 2022-03-29 04:31:41 SMC J0030.2-7309 00048734221 79
2022-03-29 04:31:41 2022-03-29 04:33:03 SMC J0035.3-7404 00048695221 82
2022-03-29 04:33:03 2022-03-29 04:34:29 SMC J0044.7-7220 00048779218 86
2022-03-29 04:34:29 2022-03-29 04:35:49 SMC J0048.7-7145 00048800211 80
2022-03-29 04:35:49 2022-03-29 04:37:15 SMC J0032.5-7252 00048749220 86
2022-03-29 04:37:15 2022-03-29 04:38:43 SMC J0058.8-7348 00048713213 88
2022-03-29 04:38:43 2022-03-29 04:40:10 SMC J0128.0-7338 00048719194 87
2022-03-29 04:40:10 2022-03-29 04:41:43 SMC J0056.1-7110 00048815205 93
2022-03-29 04:41:43 2022-03-29 04:43:08 SMC J0107.9-7219 00048785206 85
2022-03-29 04:43:08 2022-03-29 04:44:30 SMC J0056.2-7145 00048802208 82
2022-03-29 04:44:30 2022-03-29 04:45:51 SMC J0058.4-7238 00048770212 81
2022-03-29 04:45:51 2022-03-29 04:47:08 SMC J0100.2-7220 00048783210 77
2022-03-29 04:47:08 2022-03-29 04:48:35 SMC J0125.7-7228 00048777188 87
2022-03-29 04:48:35 2022-03-29 04:50:03 SMC J0058.2-7203 00048793209 88
2022-03-29 04:50:03 2022-03-29 04:51:30 SMC J0052.4-7406 00048699222 87
2022-03-29 04:51:30 2022-03-29 04:52:52 SMC J0058.5-7313 00048741216 82
2022-03-29 04:52:52 2022-03-29 04:54:19 SMC J0059.7-7110 00048816202 87
2022-03-29 04:54:19 2022-03-29 04:56:00 SMC J0046.6-7238 00048767219 101
2022-03-29 04:56:00 2022-03-29 05:13:00 NGC2617 00010549055 1020
2022-03-29 05:13:00 2022-03-29 05:28:00 MKN 6 00035461088 900
2022-03-29 05:28:00 2022-03-29 05:47:00 Mrk501 00011184189 1140
2022-03-29 05:47:00 2022-03-29 06:02:00 OGP_0057 03104501005 900
2022-03-29 06:02:00 2022-03-29 06:06:25 SMC J0046.9-7128 00048807210 265
2022-03-29 06:06:25 2022-03-29 06:07:46 SMC J0054.4-7203 00048792213 81
2022-03-29 06:07:46 2022-03-29 06:09:15 SMC J0121.3-7324 00048732191 89
2022-03-29 06:09:15 2022-03-29 06:10:43 SMC J0148.0-7434 00048832137 88
2022-03-29 06:10:43 2022-03-29 06:12:00 SMC J0149.1-7415 00048835129 77
2022-03-29 06:12:00 2022-03-29 06:13:34 SMC J0054.5-7314 00048740219 94
2022-03-29 06:13:34 2022-03-29 06:15:01 SMC J0032.9-7421 00048687219 87
2022-03-29 06:15:01 2022-03-29 06:16:33 SMC J0105.8-7202 00048795202 92
2022-03-29 06:16:33 2022-03-29 06:17:52 SMC J0106.2-7237 00048772208 79
2022-03-29 06:17:52 2022-03-29 06:19:18 SMC J0045.0-7145 00048799213 86
2022-03-29 06:19:18 2022-03-29 06:20:48 SMC J0045.9-7424 00048690220 90
2022-03-29 06:20:48 2022-03-29 06:22:07 SMC J0046.1-7348 00048710220 79
2022-03-29 06:22:07 2022-03-29 06:23:26 SMC J0046.4-7313 00048738220 79
2022-03-29 06:23:26 2022-03-29 06:24:49 SMC J0046.7-7203 00048790213 83
2022-03-29 06:24:49 2022-03-29 06:26:16 SMC J0048.2-7406 00048698220 87
2022-03-29 06:26:16 2022-03-29 06:27:35 SMC J0048.3-7331 00048724221 79
2022-03-29 06:27:35 2022-03-29 06:28:55 SMC J0052.5-7256 00048754221 80
2022-03-29 06:28:55 2022-03-29 06:30:22 SMC J0109.0-7125 00048813199 87
2022-03-29 06:30:22 2022-03-29 06:32:00 SMC J0109.6-7200 00048796200 98
2022-03-29 06:32:00 2022-03-29 06:57:00 SN2022csn 00015084003 1500
2022-03-29 06:57:00 2022-03-29 07:07:00 W Comae / ON231 00035018125 600
2022-03-29 07:07:00 2022-03-29 07:14:00 2cmXB1803+784 00036393022 420
2022-03-29 07:14:00 2022-03-29 07:37:00 PMN J1911-1908 00046549007 1380
2022-03-29 07:37:00 2022-03-29 07:40:19 SMC J0110.1-7236 00048773206 199
2022-03-29 07:40:19 2022-03-29 07:41:40 SMC J0111.2-7142 00048806197 81
2022-03-29 07:41:40 2022-03-29 07:43:01 SMC J0102.0-7202 00048794206 81
2022-03-29 07:43:01 2022-03-29 07:44:27 SMC J0040.5-7255 00048751219 86
2022-03-29 07:44:27 2022-03-29 07:45:46 SMC J0040.9-7220 00048778217 79
2022-03-29 07:45:46 2022-03-29 07:47:10 SMC J0031.8-7327 00048720222 84
2022-03-29 07:47:10 2022-03-29 07:48:40 SMC J0104.1-7220 00048784208 90
2022-03-29 07:48:40 2022-03-29 07:49:59 SMC J0104.4-7255 00048757211 79
2022-03-29 07:49:59 2022-03-29 07:51:20 SMC J0054.4-7238 00048769219 81
2022-03-29 07:51:20 2022-03-29 07:52:48 SMC J0037.2-7422 00048688220 88
2022-03-29 07:52:48 2022-03-29 07:54:20 SMC J0103.7-7144 00048804204 92
2022-03-29 07:54:20 2022-03-29 07:55:44 SMC J0112.4-7252 00048759204 84
2022-03-29 07:55:44 2022-03-29 07:57:03 SMC J0113.1-7328 00048730203 79
2022-03-29 07:57:03 2022-03-29 07:58:22 SMC J0106.7-7312 00048743208 79
2022-03-29 07:58:22 2022-03-29 07:59:49 SMC J0041.9-7348 00048709219 87
2022-03-29 07:59:49 2022-03-29 08:01:08 SMC J0042.3-7313 00048737219 79
2022-03-29 08:01:08 2022-03-29 08:02:38 SMC J0118.8-7307 00048746194 90
2022-03-29 08:02:38 2022-03-29 08:04:00 SMC J0128.2-7244 00048763182 82
2022-03-29 08:04:00 2022-03-29 08:09:00 OGP_2723 03104178006 300
2022-03-29 08:09:00 2022-03-29 08:21:00 W Comae / ON231 00035018125 720
2022-03-29 08:21:00 2022-03-29 08:31:00 2021eyw 00015099002 600
2022-03-29 08:31:00 2022-03-29 08:47:00 2cmXB1803+784 00036393022 960
2022-03-29 08:47:00 2022-03-29 08:55:00 ZTF20abobpcb 00013649033 480
2022-03-29 08:55:00 2022-03-29 09:10:00 OGP_0921 03103379007 900
2022-03-29 09:10:00 2022-03-29 09:15:18 SMC J0143.7-7438 00048831138 318
2022-03-29 09:15:18 2022-03-29 09:16:53 SMC J0050.5-7238 00048768219 95
2022-03-29 09:16:53 2022-03-29 09:18:12 SMC J0050.6-7203 00048791214 79
2022-03-29 09:18:12 2022-03-29 09:19:31 SMC J0050.6-7128 00048808210 79
2022-03-29 09:19:31 2022-03-29 09:21:02 SMC J0059.0-7424 00048693213 91
2022-03-29 09:21:02 2022-03-29 09:22:30 SMC J0042.6-7237 00048766217 88
2022-03-29 09:22:30 2022-03-29 09:23:54 SMC J0100.4-7255 00048756212 84
2022-03-29 09:23:54 2022-03-29 09:25:23 SMC J0031.1-7403 00048694221 89
2022-03-29 09:25:23 2022-03-29 09:26:48 SMC J0038.7-7237 00048765219 85
2022-03-29 09:26:48 2022-03-29 09:28:21 SMC J0126.8-7303 00048748185 93
2022-03-29 09:28:21 2022-03-29 09:29:47 SMC J0144.9-7419 00048834134 86
2022-03-29 09:29:47 2022-03-29 09:31:21 SMC J0050.3-7349 00048711221 94
2022-03-29 09:31:21 2022-03-29 09:32:52 SMC J0107.0-7108 00048818200 91
2022-03-29 09:32:52 2022-03-29 09:34:11 SMC J0107.4-7143 00048805204 79
2022-03-29 09:34:11 2022-03-29 09:35:34 SMC J0108.4-7254 00048758213 83
2022-03-29 09:35:34 2022-03-29 09:37:03 SMC J0035.9-7329 00048721223 89
2022-03-29 09:37:03 2022-03-29 09:39:00 SMC J0120.3-7249 00048761195 117
2022-03-29 09:39:00 2022-03-29 10:00:00 MCG+08-11-11 00095667070 1260
2022-03-29 10:00:00 2022-03-29 10:10:00 SN2022cvz 00015055006 600
2022-03-29 10:10:00 2022-03-29 10:26:00 2cmXB1803+784 00036393022 960
2022-03-29 10:26:00 2022-03-29 10:48:00 RUPRECHT 147 FIELD 4 00049892010 1320
2022-03-29 10:48:00 2022-03-29 10:51:22 SMC J0060.0-7145 00048803207 202
2022-03-29 10:51:22 2022-03-29 10:52:59 SMC J0151.2-7449 00048830139 97
2022-03-29 10:52:59 2022-03-29 10:54:24 SMC J0129.2-7411 00048819172 85
2022-03-29 10:54:24 2022-03-29 10:55:45 SMC J0129.3-7319 00048823167 81
2022-03-29 10:55:45 2022-03-29 10:57:15 SMC J0056.3-7221 00048782219 90
2022-03-29 10:57:15 2022-03-29 10:58:51 SMC J0152.3-7430 00048833136 96
2022-03-29 10:58:51 2022-03-29 11:00:17 SMC J0132.0-7334 00048821168 86
2022-03-29 11:00:17 2022-03-29 11:01:51 SMC J0042.9-7202 00048789218 94
2022-03-29 11:01:51 2022-03-29 11:03:26 SMC J0133.7-7406 00048825166 95
2022-03-29 11:03:26 2022-03-29 11:04:54 SMC J0103.0-7348 00048714218 88
2022-03-29 11:04:54 2022-03-29 11:06:24 SMC J0103.4-7109 00048817204 90
2022-03-29 11:06:24 2022-03-29 11:07:54 SMC J0034.8-7235 00048764223 90
2022-03-29 11:07:54 2022-03-29 11:09:11 SMC J0036.5-7254 00048750224 77
2022-03-29 11:09:11 2022-03-29 11:10:46 SMC J0135.2-7347 00048828159 95
2022-03-29 11:10:46 2022-03-29 11:12:17 SMC J0054.5-7349 00048712224 91
2022-03-29 11:12:17 2022-03-29 11:13:36 SMC J0054.6-7424 00048692224 79
2022-03-29 11:13:36 2022-03-29 11:15:00 SMC J0037.7-7347 00048708226 84
2022-03-29 11:15:00 2022-03-29 11:16:19 SMC J0038.2-7312 00048736226 79
2022-03-29 11:16:19 2022-03-29 11:18:00 SMC J0041.5-7423 00048689223 101
2022-03-29 11:18:00 2022-03-29 11:23:00 OGP_2723 03104178006 300
2022-03-29 11:23:00 2022-03-29 11:40:00 GRB 150710A 00014972009 1020
2022-03-29 11:40:00 2022-03-29 11:45:00 Abell 1773 03110934013 300
2022-03-29 11:45:00 2022-03-29 12:00:00 NGC 5236 00010978072 900
2022-03-29 12:00:00 2022-03-29 12:15:00 PMN J1917-1921 00039196014 900
2022-03-29 12:15:00 2022-03-29 12:36:00 saa-cold-88-01 00076292008 1260
2022-03-29 12:36:00 2022-03-29 12:38:31 SMC J0119.4-7214 00048788194 151
2022-03-29 12:38:31 2022-03-29 12:39:56 SMC J0119.7-7342 00048717200 85
2022-03-29 12:39:56 2022-03-29 12:41:26 SMC J0048.6-7221 00048780222 90
2022-03-29 12:41:26 2022-03-29 12:42:58 SMC J0130.7-7300 00048824168 92
2022-03-29 12:42:58 2022-03-29 12:44:31 SMC J0044.2-7331 00048723224 93
2022-03-29 12:44:31 2022-03-29 12:45:50 SMC J0044.5-7255 00048752224 79
2022-03-29 12:45:50 2022-03-29 12:47:17 SMC J0101.7-7127 00048811208 87
2022-03-29 12:47:17 2022-03-29 12:48:42 SMC J0114.0-7234 00048774206 85
2022-03-29 12:48:42 2022-03-29 12:51:00 SMC J0114.7-7309 00048745206 138
2022-03-29 12:51:00 2022-03-29 13:05:00 OGP_2686 03102949003 840
2022-03-29 13:05:00 2022-03-29 13:21:00 SN2022cvz 00015055006 960
2022-03-29 13:21:00 2022-03-29 13:31:00 2021eyw 00015099002 600
2022-03-29 13:31:00 2022-03-29 13:40:00 NGC 5907 ULX 00010374210 540
2022-03-29 13:40:00 2022-03-29 13:54:00 Pal 9 00084182002 840
2022-03-29 13:54:00 2022-03-29 14:05:00 saa-cold-88-01 00076292008 660
2022-03-29 14:05:00 2022-03-29 14:19:00 saa-cold-88-04 00076401021 840
2022-03-29 14:19:00 2022-03-29 14:24:00 N132D 00059114070 300
2022-03-29 14:24:00 2022-03-29 14:39:00 N132D 00059114071 900
2022-03-29 14:39:00 2022-03-29 15:09:00 WISEA J124028.32-230926.7 00015025002 1800
2022-03-29 15:09:00 2022-03-29 15:32:00 Pal 9 00084182002 1380
2022-03-29 15:32:00 2022-03-29 15:44:00 saa-cold-88-01 00076292008 720
2022-03-29 15:44:00 2022-03-29 15:59:00 saa-cold-88-05 00075912003 900
2022-03-29 15:59:00 2022-03-29 16:04:00 OGP_2723 03104178006 300
2022-03-29 16:04:00 2022-03-29 16:17:00 SN2022cvz 00015055006 780
2022-03-29 16:17:00 2022-03-29 16:33:00 NGC 4051 00096125002 960
2022-03-29 16:33:00 2022-03-29 16:53:00 GALACTIC CENTER 00096134236 1200
2022-03-29 16:53:00 2022-03-29 17:12:00 Pal 9 00084182002 1140
2022-03-29 17:12:00 2022-03-29 17:26:00 saa-cold-88-02 00076758005 840
2022-03-29 17:26:00 2022-03-29 17:39:00 saa-cold-88-05 00075912003 780
2022-03-29 17:39:00 2022-03-29 17:53:00 AT2022ewh 00015089005 840
2022-03-29 17:53:00 2022-03-29 18:16:00 WISEA J124028.32-230926.7 00015025002 1380
2022-03-29 18:16:00 2022-03-29 18:31:00 PMN J1917-1921 00039196014 900
2022-03-29 18:31:00 2022-03-29 18:43:00 RUPRECHT 147 FIELD 4 00049892010 720
2022-03-29 18:43:00 2022-03-29 18:53:00 1RXS J195500.6-160328 00083574001 600
2022-03-29 18:53:00 2022-03-29 19:19:00 saa-cold-88-02 00076758005 1560
2022-03-29 19:19:00 2022-03-29 19:24:00 OGP_2723 03104178006 300
2022-03-29 19:24:00 2022-03-29 19:43:00 GRB 150710A 00014972009 1140
2022-03-29 19:43:00 2022-03-29 19:48:00 Abell 1773 03110934013 300
2022-03-29 19:48:00 2022-03-29 19:59:00 NGC 5236 00010978072 660
2022-03-29 19:59:00 2022-03-29 20:24:00 RUPRECHT 147 FIELD 4 00049892010 1500
2022-03-29 20:24:00 2022-03-29 20:27:23 SMC J0115.5-7344 00048716206 203
2022-03-29 20:27:23 2022-03-29 20:28:48 SMC J0115.6-7216 00048787202 85
2022-03-29 20:28:48 2022-03-29 20:30:19 SMC J0043.9-7406 00048697225 91
2022-03-29 20:30:19 2022-03-29 20:31:43 SMC J0100.7-7331 00048727218 84
2022-03-29 20:31:43 2022-03-29 20:33:02 SMC J0101.0-7406 00048701218 79
2022-03-29 20:33:02 2022-03-29 20:35:00 SMC J0102.3-7238 00048771215 118
2022-03-29 20:35:00 2022-03-29 20:58:00 saa-cold-124-3 00074749141 1380
2022-03-29 20:58:00 2022-03-29 21:18:00 PG 1302-102 00096452031 1200
2022-03-29 21:18:00 2022-03-29 21:34:00 CXOU J164710.2-455216 00030806100 960
2022-03-29 21:34:00 2022-03-29 21:48:00 RUPRECHT 147 FIELD 4 00049892010 840
2022-03-29 21:48:00 2022-03-29 22:00:00 BZB J1925-1018 00083849003 720
2022-03-29 22:00:00 2022-03-29 22:03:30 SMC J0056.6-7331 00048726220 210
2022-03-29 22:03:30 2022-03-29 22:04:49 SMC J0056.7-7406 00048700219 79
2022-03-29 22:04:49 2022-03-29 22:06:20 SMC J0052.5-7110 00048814216 91
2022-03-29 22:06:20 2022-03-29 22:07:37 SMC J0054.3-7128 00048809216 77
2022-03-29 22:07:37 2022-03-29 22:09:08 SMC J0125.3-7322 00048733195 91
2022-03-29 22:09:08 2022-03-29 22:10:36 SMC J0146.8-7453 00048829145 88
2022-03-29 22:10:36 2022-03-29 22:12:01 SMC J0130.6-7353 00048820171 85
2022-03-29 22:12:01 2022-03-29 22:13:26 SMC J0110.7-7311 00048744209 85
2022-03-29 22:13:26 2022-03-29 22:14:45 SMC J0111.3-7346 00048715210 79
2022-03-29 22:14:45 2022-03-29 22:17:00 SMC J0111.8-7217 00048786205 135
2022-03-29 22:17:00 2022-03-29 22:27:00 saa-cold-88-05 00075912003 600
2022-03-29 22:27:00 2022-03-29 22:38:00 saa-cold-115-4 00074773097 660
2022-03-29 22:38:00 2022-03-29 22:55:00 ZTF21ackxdos 00015024005 1020
2022-03-29 22:55:00 2022-03-29 23:01:00 NGC 4051 00096125002 360
2022-03-29 23:01:00 2022-03-29 23:18:00 Mrk 817 00014012074 1020
2022-03-29 23:18:00 2022-03-29 23:27:00 PMN J1917-1921 00039196014 540
2022-03-29 23:27:00 2022-03-29 23:30:18 SMC J0102.6-7313 00048742217 198
2022-03-29 23:30:18 2022-03-29 23:31:43 SMC J0113.4-7159 00048797200 85
2022-03-29 23:31:43 2022-03-29 23:33:08 SMC J0056.4-7256 00048755222 85
2022-03-29 23:33:08 2022-03-29 23:34:33 SMC J0058.0-7128 00048810210 85
2022-03-29 23:34:33 2022-03-29 23:36:00 SMC J0117.9-7232 00048775199 87
2022-03-29 23:36:00 2022-03-29 23:37:25 SMC J0118.0-7401 00048703201 85
2022-03-29 23:37:25 2022-03-29 23:38:44 SMC J0126.5-7357 00048705194 79
2022-03-29 23:38:44 2022-03-29 23:40:15 SMC J0052.5-7221 00048781223 91
2022-03-29 23:40:15 2022-03-29 23:41:34 SMC J0052.5-7146 00048801217 79
2022-03-29 23:41:34 2022-03-29 23:43:02 SMC J0109.0-7329 00048729213 88
2022-03-29 23:43:02 2022-03-29 23:44:26 SMC J0050.4-7314 00048739224 84
2022-03-29 23:44:26 2022-03-29 23:55:00 SMC 00032214252 634
2022-03-29 23:55:00 2022-03-30 00:00:00 saa-cold-88-05 00075912003 300

That's a lot of targets! Note that like Swift_ObsQuery it's showing you all the individual snapshots during the day. If you want to group these into observations, you can do that. Remember the observations method returns a dictionary, with obsid as the key, and the total observation details as the value. You can display it as a table in Jupyter Notebooks simply:

dayplan.observations
Begin Time End Time Target Name Observation Number Exposure (s)
2022-03-28 23:50:00 2022-03-29 00:00:00 OGP_2824 03104295003 600 0
2022-03-29 00:00:00 2022-03-29 00:07:00 OGP_3917 03103421003 420 0
2022-03-29 00:07:00 2022-03-29 00:25:00 saa-cold-218-0 00074100090 1080 0
2022-03-29 00:25:00 2022-03-29 05:28:00 MKN 6 00035461088 2100 0
2022-03-29 00:35:00 2022-03-29 02:10:00 0716+714 00096041006 1200 0
2022-03-29 00:40:00 2022-03-29 08:55:00 ZTF20abobpcb 00013649033 2280 0
2022-03-29 01:10:00 2022-03-29 18:53:00 1RXS J195500.6-160328 00083574001 1980 0
2022-03-29 01:20:00 2022-03-29 01:23:19 SMC J0048.5-7256 00048753255 199 0
2022-03-29 01:23:19 2022-03-29 01:25:00 SMC J0113.8-7403 00048702206 101 0
2022-03-29 01:25:00 2022-03-29 14:24:00 N132D 00059114070 600 0
2022-03-29 01:30:00 2022-03-29 14:39:00 N132D 00059114071 2400 0
2022-03-29 02:10:00 2022-03-29 13:40:00 NGC 5907 ULX 00010374210 2220 0
2022-03-29 02:51:00 2022-03-29 02:54:19 SMC J0039.6-7405 00048696222 199 0
2022-03-29 02:54:19 2022-03-29 02:55:38 SMC J0040.0-7330 00048722222 79 0
2022-03-29 02:55:38 2022-03-29 02:57:10 SMC J0121.8-7230 00048776191 92 0
2022-03-29 02:57:10 2022-03-29 02:58:35 SMC J0122.3-7359 00048704194 85 0
2022-03-29 02:58:35 2022-03-29 02:59:56 SMC J0122.8-7305 00048747193 81 0
2022-03-29 02:59:56 2022-03-29 03:01:15 SMC J0123.8-7340 00048718193 79 0
2022-03-29 03:01:15 2022-03-29 03:02:36 SMC J0124.3-7247 00048762191 81 0
2022-03-29 03:02:36 2022-03-29 03:03:59 SMC J0136.3-7328 00048826157 83 0
2022-03-29 03:03:59 2022-03-29 03:05:16 SMC J0137.6-7309 00048827154 77 0
2022-03-29 03:05:16 2022-03-29 03:06:45 SMC J0104.8-7330 00048728213 89 0
2022-03-29 03:06:45 2022-03-29 03:08:12 SMC J0105.4-7126 00048812203 87 0
2022-03-29 03:08:12 2022-03-29 03:09:40 SMC J0052.4-7331 00048725222 88 0
2022-03-29 03:09:40 2022-03-29 03:11:07 SMC J0116.4-7251 00048760200 87 0
2022-03-29 03:11:07 2022-03-29 03:12:39 SMC J0033.5-7346 00048707220 92 0
2022-03-29 03:12:39 2022-03-29 03:13:58 SMC J0034.2-7311 00048735220 79 0
2022-03-29 03:13:58 2022-03-29 03:15:30 SMC J0117.2-7326 00048731198 92 0
2022-03-29 03:15:30 2022-03-29 03:16:55 SMC J0117.1-7157 00048798191 85 0
2022-03-29 03:16:55 2022-03-29 03:18:27 SMC J0050.3-7424 00048691220 92 0
2022-03-29 03:18:27 2022-03-29 03:21:00 SMC J0133.4-7315 00048822163 153 0
2022-03-29 03:21:00 2022-03-29 06:57:00 SN2022csn 00015084003 2400 0
2022-03-29 03:46:00 2022-03-29 04:03:00 M87 00096453017 1020 0
2022-03-29 04:03:00 2022-03-29 06:02:00 OGP_0057 03104501005 2280 0
2022-03-29 04:26:00 2022-03-29 04:30:22 SMC J0029.4-7344 00048706221 262 0
2022-03-29 04:30:22 2022-03-29 04:31:41 SMC J0030.2-7309 00048734221 79 0
2022-03-29 04:31:41 2022-03-29 04:33:03 SMC J0035.3-7404 00048695221 82 0
2022-03-29 04:33:03 2022-03-29 04:34:29 SMC J0044.7-7220 00048779218 86 0
2022-03-29 04:34:29 2022-03-29 04:35:49 SMC J0048.7-7145 00048800211 80 0
2022-03-29 04:35:49 2022-03-29 04:37:15 SMC J0032.5-7252 00048749220 86 0
2022-03-29 04:37:15 2022-03-29 04:38:43 SMC J0058.8-7348 00048713213 88 0
2022-03-29 04:38:43 2022-03-29 04:40:10 SMC J0128.0-7338 00048719194 87 0
2022-03-29 04:40:10 2022-03-29 04:41:43 SMC J0056.1-7110 00048815205 93 0
2022-03-29 04:41:43 2022-03-29 04:43:08 SMC J0107.9-7219 00048785206 85 0
2022-03-29 04:43:08 2022-03-29 04:44:30 SMC J0056.2-7145 00048802208 82 0
2022-03-29 04:44:30 2022-03-29 04:45:51 SMC J0058.4-7238 00048770212 81 0
2022-03-29 04:45:51 2022-03-29 04:47:08 SMC J0100.2-7220 00048783210 77 0
2022-03-29 04:47:08 2022-03-29 04:48:35 SMC J0125.7-7228 00048777188 87 0
2022-03-29 04:48:35 2022-03-29 04:50:03 SMC J0058.2-7203 00048793209 88 0
2022-03-29 04:50:03 2022-03-29 04:51:30 SMC J0052.4-7406 00048699222 87 0
2022-03-29 04:51:30 2022-03-29 04:52:52 SMC J0058.5-7313 00048741216 82 0
2022-03-29 04:52:52 2022-03-29 04:54:19 SMC J0059.7-7110 00048816202 87 0
2022-03-29 04:54:19 2022-03-29 04:56:00 SMC J0046.6-7238 00048767219 101 0
2022-03-29 04:56:00 2022-03-29 05:13:00 NGC2617 00010549055 1020 0
2022-03-29 05:28:00 2022-03-29 05:47:00 Mrk501 00011184189 1140 0
2022-03-29 06:02:00 2022-03-29 06:06:25 SMC J0046.9-7128 00048807210 265 0
2022-03-29 06:06:25 2022-03-29 06:07:46 SMC J0054.4-7203 00048792213 81 0
2022-03-29 06:07:46 2022-03-29 06:09:15 SMC J0121.3-7324 00048732191 89 0
2022-03-29 06:09:15 2022-03-29 06:10:43 SMC J0148.0-7434 00048832137 88 0
2022-03-29 06:10:43 2022-03-29 06:12:00 SMC J0149.1-7415 00048835129 77 0
2022-03-29 06:12:00 2022-03-29 06:13:34 SMC J0054.5-7314 00048740219 94 0
2022-03-29 06:13:34 2022-03-29 06:15:01 SMC J0032.9-7421 00048687219 87 0
2022-03-29 06:15:01 2022-03-29 06:16:33 SMC J0105.8-7202 00048795202 92 0
2022-03-29 06:16:33 2022-03-29 06:17:52 SMC J0106.2-7237 00048772208 79 0
2022-03-29 06:17:52 2022-03-29 06:19:18 SMC J0045.0-7145 00048799213 86 0
2022-03-29 06:19:18 2022-03-29 06:20:48 SMC J0045.9-7424 00048690220 90 0
2022-03-29 06:20:48 2022-03-29 06:22:07 SMC J0046.1-7348 00048710220 79 0
2022-03-29 06:22:07 2022-03-29 06:23:26 SMC J0046.4-7313 00048738220 79 0
2022-03-29 06:23:26 2022-03-29 06:24:49 SMC J0046.7-7203 00048790213 83 0
2022-03-29 06:24:49 2022-03-29 06:26:16 SMC J0048.2-7406 00048698220 87 0
2022-03-29 06:26:16 2022-03-29 06:27:35 SMC J0048.3-7331 00048724221 79 0
2022-03-29 06:27:35 2022-03-29 06:28:55 SMC J0052.5-7256 00048754221 80 0
2022-03-29 06:28:55 2022-03-29 06:30:22 SMC J0109.0-7125 00048813199 87 0
2022-03-29 06:30:22 2022-03-29 06:32:00 SMC J0109.6-7200 00048796200 98 0
2022-03-29 06:57:00 2022-03-29 08:21:00 W Comae / ON231 00035018125 1320 0
2022-03-29 07:07:00 2022-03-29 10:26:00 2cmXB1803+784 00036393022 2340 0
2022-03-29 07:14:00 2022-03-29 07:37:00 PMN J1911-1908 00046549007 1380 0
2022-03-29 07:37:00 2022-03-29 07:40:19 SMC J0110.1-7236 00048773206 199 0
2022-03-29 07:40:19 2022-03-29 07:41:40 SMC J0111.2-7142 00048806197 81 0
2022-03-29 07:41:40 2022-03-29 07:43:01 SMC J0102.0-7202 00048794206 81 0
2022-03-29 07:43:01 2022-03-29 07:44:27 SMC J0040.5-7255 00048751219 86 0
2022-03-29 07:44:27 2022-03-29 07:45:46 SMC J0040.9-7220 00048778217 79 0
2022-03-29 07:45:46 2022-03-29 07:47:10 SMC J0031.8-7327 00048720222 84 0
2022-03-29 07:47:10 2022-03-29 07:48:40 SMC J0104.1-7220 00048784208 90 0
2022-03-29 07:48:40 2022-03-29 07:49:59 SMC J0104.4-7255 00048757211 79 0
2022-03-29 07:49:59 2022-03-29 07:51:20 SMC J0054.4-7238 00048769219 81 0
2022-03-29 07:51:20 2022-03-29 07:52:48 SMC J0037.2-7422 00048688220 88 0
2022-03-29 07:52:48 2022-03-29 07:54:20 SMC J0103.7-7144 00048804204 92 0
2022-03-29 07:54:20 2022-03-29 07:55:44 SMC J0112.4-7252 00048759204 84 0
2022-03-29 07:55:44 2022-03-29 07:57:03 SMC J0113.1-7328 00048730203 79 0
2022-03-29 07:57:03 2022-03-29 07:58:22 SMC J0106.7-7312 00048743208 79 0
2022-03-29 07:58:22 2022-03-29 07:59:49 SMC J0041.9-7348 00048709219 87 0
2022-03-29 07:59:49 2022-03-29 08:01:08 SMC J0042.3-7313 00048737219 79 0
2022-03-29 08:01:08 2022-03-29 08:02:38 SMC J0118.8-7307 00048746194 90 0
2022-03-29 08:02:38 2022-03-29 08:04:00 SMC J0128.2-7244 00048763182 82 0
2022-03-29 08:04:00 2022-03-29 19:24:00 OGP_2723 03104178006 1200 0
2022-03-29 08:21:00 2022-03-29 13:31:00 2021eyw 00015099002 1200 0
2022-03-29 08:55:00 2022-03-29 09:10:00 OGP_0921 03103379007 900 0
2022-03-29 09:10:00 2022-03-29 09:15:18 SMC J0143.7-7438 00048831138 318 0
2022-03-29 09:15:18 2022-03-29 09:16:53 SMC J0050.5-7238 00048768219 95 0
2022-03-29 09:16:53 2022-03-29 09:18:12 SMC J0050.6-7203 00048791214 79 0
2022-03-29 09:18:12 2022-03-29 09:19:31 SMC J0050.6-7128 00048808210 79 0
2022-03-29 09:19:31 2022-03-29 09:21:02 SMC J0059.0-7424 00048693213 91 0
2022-03-29 09:21:02 2022-03-29 09:22:30 SMC J0042.6-7237 00048766217 88 0
2022-03-29 09:22:30 2022-03-29 09:23:54 SMC J0100.4-7255 00048756212 84 0
2022-03-29 09:23:54 2022-03-29 09:25:23 SMC J0031.1-7403 00048694221 89 0
2022-03-29 09:25:23 2022-03-29 09:26:48 SMC J0038.7-7237 00048765219 85 0
2022-03-29 09:26:48 2022-03-29 09:28:21 SMC J0126.8-7303 00048748185 93 0
2022-03-29 09:28:21 2022-03-29 09:29:47 SMC J0144.9-7419 00048834134 86 0
2022-03-29 09:29:47 2022-03-29 09:31:21 SMC J0050.3-7349 00048711221 94 0
2022-03-29 09:31:21 2022-03-29 09:32:52 SMC J0107.0-7108 00048818200 91 0
2022-03-29 09:32:52 2022-03-29 09:34:11 SMC J0107.4-7143 00048805204 79 0
2022-03-29 09:34:11 2022-03-29 09:35:34 SMC J0108.4-7254 00048758213 83 0
2022-03-29 09:35:34 2022-03-29 09:37:03 SMC J0035.9-7329 00048721223 89 0
2022-03-29 09:37:03 2022-03-29 09:39:00 SMC J0120.3-7249 00048761195 117 0
2022-03-29 09:39:00 2022-03-29 10:00:00 MCG+08-11-11 00095667070 1260 0
2022-03-29 10:00:00 2022-03-29 16:17:00 SN2022cvz 00015055006 2340 0
2022-03-29 10:26:00 2022-03-29 21:48:00 RUPRECHT 147 FIELD 4 00049892010 4380 0
2022-03-29 10:48:00 2022-03-29 10:51:22 SMC J0060.0-7145 00048803207 202 0
2022-03-29 10:51:22 2022-03-29 10:52:59 SMC J0151.2-7449 00048830139 97 0
2022-03-29 10:52:59 2022-03-29 10:54:24 SMC J0129.2-7411 00048819172 85 0
2022-03-29 10:54:24 2022-03-29 10:55:45 SMC J0129.3-7319 00048823167 81 0
2022-03-29 10:55:45 2022-03-29 10:57:15 SMC J0056.3-7221 00048782219 90 0
2022-03-29 10:57:15 2022-03-29 10:58:51 SMC J0152.3-7430 00048833136 96 0
2022-03-29 10:58:51 2022-03-29 11:00:17 SMC J0132.0-7334 00048821168 86 0
2022-03-29 11:00:17 2022-03-29 11:01:51 SMC J0042.9-7202 00048789218 94 0
2022-03-29 11:01:51 2022-03-29 11:03:26 SMC J0133.7-7406 00048825166 95 0
2022-03-29 11:03:26 2022-03-29 11:04:54 SMC J0103.0-7348 00048714218 88 0
2022-03-29 11:04:54 2022-03-29 11:06:24 SMC J0103.4-7109 00048817204 90 0
2022-03-29 11:06:24 2022-03-29 11:07:54 SMC J0034.8-7235 00048764223 90 0
2022-03-29 11:07:54 2022-03-29 11:09:11 SMC J0036.5-7254 00048750224 77 0
2022-03-29 11:09:11 2022-03-29 11:10:46 SMC J0135.2-7347 00048828159 95 0
2022-03-29 11:10:46 2022-03-29 11:12:17 SMC J0054.5-7349 00048712224 91 0
2022-03-29 11:12:17 2022-03-29 11:13:36 SMC J0054.6-7424 00048692224 79 0
2022-03-29 11:13:36 2022-03-29 11:15:00 SMC J0037.7-7347 00048708226 84 0
2022-03-29 11:15:00 2022-03-29 11:16:19 SMC J0038.2-7312 00048736226 79 0
2022-03-29 11:16:19 2022-03-29 11:18:00 SMC J0041.5-7423 00048689223 101 0
2022-03-29 11:23:00 2022-03-29 19:43:00 GRB 150710A 00014972009 2160 0
2022-03-29 11:40:00 2022-03-29 19:48:00 Abell 1773 03110934013 600 0
2022-03-29 11:45:00 2022-03-29 19:59:00 NGC 5236 00010978072 1560 0
2022-03-29 12:00:00 2022-03-29 23:27:00 PMN J1917-1921 00039196014 2340 0
2022-03-29 12:15:00 2022-03-29 15:44:00 saa-cold-88-01 00076292008 2640 0
2022-03-29 12:36:00 2022-03-29 12:38:31 SMC J0119.4-7214 00048788194 151 0
2022-03-29 12:38:31 2022-03-29 12:39:56 SMC J0119.7-7342 00048717200 85 0
2022-03-29 12:39:56 2022-03-29 12:41:26 SMC J0048.6-7221 00048780222 90 0
2022-03-29 12:41:26 2022-03-29 12:42:58 SMC J0130.7-7300 00048824168 92 0
2022-03-29 12:42:58 2022-03-29 12:44:31 SMC J0044.2-7331 00048723224 93 0
2022-03-29 12:44:31 2022-03-29 12:45:50 SMC J0044.5-7255 00048752224 79 0
2022-03-29 12:45:50 2022-03-29 12:47:17 SMC J0101.7-7127 00048811208 87 0
2022-03-29 12:47:17 2022-03-29 12:48:42 SMC J0114.0-7234 00048774206 85 0
2022-03-29 12:48:42 2022-03-29 12:51:00 SMC J0114.7-7309 00048745206 138 0
2022-03-29 12:51:00 2022-03-29 13:05:00 OGP_2686 03102949003 840 0
2022-03-29 13:40:00 2022-03-29 17:12:00 Pal 9 00084182002 3360 0
2022-03-29 14:05:00 2022-03-29 14:19:00 saa-cold-88-04 00076401021 840 0
2022-03-29 14:39:00 2022-03-29 18:16:00 WISEA J124028.32-230926.7 00015025002 3180 0
2022-03-29 15:44:00 2022-03-30 00:00:00 saa-cold-88-05 00075912003 2580 0
2022-03-29 16:17:00 2022-03-29 23:01:00 NGC 4051 00096125002 1320 0
2022-03-29 16:33:00 2022-03-29 16:53:00 GALACTIC CENTER 00096134236 1200 0
2022-03-29 17:12:00 2022-03-29 19:19:00 saa-cold-88-02 00076758005 2400 0
2022-03-29 17:39:00 2022-03-29 17:53:00 AT2022ewh 00015089005 840 0
2022-03-29 20:24:00 2022-03-29 20:27:23 SMC J0115.5-7344 00048716206 203 0
2022-03-29 20:27:23 2022-03-29 20:28:48 SMC J0115.6-7216 00048787202 85 0
2022-03-29 20:28:48 2022-03-29 20:30:19 SMC J0043.9-7406 00048697225 91 0
2022-03-29 20:30:19 2022-03-29 20:31:43 SMC J0100.7-7331 00048727218 84 0
2022-03-29 20:31:43 2022-03-29 20:33:02 SMC J0101.0-7406 00048701218 79 0
2022-03-29 20:33:02 2022-03-29 20:35:00 SMC J0102.3-7238 00048771215 118 0
2022-03-29 20:35:00 2022-03-29 20:58:00 saa-cold-124-3 00074749141 1380 0
2022-03-29 20:58:00 2022-03-29 21:18:00 PG 1302-102 00096452031 1200 0
2022-03-29 21:18:00 2022-03-29 21:34:00 CXOU J164710.2-455216 00030806100 960 0
2022-03-29 21:48:00 2022-03-29 22:00:00 BZB J1925-1018 00083849003 720 0
2022-03-29 22:00:00 2022-03-29 22:03:30 SMC J0056.6-7331 00048726220 210 0
2022-03-29 22:03:30 2022-03-29 22:04:49 SMC J0056.7-7406 00048700219 79 0
2022-03-29 22:04:49 2022-03-29 22:06:20 SMC J0052.5-7110 00048814216 91 0
2022-03-29 22:06:20 2022-03-29 22:07:37 SMC J0054.3-7128 00048809216 77 0
2022-03-29 22:07:37 2022-03-29 22:09:08 SMC J0125.3-7322 00048733195 91 0
2022-03-29 22:09:08 2022-03-29 22:10:36 SMC J0146.8-7453 00048829145 88 0
2022-03-29 22:10:36 2022-03-29 22:12:01 SMC J0130.6-7353 00048820171 85 0
2022-03-29 22:12:01 2022-03-29 22:13:26 SMC J0110.7-7311 00048744209 85 0
2022-03-29 22:13:26 2022-03-29 22:14:45 SMC J0111.3-7346 00048715210 79 0
2022-03-29 22:14:45 2022-03-29 22:17:00 SMC J0111.8-7217 00048786205 135 0
2022-03-29 22:27:00 2022-03-29 22:38:00 saa-cold-115-4 00074773097 660 0
2022-03-29 22:38:00 2022-03-29 22:55:00 ZTF21ackxdos 00015024005 1020 0
2022-03-29 23:01:00 2022-03-29 23:18:00 Mrk 817 00014012074 1020 0
2022-03-29 23:27:00 2022-03-29 23:30:18 SMC J0102.6-7313 00048742217 198 0
2022-03-29 23:30:18 2022-03-29 23:31:43 SMC J0113.4-7159 00048797200 85 0
2022-03-29 23:31:43 2022-03-29 23:33:08 SMC J0056.4-7256 00048755222 85 0
2022-03-29 23:33:08 2022-03-29 23:34:33 SMC J0058.0-7128 00048810210 85 0
2022-03-29 23:34:33 2022-03-29 23:36:00 SMC J0117.9-7232 00048775199 87 0
2022-03-29 23:36:00 2022-03-29 23:37:25 SMC J0118.0-7401 00048703201 85 0
2022-03-29 23:37:25 2022-03-29 23:38:44 SMC J0126.5-7357 00048705194 79 0
2022-03-29 23:38:44 2022-03-29 23:40:15 SMC J0052.5-7221 00048781223 91 0
2022-03-29 23:40:15 2022-03-29 23:41:34 SMC J0052.5-7146 00048801217 79 0
2022-03-29 23:41:34 2022-03-29 23:43:02 SMC J0109.0-7329 00048729213 88 0
2022-03-29 23:43:02 2022-03-29 23:44:26 SMC J0050.4-7314 00048739224 84 0
2022-03-29 23:44:26 2022-03-29 23:55:00 SMC 00032214252 634 0

A note about time formats

New features in swifttools 2.4

All times returned by PlanQuery come out in a time system that is derived from Swift's internal clock. The problem with this is that this clock, although close to UTC, is not actually UTC, due to the lack of handling of leap seconds, and also a slow drift in the clock itself. However, you can now correct this using the clock_correct() method. Let's do that:

query = PlanQuery(obsid='03102995005')
query.clock_correct()
query
Begin Time (UTC) End Time (UTC) Target Name Observation Number Exposure (s)
2022-03-27 01:56:31.146818 2022-03-27 02:02:31.146793 OGP_2623 03102995005 359
2022-03-28 19:25:31.136722 2022-03-28 19:30:31.136702 OGP_2623 03102995005 299

So the table above now shows times that are specifically labelled as UTC. You'll note that the times now have fractions of a second, which is due to the clock correction that is applied. You can see the value of this clock correction (which includes both leap seconds and clock drift corrections), by looking at one of the date values, e.g.:

query[0].begin
MET (s) Swift Time UTC Time (default) UTCF (s)
670039020.0 2022-03-27 01:57:00 2022-03-27 01:56:31.146818 -28.853182

So for this observation, the UT Correction Factor (UTCF) is -24.012318s. For more detail on this correction, please take a look at the Swift_Clock and the notebook explaining that.

Swift Mission Operations Center

The Pennsylvania State University
301 Science Park Road,
Building 2 Suite 332,
State College, PA 16801
USA
☎ +1 (814) 865-6834
📧 swiftods@swift.psu.edu

Swift MOC Team Leads

Mission Director: John Nousek
Science Operations: Jamie Kennea
Flight Operations: Mark Hilliard
UVOT: Michael Siegel
XRT: Jamie Kennea