iter =   0, Function value 1., Residual: 2.
iter =   0, Function value 0.770447, Residual: 5.24792
iter =   1, Function value 0.526409, Residual: 3.62426
iter =   2, Function value 0.357435, Residual: 5.6789
iter =   3, Function value 0.213476, Residual: 2.12473
iter =   4, Function value 0.15103, Residual: 8.35263
iter =   5, Function value 0.0602938, Residual: 0.498513
iter =   6, Function value 0.0331258, Residual: 2.4877
iter =   7, Function value 0.0119116, Residual: 1.77389
iter =   8, Function value 0.00292613, Residual: 1.00799
iter =   9, Function value 0.000357205, Residual: 0.409411
iter =  10, Function value 1.02563e-05, Residual: 0.0746257
iter =  11, Function value 1.26232e-08, Residual: 0.00275403
iter =  12, Function value 2.09587e-14, Residual: 3.46652e-06
Tao Object: 1 MPI process
  type: nls
    Newton steps: 12
    BFGS steps: 0
    Gradient steps: 0
    nls ksp atol: 1
    nls ksp rtol: 11
    nls ksp ctol: 0
    nls ksp negc: 0
    nls ksp dtol: 0
    nls ksp iter: 0
    nls ksp othr: 0
  Objective function:
    TaoTerm Object: 1 MPI process
      type: shell
      solution vector space: N = 2
      Context has been set
      The following methods have been set: objectiveandgradient, hessian,
      total number of function/gradient evaluations=20
      total number of Hessian evaluations=13
  TaoLineSearch Object: 1 MPI process
    type: more-thuente
    maximum function evaluations=30
    tolerances: ftol=0.0001, rtol=1e-10, gtol=0.9
    total number of function evaluations=0
    total number of gradient evaluations=0
    total number of function/gradient evaluations=1
    Termination reason: SUCCESS
  KSP Object: (tao_nls_) 1 MPI process
    type: stcg
    maximum iterations=10000, initial guess is zero
    tolerances: relative=1e-05, absolute=1e-50, divergence=10000.
    left preconditioning
    using UNPRECONDITIONED norm type for convergence test
  PC Object: (tao_nls_) 1 MPI process
    type: icc
      out-of-place factorization
      0 levels of fill
      tolerance for zero pivot 2.22045e-14
      using Manteuffel shift [POSITIVE_DEFINITE]
      matrix ordering: natural
      factor fill ratio given 1., needed 1.
        Factored matrix:
          Mat Object: (tao_nls_) 1 MPI process
            type: seqsbaij
            rows=2, cols=2
            package used to perform factorization: petsc
            total: nonzeros=3, allocated nonzeros=3
    linear system matrix, followed by the matrix used to construct the preconditioner:
    Mat Object: 1 MPI process
      type: seqaij
      rows=2, cols=2
      total: nonzeros=4, allocated nonzeros=4
      total number of mallocs used during MatSetValues calls=0
        using I-node routines: found 1 nodes, limit used is 5
    Mat Object: 1 MPI process
      type: seqsbaij
      rows=2, cols=2
      total: nonzeros=3, allocated nonzeros=3
      total number of mallocs used during MatSetValues calls=0
  total KSP iterations: 12
  convergence tolerances: gatol=0.0001,   grtol=1e-08,   steptol=0.,   gttol=0.
  Residual in Function/Gradient:=3.46652e-06
  Objective value=2.09587e-14
  total number of iterations=12,                          (max: 50)
  total number of function/gradient evaluations=20,      (max: unlimited)
  total number of Hessian evaluations=13
  Solution converged:    ||g(X)|| <= gatol
