TUCSON, Ariz. -- Former Rep. Gabrielle Giffords is satisfied with Tuesday's expected plea agreement from the man accused of shooting her and many others in a Tucson parking lot, and she hopes it will allow victims of the mass shooting to move on with their lives.

In a joint statement released with her husband, Mark Kelly, Giffords said "the pain and loss caused by the events of Jan. 8, 2011, are incalculable."

"Avoiding a trial will allow us -- and we hope the whole Southern Arizona community -- to continue with our recovery," the statement said.

Later Tuesday, the legal team defending suspect Jared Loughner will have to convince a judge that he is competent enough to enter a plea. The 23-year-old college dropout is scheduled to attend a hearing during which his attorneys and prosecutors will try to persuade U.S. District Court Judge Larry A. Burns that Loughner is no longer mentally unfit for trial.

Experts had concluded that Loughner suffers from schizophrenia, and officials at a federal prison have forcibly medicated him with psychotropic drugs for more than a year. A court-appointed psychiatrist is expected to testify Tuesday that he is competent to enter a plea.

If Burns agrees, as legal experts expect, a formal change-of-plea hearing will follow. That's when those in the court will hear from Loughner at length for the first time, as the judge questions him about the agreement and changing his plea to guilty.

Burns may ask Loughner to recite his actions in his own words, but either his lawyer or the federal prosecutor could just read the facts of the January 2011 shooting spree at a Tucson supermarket, where Giffords was holding a meet-and-greet with constituents.

Either way, Loughner will be asked to acknowledge that he shot and killed six people, including the top federal judge in Arizona, and wounded 13 others, including Giffords. He'll need to convince Burns he understands what is going on, what he's doing and what he did.

Loughner could break down, change his mind about pleading guilty or show so little understanding of what he's doing that Burns rejects the plea, lawyers not involved in the case said Monday.

"The fact that there is this planned change of plea is no guarantee that it will go forward," said Paul Charlton, a former U.S. attorney for Arizona. "There are any number of things that would happen that would either cause it to be removed from the calendar or not go forward at all."

The plea agreement that is expected to be made public on Tuesday would see Loughner sentenced to life in prison, taking the possibility of the death penalty off the table in the federal case, a person familiar with the case told The Associated Press on Saturday. The person was not authorized to discuss the case publicly and spoke on condition of anonymity.

An agreement that would spare Loughner the death penalty offers something for both sides, said Quin Denvir, a California defense attorney who has worked with Loughner attorney Judy Clarke on the case against unabomber Ted Kaczynski.

Prosecutors would avoid a potentially lengthy and costly trial and appeal, knowing that the defendant will be locked up for life. Clarke managed to avoid the death penalty for other high-profile clients such as Kaczynski and Eric Rudolph, who bombed abortion clinics in the late 1990s and Atlanta's Olympic park in 1996.

The top prosecutor in southern Arizona's Pima County said last year that she may file state charges in the case that could carry the death penalty. An official in the prosecutor's office, Amelia Craig Cramer, declined to comment, saying the office did not have an active prosecution against Loughner.

Denvir said it was possible that the plea agreement calls for the state to avoid pursuing criminal charges against Loughner, though that's not a given.

"Ideally (as a defense attorney) you'd like to have it resolved all at once, but sometimes you have to take one at a time," he said.

The decision to spare Loughner a federal death sentence makes sense, said Dale Baich, a federal public defender in Phoenix who handles capital case appeals and isn't involved in the case.

"As time went on and there were numerous evaluations, I think everybody had a better understanding of Mr. Loughner's mental illness." Baich said.

He added: "It appears that he will need to be treated for the rest of his life in order to remain competent."