The Effects of an AGN on Host Galaxy Colour and Morphology Measurements

We assess the effects of simulated active galactic nuclei (AGNs) on the colour and morphology measurements of their host galaxies. To test the morphology measurements, we select a sample of galaxies not known to host AGNs and add a series of point sources scaled to represent specified fractions of the observed V band light detected from the resulting systems; we then compare morphology measurements of the simulated systems to measurements of the original galaxies. AGN contributions>20 per cent bias most of the morphology measurements tested, though the extent of the apparent bias depends on the morphological characteristics of the original galaxies. We test colour measurements by adding to non-AGN galaxy spectra a quasar spectrum scaled to contribute specified fractions of the rest-frame B band light detected from the resulting systems. A quasar fraction of 5 per cent can move the NUV-r colour of an elliptical galaxy from the UV-optical red sequence to the green valley, and 20 per cent can move it into the blue cloud. Combining the colour and morphology results, we find that a galaxy/AGN system with an AGN contribution>20 per cent may appear bluer and more bulge-dominated than the underlying galaxy. We conclude that (1) bulge-dominated, E/S0/Sa, and early-type morphology classifications are accurate for red AGN host galaxies and may be accurate for blue host galaxies, unless the AGN manifests itself as a well-defined point source; and (2) although highly unobscured AGNs, such as the quasar used for our experiments, can significantly bias the measured colours of AGN host galaxies, it is possible to identify such systems by examining optical images of the hosts for the presence of a point source and/or measuring the level of nuclear obscuration.

