How Rubin will go to red alert
It’s the dawn of a new age for astronomy, as the Vera C. Rubin Observatory promises to collect more observational data than all the optical telescopes that have come before it put together, writes Keith Cooper .
Keith Cooper
It’s an extraordinary fact, testament to how professional astronomy research is changing, that more money is being spent on handling the vast reams of data collected by the National Science Foundation–US Department of Energy’s Vera C. Rubin Observatory than was spent on actually building it atop a remote mountain in Chile. Construction of the Rubin Observatory cost about $800 million, whereas the entire cost of the project tops $1.9 billion, all that extra money going into the data pipeline, storage and processing. The days of a professional astronomer peering through the eyepiece of a giant telescope are long gone. That’s ancient history. But the days in which astronomers could just download data from a telescope onto their laptop are also becoming obsolete. Rubin will produce so much data when it begins full science operations later this year that it will be impossible to download it all onto a laptop. Instead, it will reside on cloud computing, where astronomers will be able to access it via a number of ‘brokers’.
“The key is to stop astronomers doing everything on their laptops,’ says George Beckett, a computer scientist from the University of Edinburgh and the UK Data Facility Coordinator for Rubin.
For previous telescopes, even James Webb, the data has been accessed a bit like going to a library and picking a book off the shelf, but in those cases you generally know which book you want – either the telescope has performed some targeted observations, or there is a limited group of objects that you want data about. Even previous survey telescopes, such as the Sloan Digital Sky Survey or the Zwicky Transient Facility, don’t produce unmanageable amounts of data. However, as the world’s largest survey telescope, Rubin is less about targeting specific objects, and more about collecting incomprehensible amounts of data on many, many objects.
“For the new kind of science that we can do with Rubin, it will involve surveying the whole dataset and clearly you can’t do that on your own computer,” says Beckett. That’s because the dataset will grow by 20 terabytes each night until 2035 and the end of its initial Legacy Survey of Space and Time, when it will have amassed an estimated 500 petabytes – 500,000 trillion, or 500 × 10 bytes of data – and there’s no reason to stop after ten years if funding is still available, so that dataset will probably continue to grow. One analogy tossed around in the recent slate of press material regarding Rubin’s first light equated those 500 petabytes to the size of half-a-million movies presented in 4K UHD.
15
RUBIN WILL PRODUCE SO MUCH DATA WHEN IT BEGINS FULL SCIENCE OPERATIONS LATER THIS YEAR THAT IT WILL BE IMPOSSIBLE TO DOWNLOAD IT ALL ONTO A LAPTOP.
BROKERING SCIENCE
Of course, much of our everyday lives is on ‘the cloud’ already, from our photo albums to our online banking, so you might say that it’s about time that astronomy caught up.
Even so, new ways of accessing Rubin’s data had to be developed, because otherwise there’s no way that astronomers would be able to make head or tail of it all. This is where the brokers come in.
There are nine brokers in all, including two ‘part-time’ ones that just access a subset of the 10 million alerts each night as part of specific science goals. The brokers can be used by any astronomers, and the broker developed in the UK is called Lasair.
“Its name means ‘flame’ or ‘flash’ in Scottish or Irish Gaelic,” says Roy Williams of the Royal Observatory in Edinburgh. Lasair, pronounced ‘L-AH-suhr’, is designed to specifically identify Rubin alerts related to transients, which are objects and phenomena in the night sky that are variable and ephemeral, such as supernovae or kilonovae, the latter being the mergers of neutron stars.
“Lasair is a general broker for alerts, but we have different visions of how it works,” says Williams. He’s not referring to disagreements about how to use it, but rather its adaptability to suit different types of ways to search the data, depending upon what different astronomers are looking for.
Each broker can be programmed with what Williams calls ‘features’. These are holistic features that a transient object might possess, such as how fast it brightens, how fast it fades, its colour–temperature and so on, as well as metadata such as sky coordinates, images from other surveys and data from previous catalogues. Researchers can select whichever of these features they want to use as filters to narrow down the expected ten million alerts Rubin will automatically issue per night (the majority of transient alerts are expected to be variable stars that are already known). They can even set up watchlists within the broker – so, for example, if a researcher is interested in RR Lyrae variable stars in globular clusters, they can list sets of coordinates corresponding to the locations of globular clusters so they only receive alerts from those areas.
Crucially, though, Lasair and the other brokers only refine the alerts to meet astronomers’ specific needs. The brokers do not analyse the alerts or do any scientific processing – that’s for the researchers to decide how to do when they receive their alerts through the broker. As such, Williams describes the philosophy behind Lasair as being a platform for science, rather than being a platform that does science.
Interestingly, the brokers themselves do not use artificial intelligence, although researchers are of course free to apply A.I. to their brokered alerts. For years A.I. has been utilised in research in the form of machine learning – training an algorithm on data so that it can learn to recognise patterns.
Take supernovae – not just the various well-known classes like type Ia, b, c and type II-L and II-P, but possibly subsets of these that are hard to identify, or which maybe even remain undiscovered for now. “If there’s different kinds of supernovae, machine learning will report them all as supernovae,” says Williams. “But with a features-based approach we can split them into different classes, and we can find things that haven’t been seen before but sort of look like supernovae through their features, but not necessarily in a way that machine learning can deal with it, so we’re doing something slightly different from machine learning.”
THE BIGGEST CHALLENGE IS NOT SORTING THROUGH THE ALERTS, BUT AVOIDING DROWNING UNDER THE SHEER DELUGE OF DATA.
THE PIPELINE
The biggest challenge is not sorting through the alerts, but avoiding drowning under the sheer deluge of data. The aforementioned 20 terabytes of data is mostly image data, like the kind used to create the evocative first-light images, but while the image data is stored as raw data available to any astronomers should they want it, the full 20 terabytes doesn’t get fed down the pipeline to the brokers. Instead, the system is designed to recognise whether anything has changed between different images of the same patch of sky, and it is only this information that is fed to the brokers as alerts by the trio of data centres designed to handle the output from Rubin.
Specifically, the computing challenge is in the need for an incredibly fast turnaround between the telescope collecting the data in Chile, sending it along a dedicated high-speed network up through the Americas to the SLAC National Accelerator Laboratory in California, from where a copy of all the raw data is transferred to another data centre at the IN2P3 computing facility in Lyon, France, and part of the data is also sent to a distributed network in the UK, with hubs at Lancaster University and the EPCC Edinburgh computing facility. These three data centres quickly process the data – nominally 35 per cent at SLAC, 40 per cent in Lyon and 25 per cent in the UK, and alerts identified and issued, ten million each Chilean night. The aim is for the time between the photons hitting Rubin’s mirror and an alert being issued to be less than two minutes.
Such a quick response is vital if astronomers are going to follow-up on the most interesting alerts as fast as they can. For example, one project in the UK is TiDES, the Time-Domain Extragalactic Survey on the 4-metre Multi-Object Spectroscopic Telescope (4MOST), which is actually an adaptation of the Visible and Infrared Survey Telescope for Astronomy (VISTA) at the European Southern Observatory, also in Chile. Astronomers who study exploding stars want to see supernovae in their earliest stages of detonation to figure out what’s happening in the outer layers of the star being blown apart, its chemical composition and, indeed, how that explosion takes place. Rubin’s alerts will be able to provide fast notification of new supernovae, an estimated thousand every night, and the automated 4MOST is a fast- response instrument that can take spectra of the most interesting young supernovae while they are still in the process of exploding.
But can the three data centres (there’s actually four, with a smaller data centre in Chile to supply Chilean astronomers with Rubin observations) meet the level of demand?
“THE ASTRONOMERS WHO WILL PRODUCE THE MOST SUCCESSFUL SCIENCE FROM RUBIN ARE THOSE WHO WILL EMBRACE THESE NEW TECHNOLOGIES.”
“My main feeling is one of anxiety,” says Williams. “Will our systems be able to deal with the deluge of data?”
Several rehearsals have already taken place, with Williams proud that the UK’s distributed data centre kept up with its alert processing whereas SLAC fell behind. However, part of the reason for having three data centres is the redundancy.
“It gives us resilience,” says Beckett. “For example, if for some reason SLAC was falling behind, we’d be able to take on more computing here to keep on schedule, which is very important because my biggest challenge is having astronomers constantly demanding their data – they don’t want to be told tomorrow when they think they can have it today!”
THE TRANSFORMATION OF ASTRONOMERS
As a computer scientist, however, Beckett has the last laugh over the astronomers, because in order for researchers to make the most of Rubin, they have to become more like him than astronomers of old, and become adept at the latest techniques for handling data of this sort. So, in essence, we are now training astronomers to be data scientists rather than forcing the data scientists to adapt to the astronomers’ wants and needs.
“The astronomers who will produce the most successful science from Rubin are those who will embrace these new technologies,” says Beckett. “If an astronomer is sticking to the same methodologies as they were doing ten years ago, then they’re not going to realise the benefits. So one of the things we’re focusing on is training astronomers to be data scientists and making sure that they are equipped with the skills that they need to tackle these large datasets.”
Fortunately, there has been plenty of time to learn, and we’re not just referring to Rubin’s construction time (work began on its primary mirror in 2006, and the foundation stone for the observatory atop Cerro Pachón was laid in 2015). In 2018 the Zwicky Transient Facility (ZTF), named after the twentieth century astronomer Fritz Zwicky, who was the first to find evidence for dark matter over three decades before Vera Rubin, began observing the sky. The ZTF is a 600-megapixel camera on the 1.2-metre Samuel Oschin Telescope on Mount Palomar in California. So, in terms of the size of the camera and the size of the telescope, it’s far smaller than the Rubin Observatory. Yet like Rubin, it is conducting a survey of the sky in search of transient objects, and while the amount of data it collects is thirty times less than Rubin, it is still a formidable amount, with nine brokers – including a prototype of Lasair and others now used on Rubin – filtering through a million alerts each night. In fact, the whole ZTF survey is a prototype for Rubin.
“We’ve learned a great deal from running the ZTF survey,” says Williams. “It’s not just the number of bytes; it’s how people work in teams to build reliable software that’s been created just in the past ten years.”
The Rubin Observatory is the perfect synthesis of astronomy and data handling, the culmination of decades of development in these areas. And Rubin wears this as a badge of merit, quite literally, as represented in the observatory’s logo, as seen on this page.
“On the left of the logo are stars with four points each, and on the right side are the merge-and-branch paradigm of software engineering,” says Williams. “So it combines astronomy and software.”
We’re really seeing the shape of things to come. The Square Kilometre Array, for instance, which is a giant radio telescope in South Africa and Australia that will come online for next decade, will produce an order of magnitude more data than even Rubin does. NASA’s Nancy Grace Roman Space Telescope, while on a smaller scale than Rubin, will also conduct a survey amassing 20 petabytes over five years and storing that on the cloud. Other, even larger, surveys will no doubt come online, across various wavebands, in the future. The days of peering through an eyepiece are long gone – welcome to the age of data-driven astronomy.
Keith Cooper is the Editor of Astronomy Now.