example, optical colours allow one to estimate the ages of observed stellar populations (e.g., Kennicutt 1998), while UV-optical colours are remarkably sensitive to recent star formation (e.g., Wyder et al. 2007). Morphological characteristics provide information about a galaxy's interaction history, and when combined with the recent star formation history they can be used to estimate the amount of time that has passed since the most recent galaxy merger (e.g., Lotz et al. 2008b). This is particularly useful for investigating potential causes of significant black hole growth (active galactic nuclei; AGNs), and possible connections between galaxy interactions and AGNs have been explored using both theoretical and observational techniques.
Many current simulations and semi-analytic models of galaxy interactions and evolution incorporate the effects of central supermassive black holes in the initial galaxies (e.g., Kauffmann & Haehnelt 2000;Hopkins et al. 2005aHopkins et al. ,b, 2008aCroton et al. 2006;Ciotti & Ostriker 2007;Somerville et al. 2008). The results of these simulations invariably predict that the black holes become active during some stage of a merger event between gas-rich galaxies of similar masses (a 'major merger', typically defined as a merger between galaxies having a mass ratio between 1:1 and 3:1). Most of these authors additionally found that some form of radiative output (or 'feedback') from the AGN significantly decreased the star formation rate in the galaxy. Hopkins et al. (2005aHopkins et al. ( ,b, 2008a described a form of AGN feedback that forcefully removes gas from the nuclear regions of a galaxy, after significant star formation and accretion onto the black hole has used up much of the gas. Croton et al. (2006) presented a complementary scenario, a 'radio mode', in which AGN feedback heats gas in the nuclear regions to temperatures sufficient to stop star formation, without necessarily removing the gas from the galaxy. Schawinski et al. (2007) and Georgakakis et al. (2008) described recent observational support for the scenarios derived from simulations (such as those summarized above) and semi-analytic models (e.g, Somerville et al. 2008). After visually examining ∼16,000 low-redshift early-type galaxies and spectroscopically classifying each as experiencing star formation, black hole growth, a combination of the two, or neither, Schawinski et al. (2007) presented evidence that radiative output from an AGN may cause its host galaxy to transition from a star-forming system to a quiescent system. They reported that the optical colours of the emission-line systems (20 per cent of their sample) are typically bluer than the quiescent systems, and the magnitude of the offset from the red sequence toward the blue cloud depends on the type of activity observed. Most of the systems dominated by emission from low-ionization nuclear emission line regions (LINERs) joined the inactive galaxies populating the red sequence, while the remaining LINER and Seyfert host galaxies typically exhibited colours on the red edge of the green valley. Early-type systems undergoing star formation were found in the blue cloud, and the systems exhibiting emission lines characteristic of both an AGN and star formation typically populated the green valley. Georgakakis et al. (2008) stacked the X-ray emissions of three samples of galaxies at z ∼ 0.7. The samples were comprised of galaxies with optical colours placing them on the red sequence, the green valley, or the blue cloud, and were limited to systems from which X-rays had not been de-tected at the limits of the survey. After stacking, they found significant X-ray detections from the red sequence and green valley samples, but not the blue cloud, indicating the presence of a significant population of obscured AGNs among red sequence and green valley galaxies. They concluded that accretion onto the central supermassive black hole may continue after the star formation has ceased, and thus if AGN feedback is responsible for the cessation of star formation in these galaxies, then the method by which this occurs does not completely remove gas from the nuclear regions.
In order to accurately compare theoretical predictions to conclusions based on observational studies, it is essential that we understand how the presence of an AGN may bias the colour and morphology measurements of its host galaxy. Morphologically, an unobscured AGN can be approximated as a point or as a highly concentrated object. Thus morphology measurements would be expected to experience a bias toward more bulge-like or spheroidal systems; the significance of this bias should depend strongly upon the balance between AGN and galactic light contributions. If the bias is significant and common, then we would need to reconsider the current classification of most AGN host galaxies as elliptical or early-type (e.g., Grogin et al. 2003Grogin et al. , 2005Sánchez et al. 2004;Pierce et al. 2007), with occasional morphological evidence of recent interactions (e.g., Bennert et al. 2008;Urrutia, Lacy & Becker 2008).
One plausible explanation for the elliptical classification is that AGNs tend to be observed in galaxies that have recently undergone a merger. However, if the morphology measurements are significantly biased, then many of the apparently post-merger systems hosting AGNs may in fact be disc-dominated, necessitating an alternate explanation for the black hole growth. A potential bias toward elliptical morphologies may also cause an underestimate of the merger rate, as determined by morphology measurements such as G-M20 (Lotz et al. 2008a). Thus, the proper classification of AGN host galaxy morphologies offers important clues as to when and how significant black hole growth is activated.
In a recent study of AGN host galaxy morphologies, Gabor et al. (2009) accounted for the presence of a point source component in the following two ways: (1) using GAL-FIT (Peng et al. 2002) to measure two-dimensional surface brightness profiles, Gabor et al. (2009) utilized the option to include a point spread function (PSF) as a model for the nuclear point source in the fitting procedure; (2) they also measured the concentration and asymmetry of the galaxies both before and after subtracting a modeled point source that had been fitted to the AGN. They found that both concentration and asymmetry measurements are affected by the presence (or subtraction) of a point source.
For the current study, we do not attempt to model a point source in the galaxies analyzed, but instead focus on understanding the effect that the presence of a point source may have on common morphology measurements. In AGN host galaxies, it is often unclear what fraction of the light emanates from the AGN and how much originates in star formation regions. A model of the nuclear light may thus overestimate the AGN contribution, and morphology measurements (such as G and M20) of the residual from a subsequent subtraction may experience a different set of biases than those caused by the actual point source. An investigation of such effects is beyond the scope of this paper. Kim et al. (2008) emphasized the importance of using an appropriate PSF for studies similar to that described by Gabor et al. (2009), and they found that PSF characteristics can vary strongly with time, location on a camera detector, and level of pixel sampling. Mismatches between the PSF appropriate for a particular AGN and the PSF(s) determined for a set of observations may cause inaccurate measurements of the host galaxy and/or AGN fluxes. However, in § 3.2, we find that the choice of PSF is negligible for the present study.
Measured colours may also be biased by light contributed by an AGN. Because optical and UV light from an AGN is typically much bluer than the light from its host galaxy (e.g., Kinney et al. 1996), a significant contribution from the AGN to the observed light may cause an intrinsically red AGN host galaxy to appear blue or 'green', complicating or invalidating the use of colour to describe the host galaxy's star formation history. Sánchez et al. (2004) measured the colours and morphologies of 15 AGN host galaxies at z ∼ 1, after first subtracting a PSF individually determined for each AGN. Upon comparing the resulting nuclear colours to the host galaxy colours, they found no adverse affects from the PSF subtraction. Though a few of their AGN host galaxies exhibit red colours, most show colours that are bluer than typical early-type galaxies, indicative of young stellar populations and consistent with the results from Schawinski et al. (2007) described above.
The current paper investigates the biases caused by an AGN on five morphology measurements and two colour measurements. Four of the five morphology measurements considered in the current work were initially calibrated without accounting for possible effects due to the presence of active nuclei (Lotz, Primack & Madau 2004). The fifth measurement technique includes an option to account for the presence of a point source (Peng et al. 2002). AGN contamination of UV-optical colours was recently tested by Kauffmann et al. (2007), who reported that the amount of AGN light potentially contaminating measured UV-optical colours should be minimal for low-redshift (z < 0.07), optical spectraselected AGNs. Seeking to more fully understand the effect of higher-luminosity and higher-redshift (z ∼ 0.4) AGNs on morphology and colour measurements, this paper presents an examination of the extent to which an AGN similar to a quasar or a Type-1 Seyfert galaxy may affect measurements of the Gini coefficient G, the second order moment of the brightest 20 per cent of the galaxy's flux M20, concentration C, asymmetry A, the Sérsic index n, and optical (U − B) and UV-optical (NUV−r) colours.
We begin with a description of the two sets of data used for our experiments ( § 2), followed by descriptions of the effects of an AGN on the measured morphology ( § 3) and colour ( § 4) of its host galaxy. The two sets of results are combined in § 5, where we present a potential track of an unobscured AGN in colour-morphology space, as a function of the fraction of B band light contributed by the AGN. Finally, in § 6 we discuss and summarize our results. Throughout, {h, ΩΛ, ΩM } = {0.7, 0.7, 0.3}, and AB magnitudes are used, unless otherwise noted.

AGN host galaxy images
The present study uses data available from the Allwavelength Extended Groth Strip International Survey (AEGIS; Davis et al. 2007, and references therein). In particular, we use optical images taken with the Hubble Space Telescope/Advanced Camera for Surveys (HST/ACS), optical spectra taken with the DEIMOS spectrograph  as part of the DEEP2 Redshift Survey (Davis et al. 2003(Davis et al. , 2007 and with the MMT Observatory ), deep Chandra X-ray Observatory images ), and Very Large Array (VLA) images taken at 1.4 GHz (Ivison et al. 2007). The galaxies used for our first experiment are drawn from a region of AEGIS for which all of these data are available.
We select galaxies that have spectroscopic redshifts 0.2 < z < 0.6, so that all the analyses can be performed using HST/ACS V band images, which approximately correspond to the rest-frame B band at these redshifts. The HST/ACS V band images analysed here were taken with the F606W filter, using single-orbit exposures and four dithers. The resulting images have a PSF of ∼ 0.1 ′′ and a scale of 0.03 ′′ /pixel; see Lotz et al. (2008a) for details regarding the reduction of the HST/ACS images.
Galaxies that have X-ray luminosities L 2−10 keV > 10 42 erg s −1 , radio powers P1.4 GHz > 10 1.2z+23.2 W Hz −1 , and/or have been spectrally identified as Seyfert galaxies, LINERs, or broad-line AGNs are excluded from the sample in order to control the effect of an AGN. 1 We intentionally exclude AGNs from our sample because the current study aims to determine the effect that an AGN might have on colour and morphology measurements of its host galaxy, and including AGNs would severely complicate these efforts.
A sample of galaxies meeting these criteria is created from 29 of the 63 HST/ACS tiles, each containing between 12 and 34 eligible galaxies. This sample of 622 galaxies is later refined by imposing criteria designed to assure the reliability of the individual morphology measurements ( § 3.1). Because each of the individual and combined morphology measurements require different criteria, the final samples used for each morphology analysis differ slightly; additional descriptions of each sample are provided with the results.

AGN spectral template
Spectral templates are available for a variety of AGN types, including quasars (e.g., Francis et al. 1991), LINERs, and Seyfert galaxies (e.g., de Bruyn & Sargent 1978). Compared to a quasar, lower luminosity and/or more heavily obscured AGNs are expected to less significantly bias the measured host galaxy colours, although some contamination will be unavoidable for all but the most heavily obscured AGNs. One goal of the current work is to determine the level of this bias in AGN host galaxies. Ideally, we would determine this for all AGN types, however, the intervening galactic matter present in obscured AGNs and the significant light contributions from the host galaxies of lower luminosity AGNs will contaminate the observed AGN light, biasing the measured colour of the AGN itself. Since this is the reverse of the problem that we want to address with the current study, we select a quasar template in order to avoid the potentially significant light contamination from the host galaxy. Although quasars are among the less common and more extreme AGN types at redshifts z ∼ 1, the current work provides upper limits to the biases in the measured AGN host galaxy colours. Francis et al. (1991) prepared a composite quasar spectral template based on more than 700 individual quasar and AGN spectra from the Large Bright Quasar Survey. The observations covered at least 3200-6800Å at a resolution of approximately 6Å and a S/N= 12. After correcting for redshifts, between 200 and 500 AGNs contribute to the composite spectrum at rest-frame wavelengths λ0 = 1200-4200Å, while up to 200 contribute at λ0 = 800-1200Å and λ0 = 4200-6000Å. Figure 1 shows the quasar composite spectrum along with the spectra of the three non-AGN galaxy templates described below; note that although the quasar template does not extend all the way across the r band, we do not expect this to be problematic, due to the low contribution expected from the quasar in the r band, relative to the U and NUV bands. The most prominent feature of the quasar spectral template, as shown in Figure 1, is the broad MgII line at λ = 2798Å. Hβ (λ = 4861Å) and [OIII] (λλ = 4959, 5007Å) lines are also apparent. [ Figure 2 of Francis et al. (1991) shows the quasar spectrum in greater detail.] 2.3 Non-AGN galaxy spectral templates Kinney et al. (1996) presented spectral templates of several galaxy types -including elliptical, Sb, and starburst galaxies -based on observations using the International Ultraviolet Explorer (IUE), the Cerro Tololo Inter-American Observatory (CTIO), and the Kitt Peak National Observatory. Optical spectra observed at the CTIO were measured with slits 10 ′′ × 20 ′′ , designed to match the area of the IUE aperture. Table 1 of Kinney et al. (1996) lists properties of the individual galaxies observed, and their Table 2 specifies which galaxies are used for each template.
To create the spectral templates, Kinney et al. (1996) shifted each spectrum to its rest frame, corrected for Galactic extinction, and then averaged the UV and optical spectra within each galaxy morphology group (e.g., Sb). Optical spectra were averaged separately from UV spectra, but similar methods were employed for both averaging processes, and then the two averaged spectra were combined to produce the final templates (shown in Figure 2 of their paper); the templates used for the current paper are shown in Figure 1. Kinney et al. (1996) compared their non-AGN galaxy templates to results from Kennicutt (1992) and noted that their Sb template does not sufficiently represent young stellar populations in the disc. This suggests that colours derived from the Sb galaxy template may be too red. However, this should not significantly affect the work reported here.

Classifying galaxy morphologies
Galaxy morphologies depend upon the rest-frame wavelengths of the images analysed. At any given redshift, the observed wavelengths that correspond to the rest-frame B band are highly sensitive to recent star formation and young stellar populations; this distinction is particularly relevant for detection of recent or on-going galaxy interactions. Redder bands correspond to older stellar populations and may miss indications of recent activity, while bluer bands (e.g., NUV) will miss stellar populations that are no longer dominated by the youngest stars (e.g., O and B). At the redshifts used for the analyses described here (0.2 < z < 0.6), rest-frame B band light approximately corresponds to the observed HST/ACS V band images. Code written by J. Lotz (e.g., Lotz et al. 2004) simultaneously measures A, C, G, and M20, along with several additional quantities, from optical galaxy images. Lotz et al. (2004Lotz et al. ( , 2008a) described a morphological classification system, using G and M20, that is particularly sensitive to interacting galaxies and is reliable to redshifts z ∼ 1. In addition, Lotz et al. (2008b) have shown that A and G may be more effective than C and A at separating interacting galaxies from non-interacting galaxies.
Concentration and asymmetry (Conselice 2003) have been widely used by many authors to describe AGN host galaxies (e.g., Grogin et al. 2003Grogin et al. , 2005; Pierce et al. (2007) instead used G and M20 for the same task. The light profiles of AEGIS, GOODS, GEMS, and COSMOS galaxies (∼ 490,000 sources) have been measured by Griffith et al. (in preparation), using the GALAPAGOS 2 code written by M. Barden (Barden et al. 2010), which implements the GALFIT program (Peng et al. 2002) to determine Sérsic indices.

Asymmetry
Measuring the asymmetry A of a galaxy is a three-step process, beginning with a rotation of the galaxy image (which includes all galaxy pixels within 1.5 r ell , where r ell is the elliptical Petrosian radius; Petrosian 1976) by 180 • about its central axis; in practice, the central axis is determined by minimizing A (Lotz et al. 2004). Next the rotated image is subtracted from the original image, and finally, the sum of the absolute value of the residual flux is compared to the flux of the original galaxy (Conselice et al. 2000;Conselice 2003). This process is summarized by the following formula (Conselice et al. 2008): where the subscripts refer to the rotation of the image, and I and B refer to the original image and the background, respectively. Highly symmetrical galaxies, such as undisturbed ellipticals or discs, leave minimal residuals, and A is small; the significant residuals of disturbed and irregular galaxies correspond to higher values of A. Galaxies with 0 < A < 1 are typical.

Concentration
Concentration C compares the radius enclosing a large fraction of a galaxy's flux to the radius enclosing a smaller fraction of its flux. For this work, we used the following definition (Conselice 2003): where rn represents the radius enclosing n per cent of the flux within 1.5 r ell of the galaxy's centre. High values of C correspond to highly concentrated systems, such as elliptical galaxies, and the value of C decreases for more diffuse galaxies, generally including disc galaxies and many interacting systems. Concentrations 2 < C < 5 are typical values for observed galaxies.

The Gini coefficient
Abraham et al. (2003) were the first to use G to describe the distribution of light among the pixels associated with a galaxy, though it was initially introduced as an economic statistic used to characterize the distribution of wealth in a society (Gini 1912). Lotz et al. (2004Lotz et al. ( , 2008a describe in detail the measurement of G and M20; here we provide brief summaries. If n is the number of pixels assigned to a galaxy and fi represents the flux from pixel i (ordered such that fi increases with the pixel index), then we can use the methods described by Lotz et al. (2004Lotz et al. ( , 2008a and measure G using High values of G correspond to galaxies in which the light is distributed among a small fraction of the associated pixels, such as a galaxy featuring a single bright nucleus or a galaxy that features multiple bright nuclei; this latter characteristic contributes to the sensitivity to interacting galaxies associated with the G-M20 and G-A classifications. Low values of G correspond to a homogeneous distribution of light among the galaxy's pixels, such as would be found for a smooth disc galaxy. Gini measurements of 0.3 < G < 0.7 are common for observed galaxies.

M20
The value of M20 depends on the spatial distribution of the light in a galaxy, relative to the centre of the galaxy. Lotz et al. (2004) defined M20 as follows: where Here, the fluxes fi are arranged in order of decreasing flux, and (xc, yc) is the galaxy centre, as determined by minimizing Mtot. The presence of multiple bright nuclei that are spatially separated from a galaxy's centre increases the value of M20 toward −1.0. However, if the brightest 20 per cent of the galaxy's light is positioned very close to the galactic centre, as would be the case for an undisturbed elliptical galaxy, the value of M20 approaches −2.5 or −3.0. Typical observed galaxies have −0.5 > M20 > −2.5.
3.1.5 Reliability criteria for G, M20, C, and A G, M20, and C are considered reliable for galaxies that have S/N per pixel 2.5, elliptical Petrosian radii r ell 0.3 ′′ , and contiguous segmentation maps (as determined by J. Lotz's code; Lotz et al. 2004Lotz et al. , 2008a. Reliability criteria for measurements of A differ only in that the S/N per pixel must exceed 4.0, instead of 2.5, a lower limit similar to that suggested by Lotz et al. (2004).

Sérsic profiles
The Sérsic profile of a galaxy is given by where n is the Sérsic index of the galaxy; n = 1 represents a purely exponential light profile (a disc galaxy), and n = 4 represents a purely de Vaucouleurs light profile (an elliptical galaxy). Following Häussler et al. (2007) and Griffith et al. (in preparation), we use GALFIT Version 2.1c (Peng et al. 2002) and the HST/ACS V band PSF to measure the Sérsic indices of the original and simulated galaxies in our sample. For the initial guesses allowed by GALFIT, we use the following values: n = 2.5, b/a = 1−ELLIPTICITY, re = 0.162×FLUX_RADIUS 1.87 , and mag=MAG_BEST; ELLIPTICITY, FLUX_RADIUS, and MAG_BEST are determined by SExtractor 3 (Bertin & Arnouts 1996).
Reliable GALFIT results are selected by requiring relative uncertainties of less than 15 per cent of the effective radii and the Sérsic indices (∆re 0.15×re; ∆n 0.15×n), GALFIT magnitudes and SExtractor magnitudes agreeing to within 1.0 mag (|mGALFIT − mSExtractor| 1.0), and Sérsic indices 0.2 < n < 1.5 or 1.5 < n < 8. It is also required that GALFIT converges on a value and does not crash while analyzing the galaxy (Griffith et al., in preparation).
We exclude from our analyses galaxies to which GAL-FIT has assigned a Sérsic index n = 1.5 because we find that an increase of the fraction of light contributed by a simulated AGN (particularly for AGN fractions > 30 per cent) corresponds to an increase in the number of galaxies having Sérsic indices n = 8 and n = 1.5. The former is expected, as the PSF used to simulate the AGNs has a Sérsic index n = 8, but the latter is unexpected. Visual examination of the excluded galaxies reveals unusually prominent nuclear regions, such that we do not expect to observe similar galaxies. Therefore, excluding such galaxies does not limit the applicability of our analyses to observed AGN host galaxies.
A plausible explanation is that the PSF component of these systems dominates the fitting process of GALFIT, and thus the galaxy profile is not properly measured; whether the Sérsic index is assigned n = 8 or n = 1.5 depends on the specific characteristics of the galaxy and the profile fitting (C. Y. Peng, private communication). Although a full analysis of the cause behind this is beyond the scope of this paper, the convergence at n = 1.5 disappears when we include PSF fitting while running GALFIT on a subset (∼ 40) of the simulated AGN host galaxies. Thus the convergence at n = 1.5 may result in part from not fitting for a point source.

Definitions of morphology classifications
Based on calibrations using more than 200 low-redshift galaxies, Lotz et al. (2004) found that the sensitivity of both G and M20 to multiple nuclei makes the G-M20 classification technique particularly well suited for the identification of interacting galaxies. They also defined three morphology classifications for the non-interacting galaxies. Lotz et al. (2008a) refined the interacting and non-interacting classifications for high-redshift galaxies and additionally suggested classifications based on combining G with A, which is also commonly combined with C (Conselice 2003). Table 1 summarizes the morphology classification definitions adopted for this paper; the G-M20 and C-A definitions exactly follow Lotz et al. (2008a) and Conselice (2003), respectively, while the G-A definitions combine the definitions suggested by the two references.
Morphology classifications based on the Sérsic indices are also summarized in Table 1, and are based on work by, e.g., Blanton et al. (2003), Trujillo et al. (2007), andBell (2008). The 'bulge+disc' classification indicates a Sérsic index between the disc-dominated and bulge-dominated classifications.
These classifications do not always suggest the same morphology for a given galaxy. For example, a single galaxy may be classified as interacting by G-M20 and G-A, earlytype by C-A, and bulge+disc by the Sérsic index [e.g., Figure 2, Row (a)]. Visual morphology classification is therefore still an important check on the morphologies based on the Table 1. Morphology classification definitions. 'Merger' is a subcategory of 'Interacting' that specifically refers to the galaxy coalescence stage of an interaction.

Morphology
Definition Sérsic Index n Disc 0.2 < n < 1.5 Bulge+disc 1.5 < n < 2.5 Bulge 2.5 < n < 8.0 location in G/M20/CAS/ Sérsic index space. However, the focus of the current study is an investigation of the effect of an AGN on the automated morphology measurements, so we adopt the morphology classifications determined by the automated methods.

Simulation of an optically visible AGN
We use the Tiny Tim software (Krist 1993), which was specifically designed to model the PSFs for observations taken with various HST cameras, to determine appropriate V -and I-band PSFs for the AEGIS HST/ACS observations. For the current work, the PSF is contained within a square array of 121 pixels × 121 pixels, designed to complement the size of postage stamps created from the original galaxy images. After selecting the 622 non-AGN galaxies that constitute our initial sample, the presence of an AGN is simulated in each galaxy by adding the HST/ACS PSF to each galaxy's V band image. The same PSF is provided to GAL-FIT for its determination of the Sérsic profiles. However, we do not use GALFIT to explicitly fit for the presence of the PSF, rather it is used for image convolution to account for blurring (Peng et al. 2002). As described by, e.g., Kim et al. (2008), the choice of PSF can significantly affect galaxy morphology measurements. Although it is not the goal of the current paper to investigate PSF fitting, we do want to understand how the choice of PSF may affect our results. Therefore, we also run GALFIT providing a PSF based on HST/ACS observations and find that our results do not significantly depend upon the input PSF.
The HST/ACS images used for the current study have been drizzled, but the PSF has not. Because G and M20 specifically analyse the light within pixels, we want to know how this may affect our morphological analyses. To do this, we select a star from one of the drizzled ACS images used for the current work that is approximately the same size as the PSF. After running the morphology code on both the star and the Tiny Tim PSF, we find good agreement between the two sets of measurements; the differences between the morphology measurements are |∆G| = |∆M20| = 0.01.
Taking the SExtractor-derived value MAG_BEST as an approximation of the apparent magnitude of each galaxy, the V band fluxes of the initial galaxies are calculated as follows: f gal = 10 −0.4×  , where f gal has units of [counts/s]. We then determine the scaling factors necessary to cause the PSF to contribute a fraction %AGN of the total V band flux observed from the resulting galaxy Values of %AGN range from 0 per cent (the initial galaxy) to 50 per cent, and increase by 5 per cent increments (%AGN = 0 per cent, 5 per cent, 10 per cent, 15 per cent, etc.).
When a galaxy's natural position of maximum intensity (as defined by SExtractor's X_PEAK and Y_PEAK; Bertin & Arnouts 1996) is offset from the galaxy's geometrical centre, increasing the brightness of the geometrical centre may result in a galaxy image containing two bright nuclei. Although this could allow insightful tests of the morphology measurements, the current goal is to increase the intensity of the natural nucleus. Therefore, when the scaled PSFs are added to the galaxy images, the centre of the PSF array is positioned to coincide with (X_PEAK, Y_PEAK) from the SExtractor measurements of the original galaxy images. Figure 2 shows three of the galaxies in which an AGN has been simulated. The original HST/ACS V band image of each galaxy is shown, followed by V band images of the galaxy for which 5, 10, 20, and 30 per cent of the observed V band light is contributed by an AGN, with the AGN fraction increasing to the right. Rows (a), (c), and (e) show the original and altered galaxy images. For rows (b), (d), and (f), we overplot the images from the preceding rows with circles indicating the original and current Petrosian radii. For all of the images, the light is shown on a log scale, using the same minimum, maximum, contrast, and bias (0, 40, 2.02, and 0.247, respectively). These three galaxies initially meet the reliability criteria ( § 3.1.5) for all of the morphology measurements described above, and the figure caption provides the G-M20, G-A, C-A, and Sérsic profile morphology classifications based on the original galaxies.
Based on the visibility and distinct outlines of the simulated AGNs, the AGN shown in row (a) is visually identifiable at an AGN fraction of 20 per cent, the AGN shown in row (e) is visually identifiable at an AGN fraction of only 10 per cent, and the AGN shown in row (c) appears visually identifiable at an AGN fraction of 20-30 per cent. The presence of a bright nucleus does not seem out of place for the elliptical galaxy shown in row (c), complicating the visual distinction between a star forming bulge and an AGN for such galaxies. As indicated by the yellow (inner) circles in Figure 2, the Petrosian radii decrease significantly for AGN fractions exceeding 20-30 per cent. Thus, the size of the Petrosian radius correlates with the visibility of the AGN; as the former decreases, the latter increases.

Results
In this section, we describe the effects of an AGN on the elliptical Petrosian radius and individual (e.g., G, C) and paired (e.g., G-M20) morphology measurements. In the figures, the symbol shapes and colours indicate the initial morphology classifications of the galaxies represented. For example, when presenting the results for G and M20, filled red circles represent systems that are initially classified by G-M20 as E/S0/Sa galaxies. The number of objects represented in each figure is indicated on the individual plots; it is found to rapidly decline for %AGN > 20 per cent, most often due to a shrinking r ell .

Individual morphology measurements
The reliability criteria of A, C, G, and M20 measurements require that a galaxy's elliptical Petrosian radius, r ell , exceed 0.3 ′′ ( § 3.1.5). However, as the light observed from a galaxy/AGN system is increasingly dominated by the AGN, the measured r ell decreases toward the size of the AGN. Figure 3 shows the median elliptical Petrosian radii r ell for the entire galaxy sample (top panel), bright galaxies (MB < −20; middle panel), and faint galaxies (MB > −20; bottom panel). At AGN fractions of 25 per cent or more, the median radii are similar for all three samples, while at AGN fractions of 20 per cent or less, the median radii of the brighter galaxies are slightly larger than the median radii of the full and faint samples.
For AGN fractions greater than 20 per cent, the median Petrosian radii of galaxies in the full sample are smaller than the required 0.3 ′′ (dotted line in Figure 3). This causes a significant decrease in the number of galaxies for which the morphology measurements studied here are reliable, which has two serious implications. (1) The galaxies that continue to provide reliable morphologies at the higher AGN fractions are not representative of the general population of AGN host galaxies; these are systems for which the extended regions are bright enough to successfully compete with the increasingly bright AGN light in the nuclear regions. The trends  The symbols indicate the median changes ∆A = A final − A initial , black error bars indicate the standard deviations for each % AGN , and gray error bars indicate the maximum and minimum changes at each % AGN . Symbol shapes and colours indicate whether the original galaxies are classified by C-A as a merger (black triangles), an early-type (red circles), or a late-type (blue squares). The numbers in parentheses indicate the initial number of galaxies assigned to each morphology classification, and the number of galaxies having reliable A measurements at each % AGN is indicated next to the corresponding symbol.
shown in the next several figures should be considered with this in mind.
(2) Figure 3 suggests that most of the AGNs in systems for which we do have reliable morphology measurements contribute little more than 20 per cent of the observed optical light. This conclusion is supported by results from Pierce et al. (2007), who studied two samples of AEGIS AGN host galaxies at redshifts 0.2 < z < 1.2 and measured reliable morphologies (G and M20 ) for at least 80 per cent of their AGN samples. This suggests that the majority of AGNs at z ∼ 1 contribute less than 20 per cent of the optical light observed from the galaxy/AGN systems. Unless the simulated AGN is positioned at a location significantly different from the geometrical centre of a galaxy, the change in A as %AGN increases is minimal, as shown by Figure 4, a plot of the median changes ∆A = A final − A initial as a function of the AGN fraction. Galaxies initially classified as mergers do appear increasingly asymmetric as %AGN increases to 25 per cent; the decrease for higher AGN fractions should indicate that the morphology code is focusing on the PSF, instead of the full galaxy.
The focus of the morphology code on the PSF is also evident by the decreasing number of galaxy/AGN systems that provide reliable morphology measurements. At an AGN fraction of 10 per cent, 31 per cent (191/622) of the systems do not have reliable asymmetry measurements; 14 per cent (27/191) of these drop-outs are measured to have elliptical Petrosian radii r ell < 0.3 ′′ . For an AGN fraction of 20 per cent, we find a slightly higher overall drop-out rate (33 per cent; 207/622), but a significant fraction (72 per cent; 150/207) of these are are excluded because r ell < 0.3 ′′ . This pattern continues as the AGN fraction increases. Figure 5 shows that increasing the AGN fraction gener-  Figure 4. The numbers in parentheses indicate the initial number of galaxies assigned to each morphology classification, and the number of galaxies having reliable C measurements at each % AGN is indicated next to the corresponding symbol. The measurements either increase as expected or are minimally affected for % AGN < 20 per cent; above this the measurements become unreliable.
ally causes an increase or a minimal change in C for %AGN < 20 per cent. As defined in § 3.1.2, C is a ratio of the radii enclosing 20 per cent and 80 per cent of a galaxy's light, thus concentration measurements should only be reliable for %AGN < 20 per cent, otherwise the inner radius simply encloses the PSF that has been added to the initial system, and the outer radius approaches the same location as the %AGN increases. For certain host galaxies, the sensitivity of C to the defined galaxy centre may provide an alternate explanation for negative values of ∆C. This would be particularly relevant for AGNs offset from the galactic centre. As for the A measurements, the number of reliable meausurements of C depends on the fraction of light contributed by the AGN. Twenty per cent (124/622) of the C measurements are deemed unreliable at an AGN fraction of 10 per cent; we measure elliptical Petrosian radii r ell < 0.3 ′′ for 22 per cent (27/124) of these. For an AGN fraction of 20 per cent, 56 per cent (348/622) of the systems do not provide reliable morphology measurements, and 43 per cent (150/348) of these are due to small elliptical Petrosian radii. Figure 6 shows the median changes ∆G = G final − G initial for each of the initial morphology classifications. It is clear from this figure that Sb-Ir galaxies are the most significantly affected by the presence of a bright AGN, and E/S0/Sa galaxies are the least affected. Several galaxies, particularly those initially classified as interacting, exhibit a decrease in G as the AGN fraction is increased, instead of the expected increase. The disturbed morphologies of some of these galaxies, combined with the added PSF, may result in an inconsistently defined boundary to the galaxy, thereby confusing measurements of G. However, G may be more reliable than C for high %AGN, in part because G is less sensitive to a defined galaxy centre.
The number of systems for which G is reliable also de- Figure 6. ∆G as a function of % AGN . The symbols indicate the median changes ∆G = G final − G initial , and the error bars are as in Figure 4. Symbol shapes and colours indicate whether the original galaxies are classified by G-M 20 as interacting (black triangles), E/S0/Sa (red circles), or Sb-Ir (blue squares). The numbers in parentheses indicate the initial number of galaxies assigned to each morphology classification, and the number of galaxies having reliable G measurements at each % AGN is indicated next to the corresponding symbol. Sb-Ir galaxies are the most significantly affected by the presence of a bright AGN, and E/S0/Sa galaxies are the least affected; interacting galaxies provide an unexpected result with several examples of decreasing G, instead of the expected increase.
pends on the AGN fraction. At an AGN fraction of 10 per cent, 22 per cent of the unreliable measurements are caused by r ell < 0.3 ′′ , 22 per cent have low S/N per pixel, and 80 per cent (99/124) of the unreliable systems are deemed non-contiguous ( § 3.1.5); some systems fail multiple criteria, so the sum of the fractions exceeds 100 per cent. In contrast, at an AGN fraction of 20 per cent, elliptical Petrosian radii r ell < 0.3 ′′ account for 88 per cent of the unreliable systems, low S/N per pixel account for 15 per cent, and non-contiguity accounts for 19 per cent (again, some systems fail multiple criteria). Thus, non-contiguous systems are most problematic at lower AGN fractions, while small elliptical Petrosian radii are most problematic at higher AGN fractions.
As %AGN increases toward 20 per cent, M20 tends to decrease for Sb-Ir galaxies and interacting galaxies, as expected, while the measured values of M20 for E/S0/Sa galaxies tend to remain unchanged. These effects are demonstrated in Figure 7, a plot of the median changes ∆M20 = M 20,final −M 20,initial . The reliability criteria for M20 are identical to those for G, so the explanation for the decrease in the number of reliable measurements is the same as described in § 3.3.
The unexpected increases in the M20 measurements of E/S0/Sa galaxies and the large dispersions in ∆M20 for Sb-Ir and interacting galaxies at %AGN ∼ 20 per cent can be at least partially understood by a review of the definition of this measurement ( § 3.1.4). Of particular importance are the locations of the brightest 20 per cent of a galaxy's pixels. If an AGN contributes at least 20 per cent of the light from the  Figure 4 and symbol shapes are as in Figure 6. The numbers in parentheses indicate the initial number of galaxies assigned to each morphology classification, and the number of galaxies having reliable M 20 measurements at each % AGN is indicated next to the corresponding symbol. The median changes for E/S0/Sa galaxies are not as strong as the changes experienced by galaxies in the other two morphology classifications. system, many of the brightest pixels will be associated with the AGN, and thus restricted to a particular location. In general, this will significantly bias the measurement toward lower values of M20 . On occasion, the galaxy may have a few pixels outside the vicinity of the AGN that are bright enough to compete with the AGN light, so the classification is not inherently doomed for bright AGNs, but it is very likely to be misleading.
The Sérsic index n is a measure of a galaxy's light profile, an indication of whether the galaxy is better represented as a disc (n = 1) or a bulge (n = 4). Increasing the brightness of a few adjacent pixels would tend to increase the Sérsic index toward a bulge profile.
As shown in Figure 8, the presence of an AGN contributing less than 30 per cent of the rest-frame B band light affects n approximately as expected for most of the galaxies considered. The median increase is weaker among disc-dominated systems than among bulge-dominated or bulge+disc systems, though the maximum changes are greatest among the disc-dominated systems, suggesting that the fraction of AGN host galaxies that are classified as disc-dominated should be considered a lower limit to the true fraction of disc-dominated AGN hosts. Similarly, the fraction of AGN host galaxies classified as bulge-dominated should be considered an upper limit.
Simmons & Urry (2008) measured the change ∆n for a large sample of real and simulated galaxies with point sources added. For input point source magnitudes M > 22, they found that GALFIT is generally able to recover the correct n, with an apparently smaller scatter than what is presented here. Differences between our results and those of Simmons & Urry (2008) may be partially explained by the differences in the sample sizes. While the initial sample presented here contains 622 galaxies, that presented by  Figure 4. Symbol shapes and colours indicate whether galaxies are initially classified as bulge-dominated (red circles), discdominated (blue squares), or bulge+disc (black triangles). The numbers in parentheses indicate the initial number of galaxies assigned to each morphology classification, and the number of galaxies having reliable Sérsic indices at each % AGN is indicated next to the corresponding symbol. The median changes experienced by initially disc-dominated systems are clearly less than the changes experienced by initially bulge+disc or bulge-dominated systems.
Simmons & Urry (2008) contains 12,592 galaxies, providing more statistically significant results. In addition, they combined results from all galaxy types, which may hide the differences shown in Figure 8. Figure 9 shows the results of morphology classifications based on a combination of C, which is expected to increase as the AGN fraction increases toward %AGN = 20 per cent, and A, which is expected to experience minimal change, unless the AGN is offset from the galaxy centre. At %AGN = 10 per cent, more than 90 per cent (106/116) of the galaxies initially classified as early-type retain their classification. In contrast, only 41 per cent (96/237) of the late-type galaxies are still classified as such, and almost half (46 per cent, 110/237) are classified as early-type. Galaxies initially classified as mergers tend to retain that classification at %AGN = 10 per cent; the seven mergers with reliable morphologies at %AGN = 20 per cent are split between mergers (four), early-type (one), and late-type (two).

Combined morphology measurements
The C-A classification method has the advantage that few of the early-type galaxies are incorrectly classified as the AGN fraction increases. However, the early-type classification becomes significantly contaminated with late-type galaxies, and C measurements are unreliable for AGN fractions %AGN > 20 per cent. For AGN hosts, the early-type classification is rather complete, but impure, while the latetype classification is mostly pure, but incomplete; the merger classification is contaminated with late-type galaxies and in-  complete due to a decrease in the asymmetry of a few galaxies.
In Figure 10 we demonstrate the results of pairing G and A to classify galaxies as interacting or non-interacting. As previously discussed, A changes little with increasing %AGN unless the AGN is located away from the geometric centre of the galaxy, so the main result shown in this figure is due to changes in G, which tends to increase with %AGN (cf. Figure 6).
Among galaxies initially classified as interacting by the G-A method (black triangles in Figure 10), very few are misclassified as non-interacting as the fraction of light coming from the point source increases; as a result, the noninteracting classification remains pure. However, as the AGN contribution increases, the region indicating interaction suffers from contamination by misclassified non-interacting galaxies. For %AGN = 10 per cent, 21 per cent (72/343) of the non-interacting galaxies are instead classified as interacting; for %AGN = 20 per cent, this fraction increases to 71 per cent (204/288). Thus, the fraction of AGN hosts classified by G-A as interacting represents an upper limit, and the fraction of AGN host galaxies classified as non-interacting should be considered a lower limit.
As a galaxy's nuclear flux increases, the measurement of the distribution of light, G, is expected to monotonically increase because more of the light is distributed among fewer of the pixels associated with the galaxy. In contrast, the value of M20 is expected to decrease as the fraction of light contributed by an active nucleus increases. Increasing the brightness of a few adjacent pixels, such as within the nuclear region of a galaxy, tends to decrease the spatial distribution of the brightest 20 per cent of the pixels without changing the overall spatial distribution of the pixels, thereby decreasing M20 relative to its initial value. Together, these effects are expected to shift G-M20 measurements toward the E/S0/Sa classification ( § 3.1.7). Results from the pairing of G with M20 are presented in Figure 11.
Sb-Ir galaxies are significantly affected by the presence of an AGN. At %AGN = 10 per cent, only 46 per cent (132/288) of the initially Sb-Ir galaxies that still meet the reliability criteria are again classified as Sb-Ir, 46 per cent are classified as E/S0/Sa, and 8 per cent are classified as interacting. In contrast, 81 per cent (78/96) of the galaxies initially classified as E/S0/Sa, and considered to have reliable morphologies, are 'correctly' classified at %AGN = 10 per cent, while 4 per cent (4/96) are classified as Sb-Ir and 14 per cent (13/96) are classified as interacting. However, at %AGN = 20 per cent, only 34 per cent (23/68) of the galaxies initially classified as E/S0/Sa are still so classified; due to increases in G, most are instead classified as interacting. The galaxies initially classified as interacting tend to retain that classification.
Both G and the Sérsic index n are expected to increase with an increase in the AGN fraction; Figures 12 and 13 depict the pairing of these two measurements. Symbols in the former indicate the original Sérsic profiles, while symbols in the latter indicate the original G-M20 morphology classifications. The number of objects represented in the two figures differs because the set of galaxies that initially meet the Sérsic index reliability criteria does not completely overlap with the set of galaxies that initially meet the G-M20 reliability criteria.
The addition of a point source tends to increase the value of G so that although the galaxy sample presented in Figure 12 initially has a large range of G values, the range for %AGN 20 per cent is rather narrow. The Sérsic index also tends to increase as the fraction of light coming from an added point source is increased, but this trend does not apply equally to all galaxies, as indicated by the wide spread in Sérsic indices at high AGN fractions. This suggests that G is more strongly affected than the Sérsic index by the presence of a point source in a galaxy.
At %AGN = 10 per cent, 58 per cent (230/395) of the initially disc-dominated galaxies retain that classification, and at %AGN = 20 per cent, 51 per cent (133/260) are still correctly classified. AGNs also significantly affect the Sérsic profiles of systems initially classified as Sb-Ir galaxies, as demonstrated by Figure 13. As the AGN fraction increases, about half of the systems initially classified as Sb-Ir galaxies transition from disc-dominated or bulge+disc classifications into bulge-dominated classifications. The bulge+disc galaxy Sérsic indices are more easily increased, with only 21 per cent (12/56) still classified as bulge+disc at %AGN = 10 per cent. As a result of these two trends, the bulge-dominated classification is quickly contaminated. The fraction of AGN host galaxies classified as bulge-dominated should be considered an upper limit, while the reverse is true for the fractions of AGN hosts classified as disc-dominated or bulge+disc.

Summary of morphology results
With this first experiment, we have investigated the effect of an AGN on the morphological measurements G, M20, C, A, and the Sérsic index. First, we find that the number of galaxies deemed to have reliable morphology measurements decreases significantly for %AGN 20 per cent, due almost exclusively to an elliptical Petrosian radius smaller than r ell = 0.3 ′′ .
C and M20 are adversely affected for AGN fractions %AGN 20 per cent on account of their dependence on the central and/or brightest 20 per cent of a galaxy's light. In such cases, the morphology measurements are effectively measuring the light from the AGN, with minimal input from the rest of the galaxy. Thus, C and M20 are expected to be unreliable when classifying the morphologies of galaxies hosting bright, unobscured AGNs.
The Gini coefficient of Sb-Ir galaxies is significantly affected even for an AGN fraction of 10 per cent, with an estimated 54 per cent misclassified as E/S0/Sa or interacting galaxies. For the same AGN fraction, the Sérsic index is slightly less affected by the presence of an AGN; 42 per cent of the disc-dominated host galaxies are misclassified as bulge+disc or bulge-dominated.
However, not all of the morphology measurements are so adversely affected. A experiences little change as the AGN fraction increases, unless the location of the AGN is offset from the geometrical centre of the galaxy. Thus, A may still reliably distinguish between interacting/merging and noninteracting/non-merging galaxies.
The end result is that an AGN contributing more than 10-20 per cent of a system's light in a given band (here, the rest-frame B band) significantly affects most morphology measurements. However, disc galaxies hosting AGNs contributing more than 20 per cent of the B band light may be visually identifiable ( § 3.2), alerting researchers to take special care with such systems. At the highest AGN fractions, AGNs hosted by elliptical galaxies appear to have sharper edges than typical stellar bulges, thus they may be visually identifiable in certain systems. Visual inspection of a sub-sample of the simulated galaxies described here suggests that about half of the AGNs are visually identifiable for AGN fractions greater than 20-30 per cent, but for a few unusual cases, the AGNs are not clearly distinguishable from a nuclear starburst even at the highest AGN fractions.

EXPERIMENT #2: COMBINING AGN AND NON-AGN GALAXY SPECTRAL TEMPLATES
For the second experiment, an investigation of the effect of an AGN on measured optical and UV-optical colours, a spectral template representing a quasar is added to spectral templates representing three non-AGN galaxies (an elliptical, an Sb galaxy, and a starburst galaxy). The quasar template is scaled to contribute specified fractions of the rest-frame B band flux of the resulting galaxy/AGN systems, consistent with the method used for the first experiment ( § 3). We then measure the rest-frame optical and UV-optical colours of the resulting systems. The goal of this experiment is to determine the fraction of the total flux contributed by an AGN that is necessary to move a red sequence or green valley galaxy into the green valley or the blue cloud, respectively.

Spectroscopic simulation of an AGN
Before combining the spectral templates described in § § 2.2 and 2.3, the rest-frame B band flux from the quasar template is scaled to contribute specified fractions (5 per cent, 10 per cent, 15 per cent, ... 50 per cent) of the rest-frame B band flux from the resulting galaxy+quasar spectra. After adding the scaled quasar spectrum to the galaxy spectra, the NUV−r and U − B colours of each of the original and new systems is measured, and the fraction of light from the AGN spectra that moved a red sequence or green valley galaxy into the green valley or blue cloud is determined. Synphot 4 , a package available for the Image Reduction and Analysis Facility 5 includes a task named calcphot that measures the flux fν [erg s −1 cm −2 Hz −1 ] in a specified passband for an input spectrum. Using this task we measure fν for the GALEX NUV, SDSS r, and Johnson U and B passbands from each of the spectral templates. Scaling of the AGN templates with respect to the non-AGN galaxy templates is based on the B passband fluxes measured from each spectral template as follows: where %AGN represents the specified fraction of the total B band flux contributed by the AGN spectral template; fB tot/gal/AGN represents the B band flux contributed by the combined system, the galaxy, or the AGN; and fX tot/gal/AGN represents the NUV, r, or U flux contributed by the combined system, the galaxy, or the AGN. The NUV−r and U − B colours are then calculated as follows: This method of calculating the colour is equivalent to first converting the fluxes to AB magnitudes [e.g., NUV = 2.5×log(fNUV)+48.60] and then calculating the difference between the NUV and r or U and B measurements. Roughly following Willmer et al. (2006), Nandra et al. (2007), and Weiner et al. (2009), we define red and blue optical colours as U − B > 1.1 and U − B < 0.9, respectively. The red and blue regions defined in the references are based on a combination of U − B and MB, but since we do not use MB for the current study, we approximate the divisions between regions using only the U − B colour. Blue, green, and red UV-optical colours are defined as NUV−r < 3, 3 <NUV−r < 4.5, and NUV−r > 4.5, respectively, following, e.g., Wyder et al. (2007). The UV-optical green valley encompasses the significant population exhibiting colours between the UV-optical red sequence and blue cloud; a similarly significant population is not observed between the optical red and blue regions. Figure 14 demonstrates the general consistency between the optical and UV-optical colours of the initial sample described in § 2.1, as well as the divisions between colours. The lack of a significant optical green valley population is evident from this figure. Figure 15. NUV−r as a function of the fraction of B band flux contributed by an AGN. Red circles represent the elliptical template, magenta stars represent the Sb template, and blue squares represent the starburst template. Symbols outlined in black represent galaxies at % AGN = 0 per cent, symbols filled with white represent galaxies at % AGN = 20 per cent, and symbols filled with black represent galaxies at % AGN = 40 per cent. Horizontal lines indicate the separations between red, green, and blue UV-optical colours. The AGN template has a colour NUV−r = −1.09. Figure 15 shows the change in NUV−r colour as a function of the fraction of B band flux contributed by the quasar template. The colours of the systems resulting from the combination of the AGN and non-AGN galaxy templates tend toward the colour of the AGN, NUV−r = −1.09, as the AGN fraction increases.

Results
The quasar template brings the initially red elliptical galaxy down into the green valley and then the blue cloud by AGN fractions of 5 per cent and 20 per cent, respectively. The Sb galaxy is also drawn from its initial location in the green valley down to the blue cloud when only 10 per cent of the B band flux is contributed by the AGN. Although the colour of the starburst galaxy is also affected by the quasar template, it is blue to begin with, so the effect is less significant.
These results suggest that the UV-optical colours of AGN host galaxies may be more significantly affected by an active nucleus than previous work has indicated (e.g., Kauffmann et al. 2007). However, Kauffmann et al. (2007) specifically excluded galaxies exhibiting quasar-like spectra (e.g., AGNs typically associated with a central point source), so this might be a result that depends very strongly on the type of AGN observed. In particular, AGNs that do not exhibit a rising blue continuum, such as LINERs and Type-2 Seyfert galaxies, are not expected to affect the measured host galaxy colours as significantly as the results shown here.
The AGN template similarly affects the U − B colours of the three non-AGN galaxies, as Figure 16 demonstrates. Again, we find that the quasar template significantly affects measurements of both the elliptical and the Sb galaxy template colours, bringing them down into the blue cloud by AGN fractions of 25 per cent 15 per cent, respectively.
Comparing Figure 16 to results from Nandra et al. (2007; see their Figure 1), we conclude that observed AGN host galaxies that exhibit colours U − B < 0.5 may be consistent with optically red galaxies, the light from which has been contaminated by AGNs contributing more than 50 per cent of the system's rest-frame B band light. Their estimate of AGN-caused colour contamination (solid line on their Figure 1) is consistent with our result for an AGN fraction of 25-30 per cent. It is clear that the light from AGN host galaxies exhibiting colours U − B < 0.5 (e.g., Nandra et al. 2007), is most likely contaminated by the quasar light. However, it is less obvious what to conclude about the AGN hosts located in the upper region of the blue cloud. Pierce et al. (2010) address this further by considering the relationships between host galaxy aperture colours and the AGN X-ray luminosities and hardness ratios.
Finally, Figure 17 again shows the optical and UVoptical colours of the galaxy sample shown in Figure 14 (small gray and black symbols), but it also includes the AGN colour tracks created by combining Figures 15 and 16. Regardless of AGN fraction, the colours of the Sb+AGN template (magenta stars) are similar to the rest-frame colours of observed galaxies, while the starburst+AGN template colours (blue squares) are consistent with the colours of observed galaxies for all but the highest AGN fractions. In contrast, the elliptical+AGN template (red circles) is optically redder than most of the observed galaxies suggesting that such a colour-colour diagram of AGN host galaxies (particularly elliptical galaxies) may facilitate the identification of colour contamination. Contaminated AGN host galaxies in the UV-optical green valley may exhibit unusually red optical colours.

COLOURS VS. SÉRSIC INDICES OF SIMULATED AGN HOST GALAXIES
Observations indicate a general correlation between the colour and the morphology of an undisturbed galaxy (e.g.,  Figure 15. For most AGN fractions, the observed colours appear consistent with colours of galaxies not hosting AGNs. Böhm & Wisotzki 2007;Lotz et al. 2008a;Silverman et al. 2008), which suggests that unusual colour-morphology combinations among AGN host galaxies (e.g., blue ellipticals) may indicate examples of AGN contamination. In addition, Lotz et al. (2008b) showed that it is possible to use the recent star formation history and morphology of a merging galaxy to determine the observed merger stage. This information, combined with observations such as X-ray luminosity and obscuration, facilitates the study of AGN lifetimes and the possible connections between galaxy interactions and the initiation of supermassive black hole growth.
In this section, we present colour-morphology diagrams created by matching results from the optical and UVoptical colour simulations ( § 4) to results from the morphology simulations ( § 3.3). For each AGN fraction, we match colour results from the quasar+elliptical, quasar+Sb, and quasar+starburst templates to the median morphologies of galaxies initially classified as having bulge-dominated, bulge+disc, and disc-dominated Sérsic profiles, respectively. Figure 18, a plot of Sérsic index vs. UV-optical colour, indicates a general anti-correlation between colour and Sérsic index. As the fraction of light contributed by an AGN increases to 25 per cent, the Sérsic index generally increases, while the colour becomes bluer. For AGN fractions exceeding 25-30 per cent, the Sérsic indices of bulge-dominated and bulge+disc systems are found to decrease as the colour becomes bluer, suggesting a reliability limit for systems with strong point sources. This figure also suggests that AGN hosts with Sérsic indices n > 2.5 and NUV−r < 2.5 are strong candidates for high levels of AGN contamination (e.g., %AGN > 20 per cent).
Few X-ray-selected AGNs are observed with colourmorphology characteristics similar to those of the strongly contaminated systems (e.g., Pierce 2009), suggesting either that most X-ray-selected AGNs contribute < 20 per cent of the rest-frame B band light detected from the system or that the contributed AGN light is significantly reddened, in contrast to the quasar template used here. Figure 18. NUV−r vs. Sérsic index of non-AGN galaxies with AGNs added. Symbols and lines follow Figure 15, except that the symbols also represent galaxies initially classified as bulgedominated (red circles), bulge+disc (magenta stars), or discdominated (blue squares). Horizontal lines divide the diagram into red, green, and blue UV-optical colours, as defined in § 4.
At AGN fractions less than 20 per cent, there is reasonable concern that some AGN host galaxies are incorrectly classified as green valley galaxies and not easily identified as being problematic because of the low AGN fraction; thus extra caution should be taken when studying such systems. Using aperture photometry to separate the inner and outer colours of the AGN hosts can help with this, as discussed by Ammons et al. (in preparation) and Pierce et al. (2010).
We also compare the Sérsic indices to the U −B colours of our simulated systems, as presented in Figure 19. U − B appears less sensitive than NUV−r to the contribution from an unobscured AGN, in particular for the initially bulgedominated system (red circles). This system falls in the middle of the optical 'green valley' at an AGN fraction of 20 per cent, in contrast to its UV-optical blue cloud classification at the same AGN fraction. However, with respect to the green valley, optical colours are less discriminating than UV-optical colours, as noted in § 4.2.

DISCUSSION AND SUMMARY
It is reasonable to expect that galaxies hosting unobscured AGNs (i.e., those visible as point sources) may experience significant contamination of their morphological and colour measurements. This paper describes our method for and results from testing the reliability of common measures of galaxy morphology and colour when an AGN contributes a specified fraction of the observed B band light. We emphasize that the work presented here was specifically designed to investigate the limitations of various morphology and colour measurements in the presence of an AGN, in part for the sake of better understanding previous results that relied on these measurements without explicitly accounting for the AGN light. Others have carefully investigated AGN host galaxy morphologies and colours, explicitly removing the AGN contribution (e.g., Sánchez et al. 2008;Gabor et Figure 19. U − B vs. Sérsic index of non-AGN galaxies with AGNs added. Lines and symbols follow Figure 18, except that horizontal lines divide the diagram into red and blue optical colours (e.g., Willmer et al. 2006). al. 2009), and the reliability of host galaxy/AGN decompositions with respect to PSF variations (Kim et al. 2004).
For the first experiment ( § § 3, 3.3), we simulate AGNs, represented by a V band PSF, in a sample of AEGIS galaxies not known to host AGNs. We first find that increasing the fraction of observed light contributed by an AGN decreases the measured elliptical Petrosian radius, which in turn decreases the number of galaxies for which we can determine reliable morphologies ( § 3). This decrease is significant for AGN fractions exceeding 20 per cent. Two of the morphology measurements, C and M20, are almost certainly unreliable for AGNs that contribute more than 20 per cent of the galaxy's B band light. By definition, these two measurements depend in part on locating either the central or the brightest 20 per cent of the flux; if that flux comes directly from an AGN, the measurements focus on the AGN and may not properly characterize the host galaxy. The presence of an AGN also detrimentally affects measurements of the Sérsic index and G, as expected, though the effects are not inherently unreliable. In contrast, unless the AGN is offset from the geometric centre of the galaxy, A remains generally reliable even for high AGN fractions. As described in § 3.3, the results from a similar experiment by Simmons & Urry (2008) are complementary to the results presented here. Gabor et al. (2009) showed that AGN host galaxy concentrations are lower when the AGN contribution is first fitted with a PSF and then subtracted from the image, consistent with our results that the addition of a point source tends to increase the measured concentration. However, their result that the asymmetry of a galaxy may be artificially low if the AGN is not properly accounted for does not seem consistent with the results presented here. Residuals shown by Kim et al. (2008) suggest that PSF subtraction may sometimes increase the apparent asymmetry of the galaxy, unless the PSF is very well matched to the AGN being fitted. Though the current work uses only a single PSF for all of the simulations, we do not attempt to subtract it from the images; in addition, we provide GALFIT with the same PSF that we add to the galaxy images. Thus we do not expect to run into problems with this particular issue.
For the second experiment ( § 4), we add a quasar spectral template to three non-AGN spectral templates to determine how an AGN affects the optical and UV-optical colours of its host galaxy. The quasar spectral template is scaled to contribute a set of specified fractions of the rest-frame B band light emanating from the final galaxy/AGN systems, and the colours of the original and final systems are measured and compared. The use of a quasar spectral template avoids the complications which would be introduced by the use of a spectral template representing an obscured AGN, such as the effect of the obscuring gas on the AGN contribution to the colour of the system. However, the quasar template represents an extreme example of an AGN, meaning that our results regarding the potential colour biases are to be considered upper limits.
Quasar light strongly affects the measured UV-optical colours of the simulated quasar host galaxies. A quasar contributing as little as 5 per cent of the observed B band light can move the observed NUV−r colour of an elliptical galaxy from the UV-optical red sequence to the green valley, and an AGN fraction of 20 per cent moves it into the blue cloud. Optical colours are similarly affected. An AGN fraction of 25 per cent shifts the observed optical colour of the elliptical galaxy from the red sequence into the blue cloud. An encouraging caveat is that there are relatively few AGNs that have such unobscured quasar spectra, and we expect that such systems would be easily identified by visual inspection of the galaxy images. Sánchez et al. (2004), who studied a sample of 15 optically selected, intermediate luminosity, type 1 AGNs, found that the colours of the early-type galaxies, which comprised much of their sample, tended to be on the blue edge of the red sequence, if not in the blue cloud itself. Having first fitted the AGNs with PSFs and subtracted them from the images, these colours are expected to accurately represent the galaxies without contamination from the AGN light. In contrast, the artificially blue colours that result from the combination of a QSO spectrum and a quiescent galaxy spectrum, as shown here, represent an upper limit to the contamination from AGN light.
By combining the results from our two experiments ( § 5), we find that systems for which an AGN contributes more than 20 per cent of the B band light appear significantly bluer and more bulge-dominated than the underlying galaxy. Therefore, we would expect that AGNs hosted by apparently blue, bulge-dominated galaxies bias the colour and morphology measurements. Pierce (2009) found that such systems make up less than half of the AGN population at z ∼ 1, and many of the AGNs that do fit that description have visible point sources. Red, bulge-dominated AGN host galaxies are not expected to experience contamination from the AGN light.
Based on an inspection of our simulated galaxies, it appears that the point sources in such systems should be visually identifiable for high AGN fractions. The results of Pierce et al. (2010), in which the authors compare the observed nuclear, extended, and integrated optical colours of galaxies hosting X-ray-selected AGNs to a corresponding control sample, suggests a low incidence of systems with AGN fractions %AGN 20 per cent because the integrated colours of most of the AGN host galaxies correlate much more closely with the extended colours than with the nuclear colours.
Employing a collection of simulations, the current study investigates the extent to which various methods used to measure galaxy colours and morphologies may be biased by the presence of an AGN. This is particularly relevant when (1) considering the significance and timing of the influence that an AGN may exert on the star formation rate of its host galaxy (i.e., are 'green valley' AGN host galaxies intrinsically red?) and (2) using the morphological characteristics of AGN host galaxies to investigate relationships between interactions and the activation of the central supermassive black hole (i.e., could the many AGN host galaxies classified as bulge-dominated systems actually have disc-like or disturbed morphologies which are hidden because of light from the nuclear regions?).
Our results suggest that the answer to the second question is tentatively 'no', unless there is a visually identifiable point source. The answer to the first question is less certain, because we find that the colours may be affected by even a small AGN fraction. However, the quasar template used here represents an extreme (and relatively rare) case of an unobscured AGN; an increase in the obscuration of the AGN is expected to decrease the colour contamination (cf. Figure 1 of Nandra et al. 2007). Therefore, our results are not necessarily inconsistent with earlier results (e.g., Kauffmann et al. 2007), which indicate that galaxies hosting the more numerous AGNs (e.g., Seyfert galaxies and LINERs) are not likely to suffer significant contamination from the nuclear regions.
Measurements of AGN host galaxies that indicate bulge-dominated Sérsic profiles and blue colours are not necessarily biased by light from the AGN. Studying the aperture colours of AGN host galaxies should help to resolve the question of the origin of the blue colour. Pierce et al. (2010) find that X-ray-selected AGNs hosted by UV-optical green valley galaxies typically exhibit extended optical colours that are similar to the extended colours of a control sample, which suggests that most green valley galaxies hosting AGNs are intrinsically green and that it is rare for red sequence galaxies to host AGNs contributing more than ∼ 10 per cent of the B band light.

ACKNOWLEDGMENTS
C. M. P. and J. R. P. acknowledge support from NASA ATP grant NNX07AG94G. C. M. P. additionally acknowledges support from the Departments of Physics at the University of California, Santa Cruz and the Georgia Institute of Technology, and from the DEEP2 survey. J. M. L. acknowledges support from the NOAO Leo Goldberg Fellowship and NASA grant HST-AR-9998. We also thank the referee for comments that helped improve this manuscript. This study makes use of data from AEGIS, a multi-wavelength sky survey conducted with the Chandra, GALEX, Hubble, Keck, CFHT, MMT, Subaru, Palomar, Spitzer, VLA, and other telescopes and supported in part by the NSF, NASA, and the STFC. The Advanced Camera for Surveys General Catalog (ACS-GC) data set (Griffith et al., in preparation) has also been used for this study. In addition, this research has made use of the NASA/IPAC Extragalactic Database (NED) which is operated by the Jet Propulsion Laboratory, California Institute of Technology, under contract with the National Aeronautics and Space Administration.