 *** Welcome to SAD Ver.1.4.4.2k64 built at 2026-10-19 14:46:59 +0900 ***
 *** Today: 15:16:49 Saturday 11/21/2026 ***
 OFF LOG;ON ECHO;READ 77 ;           1
!=====================================================================
! DDBA ハイブリッドリング v07_14 (5 GeV、周長 749.48 m、30 セル)
!
! 蓄積リングの設計版 v07_14。長直線部 (LS、約 10.02 m) を持つセルと中直線部 (MS、約 5.02 m) を持つセルが
! 交互に並ぶ DDBA 型。対称性は鏡面対称の 1 回対称だけ (周期性なし)。RING はセル 30 個 (LS 型 15 + MS 型 15)。
!
! エネルギー      5 GeV
! RF              6.5 MV、ハーモニック数 1250
! チューン        (47.865, 16.655)  (RINGSP・RINGINJ・RINGSYM とも)
! エミッタンス    εx 832  pm rad (RING、RAD ON の cell calc emit)
! 周長            749.4809 m (RING)
!
! セル (偏向磁石のあいだの中心 MKLC・MKMC から次の中心まで。直線部の中心 MKLS・MKMS がセルの中央)
!   LCELL / LCELLA    長直線部のセル。LCELLA は「A 版」(偏向磁石 B1LA・B2LA の角度が 0.06136 rad で、
!                     通常の 0.05236 rad より大きく、Q3LA・Q4LA は逆向きの偏向 -0.009 rad を持つ)。
!                     LCELLH・LCELLHA はその半分 (6 極 S1LH〜S5LH、S1LHA〜S5LHA)
!   MCELL / MCELLA    中直線部のセル。同様
!   TCELL = MCELL LCELL、TCELLA = MCELLA LCELLA (2 セルの単位。チューンのマッチングの単位)
!   RINGSP  = MRST LCELLHA 10*TCELLA 2*TCELL -MCELLHA RFC MCELLHA LCELL TCELL MCELL -LCELLHA MRED
!             (元の台本で、5 GeV の版の有効な RING。SP 輸送の計算用)
!   RINGINJ = 元の台本で、2.5 GeV の版の有効な RING (通常の入射用の並び)
!   RINGSYM = HRING RFC -HRING (鏡面対称の並び。RFC の左右が互いの鏡像)
!   RING    = このファイルでは RINGSP と同じ
!   RINGL・RINGM・RINGLA・RINGMA・RINGN・RINGA  1 種類のセルだけ、または TCELL・TCELLA だけを並べたリング (6 極のマッチング用)
!
! 6 極 (K2) は 20231205 の再調整版で、pysad の作者とは別の研究者 (下記の公開論文の著者の一人) の手による最適化の結果
! (元の台本は古い組を先に定義し、
! あとの定義が有効になる書き方だったので、古い組は除いた)。
!   関連する公開論文: K. Harada et al., "Conceptual design of the Hybrid Ring with superconducting linac",
!   J. Synchrotron Rad. 29, 118-124 (2022), DOI 10.1107/S1600577521012753。
!   注意: この論文に6 極の K2 の値や最適化の手法の記述はなく、論文の暫定設計 (3 GeV、周長 350 m、16 セル) は
!   v07_14 とは別の版。K2 が論文の設定と一致する、同じ最適化の結果である、という意味ではない。
! MARK のツイスの保存値 (MRST、MKS1LA など) は設計時のもので、cell calc では使わない。
!
! このファイルは FFS; の前に置く (要素・ライン定義だけ。台本は後ろに続ける)。
!=====================================================================
 MOMENTUM = 5GEV;

 DRIFT  DLL1    =(L =5.0107385 )    DLL2    =(L =.05 )   D1      =(L =.15 )   D1H     =(L =.075 )  D2      =(L =.27 )
        D5      =(L =.3 )    D31     =(L =.05 )   D32     =(L =.28 )   D32O    =(L =.18 )   D6      =(L =.36 )   DLS1    =(L =.05 )
        DLS2    =(L =.05 )   DLS3    =(L =.96559253 )    DLM2    =(L =.05 )   DLM1    =(L =2.5107385 )
        DLMN    =(L =2.5107861845443584 )  DLLN    =(L =5.010819133360125 )
 ;
 BEND   HD      =(ANGLE =0 )
        VD      =(ANGLE =0     ROTATE =-90 DEG )
        B1LA    =(L =1.2  ANGLE =.06135987733333333     E1 =.5    E2 =.5    K1 =-.09271790151735919 )
        Q3LA    =(L =.3   ANGLE =-.009   K1 =.6112205080557542 )
        Q4LA    =(L =.3   ANGLE =-.009   K1 =.47461150300592775 )
        B2LA    =(L =1.2  ANGLE =.06135987733333333     E1 =.5    E2 =.5    K1 =-.8590504097588227 )
        B2MA    =(L =1.2  ANGLE =.06533737733333334     E1 =.5    E2 =.5    K1 =-.8205183320962872 )
        Q4MA    =(L =.3   ANGLE =-.0129775    K1 =.39344476802505485 )
        Q3MA    =(L =.3   ANGLE =-.0129775    K1 =.6382577905638572 )
        B1MA    =(L =1.2  ANGLE =.06533737733333334     E1 =.5    E2 =.5    K1 =-.4685182105338529 )
        B2M     =(L =1.2  ANGLE =.05235987733333333     E1 =.5    E2 =.5    K1 =-.8593522050989405 )
        B1M     =(L =1.2  ANGLE =.05235987733333333     E1 =.5    E2 =.5    K1 =-.6333642925795774 )
        B2L     =(L =1.2  ANGLE =.05235987733333333     E1 =.5    E2 =.5    K1 =-.8878435894964858 )
        B1L     =(L =1.2  ANGLE =.05235987733333333     E1 =.5    E2 =.5    K1 =-.25476665794856473 )
 ;
 QUAD   Q1LA    =(L =.3   K1 =.8662613515624021 )
        Q2LA    =(L =.2   K1 =-.7792933566920979 )
        Q5LA    =(L =.3   K1 =.7617251199000916 )
        QALA    =(L =.2   K1 =-.004629829856315495 )
        Q5MA    =(L =.3   K1 =.7321859763416333 )
        Q2MA    =(L =.2   K1 =-.44737310720988616 )
        Q1MA    =(L =.3   K1 =.7625331308684621 )
        Q5M     =(L =.3   K1 =.7659524148481732 )
        Q4M     =(L =.3   K1 =.3751849155591443 )
        Q3M     =(L =.3   K1 =.8777169537514825 )
        Q2M     =(L =.2   K1 =-.25724655586604894 )
        Q1M     =(L =.3   K1 =.6327680018894143 )
        QAL     =(L =.2   K1 =-.05061756390068869 )
        Q5L     =(L =.3   K1 =.8365664846626356 )
        Q4L     =(L =.3   K1 =.4391706990273402 )
        Q3L     =(L =.3   K1 =.8207930351316595 )
        Q2L     =(L =.2   K1 =-.6338953059952335 )
        Q1L     =(L =.3   K1 =.7308448245076412 )
 ;
 ! 6 極 (20231205 の再調整版。元の台本は、これより前に古い6 極の組を定義し、あとの定義が有効だったので、古い組は除いた)
 SEXT   S1MH    =(L =0.1   K2 =+4.1831437)
        S2MH    =(L =0.1   K2 =-5.3856367)
        S3MH    =(L =0.1   K2 =-20.2905230)
        S4MH    =(L =0.1   K2 =+21.0524050)
        S5MH    =(L =0.1   K2 =-9.0526099)
        S1LH    =(L =0.1   K2 =+2.2786354)
        S2LH    =(L =0.1   K2 =-1.8547000)
        S3LH    =(L =0.1   K2 =-27.9527650)
        S4LH    =(L =0.1   K2 =+32.6473770)
        S5LH    =(L =0.1   K2 =-12.7925740)
        S1MHA    =(L =0.1   K2 =+8.7214956)
        S2MHA    =(L =0.1   K2 =-8.7984769)
        S3MHA    =(L =0.1   K2 =-15.1553200)
        S4MHA    =(L =0.1   K2 =+19.7296880)
        S5MHA    =(L =0.1   K2 =-11.6632610)
        S1LHA    =(L =0.1   K2 =+2.0882064)
        S2LHA    =(L =0.1   K2 =-3.5062268)
        S3LHA    =(L =0.1   K2 =-26.2695260)
        S4LHA    =(L =0.1   K2 =+25.5587320)
        S5LHA    =(L =0.1   K2 =-10.8576220)
;

 OCT    OC1     =(L =.1   K3 =0 )
 ;
 CAVI   RFC     =(VOLT =6.5e+06  HARM =1250 )

 ;
 MONI   PM                              =()
 ;
 MARK   MRST    =(AX =-2.9453565230162487e-14 BX =5.365953464882752    AY =-2.443028620030068e-14    BY =5.062056422217577
           EX =-1.0997329979603072e-09   EPX =1.7108262097438037e-15   DP =.01   SIGZ =.0020558399131841115
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKLSA   =(AX =-2.9453565230162487e-14 BX =5.365953464882752    AY =-2.443028620030068e-14    BY =5.062056422217577
           EX =-1.0997329979603072e-09   EPX =1.7108262097438037e-15   DP =.01   EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS1LA  =(AX =-.9617561042551686 BX =10.329325219722564   PSIX =.7659059074667396  AY =-1.0194944642160502
           BY =10.323400754234346   PSIY =.7950510042825814  EX =-1.0997241688336197e-09   EPX =1.7108262097438037e-15   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS2LA  =(AX =5.727029490638906  BX =5.519456927249825    PSIX =.8549925781876452  AY =-15.681748315672587
           BY =21.828405284453208   PSIY =.8574485692872139  EX =-7.31913897510734e-10     EPX =9.119204039393779e-10    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS3LA  =(AX =-1.8603407383222075     BX =2.433499791573429    PSIX =3.037716277720262  AY =4.933752674328933
           BY =10.658893483971996   PSIY =.9694571656778113  EX =.06215626572755852   EPX =.06252348330496399
           DX =-3.176963248484634e-18    DPX =1.045415477759802e-34    DZ =1.3055624967800123e-19    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS4LA  =(AX =.08929282449331113 BX =5.118091285528043    PSIX =3.2797169228347194 AY =-.13320380261105058
           BY =5.829905479788252    PSIY =1.1120558957097277 EX =.09669510380139486   EPX =-.004649973982433143
           DX =-2.4190314397241867e-18   DPX =1.8838267665895018e-18   DZ =1.0282983253270134e-19    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS5LA  =(AX =1.6095224029890658 BX =2.7658338562341815   PSIX =3.5144882989028408 AY =-4.13005589979077
           BY =10.144900451261773   PSIY =1.2540574964876179 EX =.061426604997081274  EPX =-.057407552500734746
           DX =-1.1768079380249373e-19   DPX =2.6545169383556134e-18   DZ =8.822363813277575e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKLCA   =(AX =1.1314927645446035e-07  BX =2.7000000698711006   PSIX =5.33970494688831   AY =-1.0844177161288333e-06
           BY =4.6999428919527295   PSIY =1.760053948012677  EX =.029999998808126767  EPX =-8.096026206798005e-11
           DX =4.955115718065765e-18     DPX =1.0049646585327275e-18   DZ =5.1260793177001547e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKMC    =(AX =1.1314927645446035e-07  BX =2.7000000698711006   PSIX =5.33970494688831   AY =-1.0844177161288333e-06
           BY =4.6999428919527295   PSIY =1.760053948012677  EX =.029999998808126767  EPX =-8.096026206798005e-11
           DX =4.955115718065765e-18     DPX =1.0049646585327275e-18   DZ =5.1260793177001547e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKMCA   =(AX =-1.1314927645446035e-07 BX =2.7000000698711006   PSIX =5.33970494688831   AY =1.0844177161288333e-06
           BY =4.6999428919527295   PSIY =1.760053948012677  EX =.029999998808126767  EPX =8.096026206798005e-11
           DX =4.955115718065765e-18     DPX =-1.0049646585327275e-18  DZ =5.1260793177001547e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS5MA  =(AX =1.7426728297537384 BX =2.9285670014401224   PSIX =7.104233342631668  AY =-3.6554923332372096
           BY =9.848203940943975    PSIY =2.2082889319773535 EX =.06714615421470184   EPX =-.0625758665942823
           DX =1.1022515796901433e-17    DPX =-6.938893903907228e-18   DZ =-2.4876096378470133e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS4MA  =(AX =.5390707752591559  BX =5.818501349702274    PSIX =7.322239593965019  AY =-.28777951486720343
           BY =5.847842539192279    PSIY =2.3497027510205886 EX =.1074918985604821    EPX =-.00985854041609577
           DX =1.5508073463561475e-17    DPX =-1.1223590247057025e-18  DZ =-5.71799924798327e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS3MA  =(AX =-2.183678166573929 BX =3.116712277105602    PSIX =7.520767601993539  AY =4.867188324647887
           BY =10.4856384120928     PSIY =2.494079871757889  EX =.069722637998028     EPX =.07165813659015462
           DX =1.0863101907318878e-17    DPX =8.750486181406296e-18    DZ =1.4338513403885623e-19    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS2MA  =(AX =3.51212861133769   BX =3.9819981096582473   PSIX =9.458071370368655  AY =-8.213540226031173
           BY =11.725859450763286   PSIY =2.6333993356459007 EX =8.902877795781876e-10     EPX =-5.451460597690691e-10
           DX =-5.9195378854500795e-18   DPX =8.309065931524738e-18    DZ =-8.444292367883398e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS1MA  =(AX =-.4657323999071339 BX =6.952210083910969    PSIX =9.588962400104235  AY =-.9102103506595088
           BY =5.345058341077873    PSIY =2.7497892527679078 EX =1.0014257694099077e-09    EPX =2.693190889039922e-10
           DX =-9.875364305690839e-18    DPX =1.5086719953635164e-18   DZ =-8.444292367883398e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKMSA   =(AX =1.3467314440101557e-07  BX =5.713018315110683    PSIX =10.02482223011515  AY =-2.361996377508096e-06
           BY =2.9232203333249194   PSIY =3.488214516423277  EX =2.8483810479231465e-10    EPX =2.6931908890399214e-10
           DX =-1.3889545967626368e-17   DPX =1.5086719953635164e-18   DZ =-8.444292367883398e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKME    =(AX =1.5579646387615104e-07  BX =2.7000001095175246   PSIX =14.709939244195983 AY =-3.4075296830641934e-06
           BY =4.6999497650219455   PSIY =5.216379692803112  EX =.03000000092283434   EPX =1.0232570036318548e-10
           DX =1.0570131963494414e-17    DPX =-3.710044284266611e-18   DZ =-3.2510763098546463e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKLC    =(AX =1.5579646387615104e-07  BX =2.7000001095175246   PSIX =14.709939244195983 AY =-3.4075296830641934e-06
           BY =4.6999497650219455   PSIY =5.216379692803112  EX =.03000000092283434   EPX =1.0232570036318548e-10
           DX =1.0570131963494414e-17    DPX =-3.710044284266611e-18   DZ =-3.2510763098546463e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKLE    =(AX =-9.511821421805488e-08  BX =2.69999960871546     PSIX =25.389349376579258 AY =-3.3452233881682376e-06
           BY =4.6999623867913405   PSIY =8.736486473253892  EX =.02999999809580099   EPX =6.567991141163386e-10
           DX =1.0839165135840107e-17    DPX =6.653968611409153e-18    DZ =6.197590718165035e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS5M   =(AX =1.8473214986443094 BX =2.9297147715131406   PSIX =107.43126525195973 AY =-3.965966767143246
           BY =9.750930069691194    PSIY =37.086906450104394 EX =.05052941453966965   EPX =-.046270178504001065
           DX =7.647043256679654e-18     DPX =-3.929472590007052e-34   DZ =-3.3726190625300617e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS4M   =(AX =.76968298279361    BX =6.163327029108676    PSIX =107.64393638865617 AY =-.6688539643656143
           BY =5.158006170096901    PSIY =37.23770201082652  EX =.08456155062544603   EPX =-.01776079730277947
           DX =6.516822436793996e-18     DPX =2.815536049130082e-18    DZ =-3.3726190625300617e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS3M   =(AX =-2.7556860577004034     BX =2.384545292674248    PSIX =107.85127013306749 AY =5.56169114326094
           BY =10.02787509739117    PSIY =37.40299920187526  EX =.05715385304608668   EPX =.05926159293731943
           DX =1.1025509402422783e-18    DPX =7.334045898702224e-18    DZ =-3.3726190625300617e-19   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS2M   =(AX =10.117119702052824 BX =12.63864970945043    PSIX =110.3327410434299  AY =-6.59641363682463
           BY =10.716741740051463   PSIY =37.54642490746607  EX =8.172623990960997e-10     EPX =-5.475181058863889e-10
           DX =-2.1804945372519713e-17   DPX =1.4729820724324955e-17   DZ =-1.0656293329689715e-20   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS1M   =(AX =-.1227715364459852 BX =21.999322107160694   PSIX =110.37506826092832 AY =-.8210298756227414
           BY =5.42539023094634     PSIY =37.66454750806072  EX =1.0019951940689285e-09    EPX =8.846205073429627e-11
           DX =-2.6819628470813827e-17   DPX =-2.2684669936461413e-18  DZ =-1.0656293329689753e-20   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKMS    =(AX =5.6372150778849725e-08  BX =21.672653449124184   PSIX =110.49722853390395 AY =-2.169809109607535e-06
           BY =3.2407995073930733   PSIY =38.35197848412808  EX =7.666165855827456e-10     EPX =8.84620507342961e-11
           DX =-2.0783722834025306e-17   DPX =-2.268466993646139e-18   DZ =-1.0656293329689759e-20   DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS5L   =(AX =1.6184943583177005 BX =2.6311263970278995   PSIX =117.31163670233123 AY =-4.243940167992168
           BY =9.897802071533606    PSIY =40.57159692879457  EX =.049452454181218644  EPX =-.045568252332308344
           DX =1.0365143390855497e-18    DPX =-1.0408340855860843e-17  DZ =5.180933765559757e-19     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS4L   =(AX =.3665293265546696  BX =5.238933205009107    PSIX =117.55176023815488 AY =-.5086717587749701
           BY =5.187352171326783    PSIY =40.72292189675258  EX =.08115463166373764   EPX =-.012937380435035587
           DX =1.0047902628791066e-17    DPX =-7.362234033492567e-18   DZ =5.180933765559757e-19     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS3L   =(AX =-2.208607756309311 BX =1.9884982157508686   PSIX =117.80260272102095 AY =5.4762405140301915
           BY =10.121979235910214   PSIY =40.8850721891445   EX =.0542495707818043    EPX =.05508106918974822
           DX =1.1331786395283012e-17    DPX =2.8881529548824452e-18   DZ =5.180933765559757e-19     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS2L   =(AX =11.160984702690905 BX =11.646279275705254   PSIX =120.23700924822467 AY =-12.746037719188099
           BY =19.969403335424186   PSIY =41.00065576032899  EX =-4.3724593795749753e-10   EPX =2.800107382284587e-10
           DX =8.488545625667692e-18     DPX =-4.482619300007394e-18   DZ =8.214149129798649e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKS1L   =(AX =-.24685399790175439     BX =22.18032687549677    PSIX =120.28003513550706 AY =-.9810276145847564
           BY =10.32356381468683    PSIY =41.06437513842816  EX =-5.067537819116739e-10    EPX =-1.0744997073752844e-10
           DX =9.178841337510825e-18     DPX =2.7688852486206816e-18   DZ =8.214149129798649e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MKLS    =(AX =4.822407861851367e-08   BX =20.9063582888547     PSIX =120.52205071895924 AY =-3.0388355920543143e-06
           BY =5.26064204810231     PSIY =41.840193513398006 EX =4.7776097239264504e-11    EPX =-1.0744997073752845e-10
           DX =-5.110874631649398e-18    DPX =2.7688852486206816e-18   DZ =8.214149129798646e-20     DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
        MRED    =(AX =5.120125241567706e-13   BX =5.713018001308608    PSIX =150.37233254708144 AY =2.9855544041867573e-13
           BY =2.9232004480651566   PSIY =52.32323452675158  EX =-1.3930395248561666e-09   EPX =1.2694325712662347e-15
           DX =1.1532498981188467e-17    DPX =-2.9046644838758734e-18  DZ =-8.144821492636243e-20    DP =.01
           EMITX =8.318884024564985e-10  EMITY =1e-12 )
 ;

 LINE HV = (HD VD)
 ;
 LINE
  NCELLH = (MKS
                DLN1 PM DLN2 S1H HV MKS1 S1H D1 Q1 D1 S2H MKS2 S2H D1H PM D1H Q2 D2
                B1
                D5 S3H HV MKS3 S3H D31 PM D32 Q3 D1 S4H MKS4 S4H D1 Q4 D32O OC1 PM D31 S5H HV MKS5 S5H D5
                B2
                D6 Q5
                DLS1 PM DLS2 HV DLS3
           MKNC)
  NCELL = (MKNC -NCELLH NCELLH MKNE)
  MCELLH = (MKMS
                DLMN PM DLM2 S1MH HV MKS1M S1MH D1 Q1M D1 S2MH MKS2M S2MH D1H PM D1H Q2M D2
                B1M
                D5 S3MH HV MKS3M S3MH D31 PM D32 Q3M D1 S4MH MKS4M S4MH D1 Q4M D32O OC1 PM D31 S5MH HV MKS5M S5MH D5
                B2M
                D6 Q5M
                DLS1 PM DLS2 HV DLS3
           MKMC)
  MCELL = (MKMC -MCELLH MCELLH MKME)
  LCELLH = (MKLS
                DLLN PM DLL2 S1LH HV MKS1L S1LH D1 Q1L D1 S2LH MKS2L S2LH D1H PM D1H Q2L D2
                B1L
                D5 S3LH HV MKS3L S3LH D31 PM D32 Q3L D1 S4LH MKS4L S4LH D1 Q4L D32O OC1 PM D31 S5LH HV MKS5L S5LH D5
                B2L
                D6 Q5L D1 QAL
                DLS1 PM DLS2 HV DLS3
           MKLC)
  LCELL = (MKLC -LCELLH LCELLH MKLE)

  MCELLHA = (MKMSA
                DLM1 PM DLM2 S1MHA HV MKS1MA S1MHA D1 Q1MA D1 S2MHA MKS2MA S2MHA D1H PM D1H Q2MA D2
                B1MA
                D5 S3MHA HV MKS3MA S3MHA D31 PM D32 Q3MA D1 S4MHA MKS4MA S4MHA D1 Q4MA D32O OC1 PM D31 S5MHA HV MKS5MA S5MHA D5
                B2MA
                D6 Q5MA
                DLS1 PM DLS2 HV DLS3
           MKMCA)
  MCELLA = (MKMC -MCELLHA MCELLHA MKME)
  LCELLHA = (MKLSA
                DLL1 PM DLL2 S1LHA HV MKS1LA S1LHA D1 Q1LA D1 S2LHA MKS2LA S2LHA D1H PM D1H Q2LA D2
                B1LA
                D5 S3LHA HV MKS3LA S3LHA D31 PM D32 Q3LA D1 S4LHA MKS4LA S4LHA D1 Q4LA D32O OC1 PM D31 S5LHA HV MKS5LA S5LHA D5
                B2LA
                D6 Q5LA D1 QALA
                DLS1 PM DLS2 HV DLS3
           MKLCA)
  LCELLA = (MKLC -LCELLHA LCELLHA MKLE)

  RINGL = (MRST
              15*LCELL RFC 15*LCELL
          MRED)
  RINGM = (MRST
              15*MCELL RFC 15*MCELL
          MRED)

  RINGLA = (MRST
              15*LCELLA RFC 15*LCELLA
          MRED)
  RINGMA = (MRST
              15*MCELLA RFC 15*MCELLA
          MRED)

  TCELL = (MCELL LCELL)
  TCELLA = (MCELLA LCELLA)
  ACELL = (TCELL TCELLA)

  RINGN = (MRST
              8*TCELL RFC 7*TCELL
          MRED)
  RINGA = (MRST
              8*TCELLA RFC 7*TCELLA
          MRED)

  ARING = (MRST
              20*LCELLA RFC 10*LCELL
           MRED)
  HRING = (MRST
              LCELLHA 5*TCELLA 2*TCELL -MCELLHA
           MRED)

  RINGSP = (MRST LCELLHA 10*TCELLA 2*TCELL -MCELLHA RFC MCELLHA LCELL TCELL MCELL -LCELLHA MRED)
  RINGINJ = (MRST LCELLH MCELL LCELLA MCELLA LCELLA MCELLA LCELLA MCELLA LCELLA MCELLA LCELLA MCELLA -LCELLHA HRING RFC MCELLHA LCELL MCELL -LCELLH MRED)
  RINGSYM = (HRING RFC -HRING)
  RING = (RINGSP)
;
!@LAT 5GeV
!=====================================================================
! V0714_tune_survey: v07_14 のチューンサーベイ (リング全体のチューン (nx0, ny0) を格子で振り、マッチングし直して光学・ξ・ADTS を出す)
!
! 元のフォルダには、v07_14 用のチューンサーベイの台本は無い (v07_14 のラティスを読み込むものがない)。この台本は、
!   ・サーベイの枠組み: tune_sv_v06_10_parm (28 セルの旧い版 v06_10 用。nx0・ny0 の二重ループで、設計値から再マッチング → 6 極 →
!     ADTS (x・y 5σ) と ξ をファイルに書く)
!   ・v07_14 のマッチング: matching_v07_11 (2 セル単位 TCELLA・TCELL のセルチューン nx0/15、ny0/15 に合わせる。V0714_match_tune と同じ fit 条件)
! を組み合わせて作った (新規。元の台本に v07_14 版は無いので、元との比較はできない。部品ごとの一致は V0714_match_tune で確認)。
! 流れ (格子点ごと):
!   1. 設計の K1 (四極・偏向磁石) と K2 (6 極) に戻す (設計値から始める。元の tune_sv も毎回設計値から)。マッチングの結果は
!      SAVE ALL でリングの定義に書き戻す (書き戻さないと USE RING が元の値に戻る)
!   2. TCELLA を nitA 回、TCELL を nitN 回、セルチューン nx0/15、ny0/15 にマッチング (四極 Q* と偏向磁石 B1*・B2* の K1 を動かす)
!   3. セルごとの6 極 S3*・S4* の色収差補正 (MCELLA・LCELLA・MCELL・LCELL)
!   4. RING の cell calc emit: チューン (マッチング後の達成度)・εx・αc
!   5. ξ (δ = ±1e-4 の中心差分)、ADTS (x・y に 5σ、位相 thetan 分割の平均) → 1 行表示、ファイルに追記
! 表示の列: nx0 ny0 / リングのチューン (νx, νy) / εx [nm] / αc / ξx ξy / νx(5σx)-νx0 ... (dtx, dty の成分) / 達成度 flag
! 注意: 設計値から毎回始めるので、設計から遠い格子点は収束しないことがある (flag = 0。表示の「リングのチューン」と nx0・ny0 の差で分かる)。
!       ADTS の行は、振幅 5σ が大きすぎる点でも cell calc の失敗 (closed orbit not found) を出さずに値を返すとは限らない。
!=====================================================================
dtmax = 0.1;
dtstep = 0.1;
nitA = 2;
nitN = 2;
thetan = 8;
ampn = 5;
NPARA = 8;
ON LOG;
ON RAD FLUC COD RFSW RADCOD;
FFS;
 *** SADScript Initialization: /mnt/d/work/SAD-master/SAD-master/Packages/init.n ***
 *** Run time Environment:     /mnt/d/work/SAD-master/SAD-master/Packages/init.local.n ***
 RFSW RADCOD RAD  FLUC  INTRA POL   COD  DAPER EMIOU K64   FOURI SMEAR
   T     T     T     T     F     F     T     F     F     T     F     T
   $FORM = "15.10";
   PageWidth = 1999;
   Get["../modules/modules_amp_dep_ts.n"];
 
   dtl = .009;
   dtm = .0129775;
 
   dbetaa  = 11.5;
   dbetala = 10.5;
   bymaxa  = 15;
 
   dbeta  = 10.5;
   dbetal = 11.5;
   bymax = 15;
 
   ex0 = 0.03;
   bx0 = 2.7;
   by0 = 4.7;
 
 ! 設計 v05_27 の値を、βの目標の出発点にしていた (次の組が有効)
 bxmkmsa =  2.83638;  bymkmsa =  3.73509;
 bxmklsa =  3.61131;  bymklsa =  15.5488;
 bxmkms =  15.5919;  bymkms =  6.09844;
 bxmkls =  11.7081;  bymkls =  11.2495;
 bxs4ma =  6.05091;  bys4ma =  6.68527;
 bxs4la =  4.73772;  bys4la =  10.0760;
 bxs4m  =  6.87320;  bys4m  =  6.96931;
 bxs4l  =  5.44917;  bys4l  =  9.22563;
 
 ! FitValue: βの値が [目標 - 幅, 目標 + 幅] を出たときだけ、その端を目標にする (範囲内なら条件なし)。
 ! 各 fit 条件の直後に定義する (元の台本の順序のまま。fit 条件より前に定義すると、収束しなかった)。
 ! (元の台本の typo: MKMSA BY の上限は bymklsa、MKMS BY の上限は bymkls を使う。挙動は元のまま)
 
 
 ! 設計の K1・K2 (家族ごと。ラティスの定義の値)
 k1names = {"B1LA","B2LA","Q1LA","Q2LA","Q3LA","Q4LA","Q5LA","QALA","B1MA","B2MA","Q1MA","Q2MA","Q3MA","Q4MA","Q5MA",
            "B1L","B2L","Q1L","Q2L","Q3L","Q4L","Q5L","QAL","B1M","B2M","Q1M","Q2M","Q3M","Q4M","Q5M"};
 k2names = {"S1MH","S2MH","S3MH","S4MH","S5MH","S1LH","S2LH","S3LH","S4LH","S5LH",
            "S1MHA","S2MHA","S3MHA","S4MHA","S5MHA","S1LHA","S2LHA","S3LHA","S4LHA","S5LHA"};
 USE RING;
Out[1]:= USE
   cell calc emit;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.758E-7 $$$       f BX    #######  #   5.365887 $$$       f NX    #######  #  47.865060 $$$       f AY    #######  #  -9.463E-7 $$$       f BY    #######  #   5.062210 $$$       f NY    #######  #  16.655090
$$$       f LENG  #######  #  749.48088

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -5.77E-7  -4.98E-7  -7.4E-22  -1.3E-21  1.374E-5  2.646E-4
      Exit :  -5.77E-7  -4.98E-7  -8.6E-22  -1.4E-21  1.374E-5  2.646E-4

    Extended Twiss Parameters
AX: -4.76E-4 BX: 5.353147                            ZX: 1.874E-5  EX: 4.783E-4
           PSIX: -4.8E-17                           ZPX: -9.96E-7 EPX: 5.93E-20
R1: -1.7E-15 R2: 4.11E-16 AY: -.004509 BY: 5.038831  ZY: -9.2E-21  EY: 5.93E-20
R3: -1.4E-17 R4: -3.1E-15            PSIY: -8.5E-40 ZPY: -6.7E-22 EPY: -2.2E-19
                                                     AZ: 6.866E-5  BZ: 1.458611
                                                                 PSIZ: -3.7E-20
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 400000.13 Hz 
Energy loss per turn U0 = 3.5573887 MV  Effective voltage    Vc = 6.5000000 MV 
Equilibrium position dz = 55.246463 mm  Momentum compact. alpha = 3.2369E-5
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h = 1250.0000
Bucket height     dV/P0 =  .0775750     Synchrotron frequency   = 1058.7856 Hz 

  Imag.tune:-0.0000000          -0.0000000           0.0000000
  Real tune:-0.1349376          -0.3449023          -0.0026470

    Damping per one revolution:
          X : -7.708943E-04   Y : -3.556539E-04   Z : -2.959521E-04
    Damping time (sec):
          X :  3.242986E-03   Y :  7.029304E-03   Z :  8.447309E-03
    Tune shift due to radiation:
          X : -1.463584E-06   Y : -1.208299E-05   Z : -1.894304E-09
    Damping partition number:
          X :    2.1677       Y :    1.0001       Z :    0.8322

Emittance X            = 8.3211E-10 m   Emittance Y            = 1.8521E-33 m
Emittance Z            = 3.21238E-6 m   Energy spread          =  .00148399
Bunch Length           = 2.16468315 mm  Beam tilt              = -7.484E-11 rad
Beam size xi           =  .06674539 mm  Beam size eta          =  .00000000 mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 nxd = Twiss["NX","$$$"]/2/Pi;
 nyd = Twiss["NY","$$$"]/2/Pi;
 k1des = Table[LINE["K1",k1names[i]],{i,Length[k1names]}];
 k2des = Table[LINE["K2",k2names[i]],{i,Length[k2names]}];
 Print["design tune ",nxd," ",nyd];
design tune   47.8650597373   16.6550903903
 
 RestoreDesign[]:=(
   Do[ LINE["K1",k1names[i]] = k1des[i]; ,{i,Length[k1names]}];
   Do[ LINE["K2",k2names[i]] = k2des[i]; ,{i,Length[k2names]}];
   FFS["cell calc;"];
   FFS["SAVE ALL;"];
 );
 
 ! TCELLA のマッチング (V0714_match_tune と同じ。A 版の偏向角はそのまま)
 MatchA[]:=(
   FFS["USE TCELLA;"];
   FFS["cell calc;"];
 Do[
        FFS["fit MKMCA BX bx0;"];
        FFS["fit MKMCA BY by0;"];
        FFS["fit MKMCA EX ex0;"];
        FFS["fit MKMCA EPX 0;"];
        FFS["fit MKLCA EX ex0;"];
        FFS["fit MKLCA EPX 0;"];
   
        FFS["fit MKMSA AX 0;"];
        FFS["fit MKLSA AX 0;"];
        FFS["fit MKMSA AY 0;"];
        FFS["fit MKLSA AY 0;"];
   
        FFS["fit MKMCA AX 0;"];
        FFS["fit MKLCA AX 0;"];
        FFS["fit MKMCA AY 0;"];
        FFS["fit MKLCA AY 0;"];
   
        FFS["fit MKMSA EX 0;"];
        FFS["fit MKMSA EPX 0;"];
        FFS["fit MKLSA EX 0;"];
        FFS["fit MKLSA EPX 0;"];
   
        FFS["fit B1LA BYM bymaxa;"];
        FFS["fit B2LA BYM bymaxa;"];
        FFS["fit B1MA BYM bymaxa;"];
        FFS["fit B2MA BYM bymaxa;"];
   
        FFS["fit MKMSA BX bxmkmsa;"];
   FitValue["MKMSA", "BX",dp_,vgoal_,vnow_]:=If[vnow<bxmkmsa - dbetala,bxmkmsa-dbetala,If[vnow> bxmkmsa + dbetala,bxmkmsa + dbetala, Null]];
        FFS["fit MKMSA BY bymkmsa;"];
   FitValue["MKMSA", "BY",dp_,vgoal_,vnow_]:=If[vnow<bymkmsa - dbetala,bymkmsa-dbetala,If[vnow> bymkmsa + dbetala,bymklsa + dbetala, Null]];
        FFS["fit MKLSA BX bxmklsa;"];
   FitValue["MKLSA", "BX",dp_,vgoal_,vnow_]:=If[vnow<bxmklsa - dbetala,bxmklsa-dbetala,If[vnow> bxmklsa + dbetala,bxmklsa + dbetala, Null]];
        FFS["fit MKLSA BY bymklsa;"];
   FitValue["MKLSA", "BY",dp_,vgoal_,vnow_]:=If[vnow<bymklsa  -dbetala,bymklsa-dbetala,If[vnow> bymklsa + dbetala,bymklsa + dbetala, Null]];
   
        FFS["fit MKS4MA BX bxs4ma"];
   FitValue["MKS4MA","BX",dp_,vgoal_,vnow_]:=If[vnow<bxs4ma - dbetaa,bxs4ma - dbetaa,If[vnow>bxs4ma + dbetaa,bxs4ma + dbetaa,Null]];
        FFS["fit MKS4MA BY bys4ma"];
   FitValue["MKS4MA","BY",dp_,vgoal_,vnow_]:=If[vnow<bys4ma - dbetaa,bys4ma - dbetaa,If[vnow>bys4ma + dbetaa,bys4ma + dbetaa,Null]];
        FFS["fit MKS4LA BX bxs4la"];
   FitValue["MKS4LA","BX",dp_,vgoal_,vnow_]:=If[vnow<bxs4la - dbetaa,bxs4la - dbetaa,If[vnow>bxs4la + dbetaa,bxs4la + dbetaa,Null]];
        FFS["fit MKS4LA BY bys4la"];
   FitValue["MKS4LA","BY",dp_,vgoal_,vnow_]:=If[vnow<bys4la - dbetaa,bys4la - dbetaa,If[vnow>bys4la + dbetaa,bys4la + dbetaa,Null]];
   
        FFS["fit NX nx0/15;"];
        FFS["fit NY ny0/15;"];
        FFS["free Q* K1"];
        FFS["free B1* K1;"];
        FFS["free B2* K1;"];
        FFS["go;",6];
   
   ,{i,1,nitA}];
   FFS["cell calc emit;"];
   tcax = Twiss["NX","$$$"]/2/Pi*15;  tcay = Twiss["NY","$$$"]/2/Pi*15;
   FFS["SAVE ALL;"];
 );
 
 MatchN[]:=(
   FFS["USE TCELL;"];
   FFS["cell calc;"];
 Do[
        FFS["fit MKMC BX bx0;"];
        FFS["fit MKMC BY by0;"];
        FFS["fit MKMC EX ex0;"];
        FFS["fit MKMC EPX 0;"];
        FFS["fit MKLC EX ex0;"];
        FFS["fit MKLC EPX 0;"];
   
        FFS["fit MKMS AX 0;"];
        FFS["fit MKLS AX 0;"];
        FFS["fit MKMS AY 0;"];
        FFS["fit MKLS AY 0;"];
   
        FFS["fit MKMC AX 0;"];
        FFS["fit MKLC AX 0;"];
        FFS["fit MKMC AY 0;"];
        FFS["fit MKLC AY 0;"];
   
        FFS["fit MKMS EX 0;"];
        FFS["fit MKMS EPX 0;"];
        FFS["fit MKLS EX 0;"];
        FFS["fit MKLS EPX 0;"];
        FFS["fit B1L BYM bymax;"];
        FFS["fit B2L BYM bymax;"];
        FFS["fit B1M BYM bymax;"];
        FFS["fit B2M BYM bymax;"];
   
        FFS["fit MKMS BX bxmkms;"];
   FitValue["MKMS", "BX",dp_,vgoal_,vnow_]:=If[vnow<bxmkms-dbetal,bxmkms-dbetal,If[vnow> bxmkms+dbetal,bxmkms+dbetal, Null]];
        FFS["fit MKMS BY bymkms;"];
   FitValue["MKMS", "BY",dp_,vgoal_,vnow_]:=If[vnow<bymkms-dbetal,bymkms-dbetal,If[vnow> bymkms+dbetal,bymkls+dbetal, Null]];
        FFS["fit MKLS BX bxmkls;"];
   FitValue["MKLS", "BX",dp_,vgoal_,vnow_]:=If[vnow<bxmkls-dbetal,bxmkls-dbetal,If[vnow> bxmkls+dbetal,bxmkls+dbetal, Null]];
        FFS["fit MKLS BY bymkls;"];
   FitValue["MKLS", "BY",dp_,vgoal_,vnow_]:=If[vnow<bymkls-dbetal,bymkls-dbetal,If[vnow> bymkls+dbetal,bymkls+dbetal, Null]];
   
        FFS["fit MKS4M BX bxs4m"];
   FitValue["MKS4M","BX",dp_,vgoal_,vnow_]:=If[vnow<bxs4m - dbeta,bxs4m - dbeta,If[vnow>bxs4m + dbeta,bxs4m + dbeta,Null]];
        FFS["fit MKS4M BY bys4m"];
   FitValue["MKS4M","BY",dp_,vgoal_,vnow_]:=If[vnow<bys4m - dbeta,bys4m - dbeta,If[vnow>bys4m + dbeta,bys4m + dbeta,Null]];
        FFS["fit MKS4L BX bxs4l"];
   FitValue["MKS4L","BX",dp_,vgoal_,vnow_]:=If[vnow<bxs4l - dbeta,bxs4l - dbeta,If[vnow>bxs4l + dbeta,bxs4l + dbeta,Null]];
        FFS["fit MKS4L BY bys4l"];
   FitValue["MKS4L","BY",dp_,vgoal_,vnow_]:=If[vnow<bys4l - dbeta,bys4l - dbeta,If[vnow>bys4l + dbeta,bys4l + dbeta,Null]];
   
        FFS["fit NX nx0/15;"];
        FFS["fit NY ny0/15;"];
        FFS["free Q* K1"];
        FFS["free B1* K1;"];
        FFS["free B2* K1;"];
        FFS["go;",6];
   
   ,{i,1,nitN}];
   FFS["cell calc emit;"];
   tcnx = Twiss["NX","$$$"]/2/Pi*15;  tcny = Twiss["NY","$$$"]/2/Pi*15;
   FFS["SAVE ALL;"];
 );
 
 CellSext[]:=(
 ! セルごとの色収差補正 (6 極 S3*, S4*、S5 は S3 と等しい)
 FFS["USE MCELLA;"];
     FFS["cell calc emit;",6];
     nxcell = Twiss["NX","$$$"]/2/Pi;
     nycell = Twiss["NY","$$$"]/2/Pi;
     FFS["FIT;"];
     FFS["NX nxcell 2;"];
     FFS["NY nycell 2;"];
     FFS["DP=0.001;"];
     FFS["FREE S3*,S4*"];
     FFS["COUP S5MHA S3MHA 1"];
     FFS["GO;",6];
     FFS["FITP 1;"];
     FFS["type S*;",6];
     FFS["SAVE"];
 
  FFS["USE LCELLA;"];
     FFS["cell calc emit;",6];
     nxcell = Twiss["NX","$$$"]/2/Pi;
     nycell = Twiss["NY","$$$"]/2/Pi;
     FFS["FIT;"];
     FFS["NX nxcell 2;"];
     FFS["NY nycell 2;"];
     FFS["DP=0.01;"];
     FFS["FREE S3*,S4*"];
     FFS["COUP S5LHA S3LHA 1"];
     FFS["GO;",6];
     FFS["FITP 1;"];
     FFS["type S*;",6];
     FFS["SAVE"];
 
 
 FFS["USE MCELL;"];
     FFS["cell calc emit;",6];
     nxcell = Twiss["NX","$$$"]/2/Pi;
     nycell = Twiss["NY","$$$"]/2/Pi;
     FFS["FIT;"];
     FFS["NX nxcell 2;"];
     FFS["NY nycell 2;"];
     FFS["DP=0.001;"];
     FFS["FREE S3*,S4*"];
     FFS["COUP S5MH S3MH 1"];
     FFS["GO;",6];
     FFS["FITP 1;"];
     FFS["type S*;",6];
     FFS["SAVE"];
 
  FFS["USE LCELL;"];
     FFS["cell calc emit;",6];
     nxcell = Twiss["NX","$$$"]/2/Pi;
     nycell = Twiss["NY","$$$"]/2/Pi;
     FFS["FIT;"];
     FFS["NX nxcell 2;"];
     FFS["NY nycell 2;"];
     FFS["DP=0.01;"];
     FFS["FREE S3*,S4*"];
     FFS["COUP S5LH S3LH 1"];
     FFS["GO;",6];
     FFS["FITP 1;"];
     FFS["type S*;",6];
     FFS["SAVE"];
 
 
 );
 
 ! ξ (中心差分) と ADTS。RING で
 EvalPoint[]:=(
   FFS["USE RING;"];
   FFS["cell calc emit;"];
   tunex0 = Twiss["NX","$$$"]/2/Pi;
   tuney0 = Twiss["NY","$$$"]/2/Pi;
   emitnm = EMITX*10^9;
   alphac = MomentumCompaction/.Emittance[];
   DP0 = 1e-4; FFS["cell calc;"]; nxp = Twiss["NX","$$$"]/2/Pi; nyp = Twiss["NY","$$$"]/2/Pi;
   DP0 = -1e-4; FFS["cell calc;"]; nxm = Twiss["NX","$$$"]/2/Pi; nym = Twiss["NY","$$$"]/2/Pi;
   DP0 = 0; FFS["cell calc emit;"];
   xix = (nxp-nxm)/2e-4; xiy = (nyp-nym)/2e-4;
   tune0 = {tunex0,tuney0};
   SetInitialParameters[];
   resx = AmplitudeDependentTuneShift[ampn,0,thetan];
   resy = AmplitudeDependentTuneShift[0,ampn,thetan];
   ResetInit[];
   dtx = resx - tune0;
   dty = resy - tune0;
 );
 
 Close[OpenWrite["V0714_tune_survey.dat"]];
 Print["nx0 ny0 | ring nux nuy | emitx[nm] alphac | xix xiy | dnu(x ampl) dnu(y ampl) | converged"];
nx0 ny0 | ring nux nuy | emitx[nm] alphac | xix xiy | dnu(x ampl) dnu(y ampl) | converged
 Do[
  Do[
   RestoreDesign[];
   FFS["USE RING;"];
   FFS["cell calc;"];
   MatchA[];
   MatchN[];
   CellSext[];
   EvalPoint[];
   flag = 1;
   If[Abs[tunex0-nx0]>0.01 || Abs[tuney0-ny0]>0.01, flag = 0];
   Print[nx0," ",ny0," | ",tunex0," ",tuney0," | ",emitnm," ",alphac," | ",xix," ",xiy," | ",dtx[1]," ",dtx[2]," ",dty[1]," ",dty[2]," | ",flag];
   datafile = OpenAppend["V0714_tune_survey.dat"];
   Write[datafile,nx0,ny0,tunex0,tuney0,emitnm,alphac,xix,xiy,dtx[1],dtx[2],dty[1],dty[2],flag];
   Close[datafile];
  ,{ny0,nyd-dtmax,nyd+dtmax+dtstep/10,dtstep}];
 ,{nx0,nxd-dtmax,nxd+dtmax+dtstep/10,dtstep}];
       2        0   2.3368E-06  (NEWTON)    1.000         15
 Matched. ( 5.7566E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.161E-7 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  2.8851E-6 MKMCA.1     BY   4.7       1   4.699939 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.7192E-8
B2MA.1      BYM  15        1  10.032039 MKS4MA.1    BX   6.05091   1   5.816164 MKS4MA.1    BY   6.68527   1   5.829034 B1MA.1      BYM  15        1  14.692043 MKMSA.1     AX   0         1  -1.04E-14 MKMSA.1     BX   2.83638   1   5.723171
MKMSA.1     AY   0         1  5.053E-15 MKMSA.1     BY   3.73509   1   2.985748 MKMSA.1     EX   0         1  -6.759E-8 MKMSA.1     EPX  0         1  -4.03E-16 MKLCA.1     AX   0         1  3.1606E-7 MKLCA.1     AY   0         1  -2.885E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.719E-8 B2LA.1      BYM  15        1  10.703945 MKS4LA.1    BX   4.73772   1   5.119843 MKS4LA.1    BY   10.076    1   5.798618 B1LA.1      BYM  15        1  14.857336
MKLSA.1     AX   0         1  1.110E-14 MKLSA.1     BX   3.61131   1   5.571099 MKLSA.1     AY   0         1  -2.05E-14 MKLSA.1     BY   15.5488   1   5.214242 MKLSA.1     EX   0         1  6.5921E-8 MKLSA.1     EPX  0         1  5.139E-16
$$$       f AX    #######  #  -3.161E-7 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  2.8851E-6 $$$       f BY    #######  #   4.699939 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
 Matched. ( 5.7190E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.161E-7 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  2.8851E-6 MKMCA.1     BY   4.7       1   4.699939 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.7192E-8
B2MA.1      BYM  15        1  10.032039 MKS4MA.1    BX   6.05091   1   5.816164 MKS4MA.1    BY   6.68527   1   5.829034 B1MA.1      BYM  15        1  14.692043 MKMSA.1     AX   0         1  -1.04E-14 MKMSA.1     BX   2.83638   1   5.723171
MKMSA.1     AY   0         1  5.053E-15 MKMSA.1     BY   3.73509   1   2.985748 MKMSA.1     EX   0         1  -6.759E-8 MKMSA.1     EPX  0         1  -4.03E-16 MKLCA.1     AX   0         1  3.1606E-7 MKLCA.1     AY   0         1  -2.885E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.719E-8 B2LA.1      BYM  15        1  10.703945 MKS4LA.1    BX   4.73772   1   5.119843 MKS4LA.1    BY   10.076    1   5.798618 B1LA.1      BYM  15        1  14.857336
MKLSA.1     AX   0         1  1.110E-14 MKLSA.1     BX   3.61131   1   5.571099 MKLSA.1     AY   0         1  -2.05E-14 MKLSA.1     BY   15.5488   1   5.214242 MKLSA.1     EX   0         1  6.5921E-8 MKLSA.1     EPX  0         1  5.139E-16
$$$       f AX    #######  #  -3.161E-7 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  2.8851E-6 $$$       f BY    #######  #   4.699939 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
       2        0   0.3849      (NEWTON)    1.000         15
       3        0   0.1187      (NEWTON)    1.000         15
       4        0   6.2593E-02  (NEWTON)    1.000         15
       5        0   3.2284E-02  (NEWTON)    1.000         15
       6        0   1.6376E-02  (NEWTON)    1.000         15
       7        0   8.1896E-03  (NEWTON)    1.000         15
       8        0   4.0486E-03  (NEWTON)    1.000         15
       9        0   1.9833E-03  (NEWTON)    1.000         15
      10        0   9.6526E-04  (NEWTON)    1.000         15
      11        0   4.6796E-04  (NEWTON)    1.000         15
      12        0   2.2666E-04  (NEWTON)    1.000         15
      13        0   1.1006E-04  (NEWTON)    1.000         15
      14        0   5.3791E-05  (NEWTON)    1.000         15
      15        0   2.6589E-05  (NEWTON)    1.000         15
      16        0   1.3365E-05  (NEWTON)    1.000         15
      17        0   6.8723E-06  (NEWTON)    1.000         15
      18        0   3.6352E-06  (NEWTON)    1.000         15
      19        0   1.9871E-06  (NEWTON)    1.000         15
      20        0   1.1251E-06  (NEWTON)    1.000         15
      21        0   6.5983E-07  (NEWTON)    1.000         15
      22        0   3.9969E-07  (NEWTON)    1.000         15
      23        0   2.4897E-07  (NEWTON)    1.000         15
      24        0   1.5865E-07  (NEWTON)    1.000         15
      25        0   1.0290E-07  (NEWTON)    1.000         15
      26        0   6.7622E-08  (NEWTON)    1.000         15
      27        0   4.4868E-08  (NEWTON)    1.000         15
 Matched. ( 2.9974E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -8.818E-6 MKMC.1      BX   2.7       1   2.699655 MKMC.1      AY   0         1  4.6809E-7 MKMC.1      BY   4.7       1   4.700037 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.653E-12
B2M.1       BYM  15        1  10.277542 MKS4M.1     BX   6.8732    1   6.134136 MKS4M.1     BY   6.96931   1   5.137222 B1M.1       BYM  15        1  14.974457 MKMS.1      AX   0         1  1.218E-14 MKMS.1      BX   15.5919   1  21.689079
MKMS.1      AY   0         1  2.564E-15 MKMS.1      BY   6.09844   1   3.265263 MKMS.1      EX   0         1  -2.20E-11 MKMS.1      EPX  0         1  -2.56E-17 MKLC.1      AX   0         1  8.8179E-6 MKLC.1      AY   0         1  -4.681E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.65E-12 B2L.1       BYM  15        1  10.565082 MKS4L.1     BX   5.44917   1   5.208314 MKS4L.1     BY   9.22563   1   5.154607 B1L.1       BYM  15        1  14.928452
MKLS.1      AX   0         1  1.908E-14 MKLS.1      BX   11.7081   1  20.911651 MKLS.1      AY   0         1  -2.03E-15 MKLS.1      BY   11.2495   1   5.499713 MKLS.1      EX   0         1  -5.09E-13 MKLS.1      EPX  0         1  6.183E-17
$$$       f AX    #######  #  -8.818E-6 $$$       f BX    #######  #   2.699655 $$$       f NX   3.18434   1   3.184355 $$$       f AY    #######  #  4.6809E-7 $$$       f BY    #######  #   4.700037 $$$       f NY   1.10367   1   1.103674
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.9974E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -8.818E-6 MKMC.1      BX   2.7       1   2.699655 MKMC.1      AY   0         1  4.6809E-7 MKMC.1      BY   4.7       1   4.700037 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.653E-12
B2M.1       BYM  15        1  10.277542 MKS4M.1     BX   6.8732    1   6.134136 MKS4M.1     BY   6.96931   1   5.137222 B1M.1       BYM  15        1  14.974457 MKMS.1      AX   0         1  1.218E-14 MKMS.1      BX   15.5919   1  21.689079
MKMS.1      AY   0         1  2.564E-15 MKMS.1      BY   6.09844   1   3.265263 MKMS.1      EX   0         1  -2.20E-11 MKMS.1      EPX  0         1  -2.56E-17 MKLC.1      AX   0         1  8.8179E-6 MKLC.1      AY   0         1  -4.681E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.65E-12 B2L.1       BYM  15        1  10.565082 MKS4L.1     BX   5.44917   1   5.208314 MKS4L.1     BY   9.22563   1   5.154607 B1L.1       BYM  15        1  14.928452
MKLS.1      AX   0         1  1.908E-14 MKLS.1      BX   11.7081   1  20.911651 MKLS.1      AY   0         1  -2.03E-15 MKLS.1      BY   11.2495   1   5.499713 MKLS.1      EX   0         1  -5.09E-13 MKLS.1      EPX  0         1  6.183E-17
$$$       f AX    #######  #  -8.818E-6 $$$       f BX    #######  #   2.699655 $$$       f NX   3.18434   1   3.184355 $$$       f AY    #######  #  4.6809E-7 $$$       f BY    #######  #   4.700037 $$$       f NY   1.10367   1   1.103674
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  7.086E-13 $$$       f BX    #######  #   2.700015 $$$       f NX    #######  #   1.490777 $$$       f AY    #######  #  8.005E-14 $$$       f BY    #######  #   4.699984 $$$       f NY    #######  #    .547276
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.29E-7  -1.7E-25  2.83E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.5976E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              8.525E-10   .000000 7.452E-10
$$$       f AX    #######  #  -1.305E-6 6.795E-13 -1.432E-6 $$$       f BX    #######  #   2.843646  2.700015  2.563630 $$$       f NX   1.49078   2   1.490793  1.490777  1.490792 $$$       f AY    #######  #  -2.225E-6 7.119E-14 -2.303E-6
$$$       f BY    #######  #   4.717785  4.699984  4.682015 $$$       f NY   .54728    2    .547278   .547276   .547278 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.269961701266208 )
        S4MHA   =(L =.1   K2 =16.850776270784767 )
        S3MHA   =(L =.1   K2 =-12.269961701266208 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.072E-14 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.693561 $$$       f AY    #######  #  -6.12E-14 $$$       f BY    #######  #   4.699903 $$$       f NY    #######  #    .556397
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.13E-7  -6.4E-25  1.08E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   5.9475E-04  (NEWTON)    1.000          2
       3        0   4.9607E-06  (NEWTON)    1.000          2
       4        0   4.8235E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 4.8235E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.4263E-6   .000000 2.3971E-6
$$$       f AX    #######  #  -1.599E-8 7.510E-15 -6.073E-9 $$$       f BX    #######  #   2.439610  2.700000  3.016749 $$$       f NX   1.69356   2   1.694124  1.693561  1.694097 $$$       f AY    #######  #  -1.395E-7 -2.37E-14 -5.400E-8
$$$       f BY    #######  #   5.127126  4.699903  4.249291 $$$       f NY   .5564     2    .557045   .556397   .557061 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.63452488359262 )
        S4LHA   =(L =.1   K2 =25.890804007722416 )
        S3LHA   =(L =.1   K2 =-18.63452488359262 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.849E-14 $$$       f BX    #######  #   2.699594 $$$       f NX    #######  #   1.559744 $$$       f AY    #######  #  3.869E-14 $$$       f BY    #######  #   4.700045 $$$       f NY    #######  #    .543613
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.10E-8  -9.3E-28  6.02E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 6.9167E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.747E-11   .000000 5.170E-11
$$$       f AX    #######  #  4.576E-13 2.498E-14 4.689E-13 $$$       f BX    #######  #   2.683717  2.699594  2.715510 $$$       f NX   1.55974   2   1.559744  1.559744  1.559744 $$$       f AY    #######  #  -7.85E-13 3.395E-14 -7.46E-13
$$$       f BY    #######  #   4.702295  4.700045  4.697357 $$$       f NY   .54361    2    .543615   .543613   .543617 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.10387629040407 )
        S4MH    =(L =.1   K2 =28.73032698390937 )
        S3MH    =(L =.1   K2 =-18.10387629040407 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -2.42E-14 $$$       f BX    #######  #   2.699679 $$$       f NX    #######  #   1.624611 $$$       f AY    #######  #  7.434E-15 $$$       f BY    #######  #   4.700031 $$$       f NY    #######  #    .560060
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.25E-7  4.06E-25  3.08E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.3135E-05  (NEWTON)    1.000          2
       3        0   6.6853E-06  (NEWTON)    1.000          2
 Residual = 6.6853E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.4773E-6   .000000 3.2080E-6
$$$       f AX    #######  #  -7.31E-10 -1.78E-14 -4.59E-11 $$$       f BX    #######  #   2.523684  2.699679  2.907986 $$$       f NX   1.62461   2   1.625105  1.624611  1.625032 $$$       f AY    #######  #  -5.741E-9 1.097E-14 -9.46E-10
$$$       f BY    #######  #   4.891938  4.700031  4.459366 $$$       f NY   .56006    2    .560962   .560060   .560954 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.626594024868982 )
        S4LH    =(L =.1   K2 =35.697844950766054 )
        S3LH    =(L =.1   K2 =-22.626594024868982 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.7650597373   16.5550903903 |   47.7651307649   16.5550991951 |     .8330115812  3.249749882E-5 |     .0259076990     .0818299449 |  -5.76958107E-5  4.717413419E-4  3.756475507E-4  -9.64869324E-4 |    1.0000000000
       2        0   6.3507E-07  (NEWTON)    1.000         15
 Matched. ( 4.4350E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.065E-7 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -3.639E-7 MKMCA.1     BY   4.7       1   4.699948 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.5613E-8
B2MA.1      BYM  15        1  10.031343 MKS4MA.1    BX   6.05091   1   5.814405 MKS4MA.1    BY   6.68527   1   5.840952 B1MA.1      BYM  15        1  14.742593 MKMSA.1     AX   0         1  1.430E-15 MKMSA.1     BX   2.83638   1   5.732243
MKMSA.1     AY   0         1  1.477E-14 MKMSA.1     BY   3.73509   1   2.931097 MKMSA.1     EX   0         1  -6.142E-8 MKMSA.1     EPX  0         1  2.554E-16 MKLCA.1     AX   0         1  3.0647E-7 MKLCA.1     AY   0         1  3.6393E-7
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.561E-8 B2LA.1      BYM  15        1  10.704218 MKS4LA.1    BX   4.73772   1   5.118803 MKS4LA.1    BY   10.076    1   5.815028 B1LA.1      BYM  15        1  14.924475
MKLSA.1     AX   0         1  -2.64E-16 MKLSA.1     BX   3.61131   1   5.564815 MKLSA.1     AY   0         1  2.366E-14 MKLSA.1     BY   15.5488   1   5.067018 MKLSA.1     EX   0         1  5.9182E-8 MKLSA.1     EPX  0         1  -2.67E-16
$$$       f AX    #######  #  -3.065E-7 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  -3.639E-7 $$$       f BY    #######  #   4.699948 $$$       f NY   1.11034   1   1.110340
$$$       f LENG  #######  #  49.965324
 Matched. ( 4.4043E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.065E-7 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -3.639E-7 MKMCA.1     BY   4.7       1   4.699948 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.5613E-8
B2MA.1      BYM  15        1  10.031343 MKS4MA.1    BX   6.05091   1   5.814405 MKS4MA.1    BY   6.68527   1   5.840952 B1MA.1      BYM  15        1  14.742593 MKMSA.1     AX   0         1  1.430E-15 MKMSA.1     BX   2.83638   1   5.732243
MKMSA.1     AY   0         1  1.477E-14 MKMSA.1     BY   3.73509   1   2.931097 MKMSA.1     EX   0         1  -6.142E-8 MKMSA.1     EPX  0         1  2.554E-16 MKLCA.1     AX   0         1  3.0647E-7 MKLCA.1     AY   0         1  3.6393E-7
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.561E-8 B2LA.1      BYM  15        1  10.704218 MKS4LA.1    BX   4.73772   1   5.118803 MKS4LA.1    BY   10.076    1   5.815028 B1LA.1      BYM  15        1  14.924475
MKLSA.1     AX   0         1  -2.64E-16 MKLSA.1     BX   3.61131   1   5.564815 MKLSA.1     AY   0         1  2.366E-14 MKLSA.1     BY   15.5488   1   5.067018 MKLSA.1     EX   0         1  5.9182E-8 MKLSA.1     EPX  0         1  -2.67E-16
$$$       f AX    #######  #  -3.065E-7 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  -3.639E-7 $$$       f BY    #######  #   4.699948 $$$       f NY   1.11034   1   1.110340
$$$       f LENG  #######  #  49.965324
       2        0   0.3475      (NEWTON)    1.000         15
       3        0   9.4084E-02  (NEWTON)    1.000         15
       4        0   4.9793E-02  (NEWTON)    1.000         15
       5        0   2.5580E-02  (NEWTON)    1.000         15
       6        0   1.2937E-02  (NEWTON)    1.000         15
       7        0   6.4575E-03  (NEWTON)    1.000         15
       8        0   3.1893E-03  (NEWTON)    1.000         15
       9        0   1.5624E-03  (NEWTON)    1.000         15
      10        0   7.6114E-04  (NEWTON)    1.000         15
      11        0   3.6223E-04  (NEWTON)    1.000         15
      12        0   1.7594E-04  (NEWTON)    1.000         15
      13        0   8.6001E-05  (NEWTON)    1.000         15
      14        0   4.2510E-05  (NEWTON)    1.000         15
      15        0   2.1361E-05  (NEWTON)    1.000         15
      16        0   1.0976E-05  (NEWTON)    1.000         15
      17        0   5.8022E-06  (NEWTON)    1.000         15
      18        0   3.1727E-06  (NEWTON)    1.000         15
      19        0   1.8013E-06  (NEWTON)    1.000         15
      20        0   1.0634E-06  (NEWTON)    1.000         15
      21        0   6.5183E-07  (NEWTON)    1.000         15
      22        0   4.1333E-07  (NEWTON)    1.000         15
      23        0   2.6978E-07  (NEWTON)    1.000         15
      24        0   1.8026E-07  (NEWTON)    1.000         15
      25        0   1.2270E-07  (NEWTON)    1.000         15
      26        0   8.4710E-08  (NEWTON)    1.000         15
      27        0   5.9125E-08  (NEWTON)    1.000         15
      28        0   4.1615E-08  (NEWTON)    1.000         15
 Matched. ( 2.9481E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -7.239E-6 MKMC.1      BX   2.7       1   2.699692 MKMC.1      AY   0         1  1.3976E-5 MKMC.1      BY   4.7       1   4.699941 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.287E-12
B2M.1       BYM  15        1  10.277594 MKS4M.1     BX   6.8732    1   6.134353 MKS4M.1     BY   6.96931   1   5.143257 B1M.1       BYM  15        1  15.001158 MKMS.1      AX   0         1  -9.05E-15 MKMS.1      BX   15.5919   1  21.698545
MKMS.1      AY   0         1  4.458E-15 MKMS.1      BY   6.09844   1   3.225682 MKMS.1      EX   0         1  -1.74E-11 MKMS.1      EPX  0         1  1.023E-17 MKLC.1      AX   0         1  7.2386E-6 MKLC.1      AY   0         1  -1.398E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.29E-12 B2L.1       BYM  15        1  10.564497 MKS4L.1     BX   5.44917   1   5.207131 MKS4L.1     BY   9.22563   1   5.167745 B1L.1       BYM  15        1  14.991490
MKLS.1      AX   0         1  -1.28E-14 MKLS.1      BX   11.7081   1  20.928794 MKLS.1      AY   0         1  -1.70E-14 MKLS.1      BY   11.2495   1   5.317890 MKLS.1      EX   0         1  9.891E-13 MKLS.1      EPX  0         1  -5.15E-17
$$$       f AX    #######  #  -7.239E-6 $$$       f BX    #######  #   2.699692 $$$       f NX   3.18434   1   3.184353 $$$       f AY    #######  #  1.3976E-5 $$$       f BY    #######  #   4.699941 $$$       f NY   1.11034   1   1.110340
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.9480E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -7.239E-6 MKMC.1      BX   2.7       1   2.699692 MKMC.1      AY   0         1  1.3976E-5 MKMC.1      BY   4.7       1   4.699941 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.287E-12
B2M.1       BYM  15        1  10.277594 MKS4M.1     BX   6.8732    1   6.134353 MKS4M.1     BY   6.96931   1   5.143257 B1M.1       BYM  15        1  15.001158 MKMS.1      AX   0         1  -9.05E-15 MKMS.1      BX   15.5919   1  21.698545
MKMS.1      AY   0         1  4.458E-15 MKMS.1      BY   6.09844   1   3.225682 MKMS.1      EX   0         1  -1.74E-11 MKMS.1      EPX  0         1  1.023E-17 MKLC.1      AX   0         1  7.2386E-6 MKLC.1      AY   0         1  -1.398E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.29E-12 B2L.1       BYM  15        1  10.564497 MKS4L.1     BX   5.44917   1   5.207131 MKS4L.1     BY   9.22563   1   5.167745 B1L.1       BYM  15        1  14.991490
MKLS.1      AX   0         1  -1.28E-14 MKLS.1      BX   11.7081   1  20.928794 MKLS.1      AY   0         1  -1.70E-14 MKLS.1      BY   11.2495   1   5.317890 MKLS.1      EX   0         1  9.891E-13 MKLS.1      EPX  0         1  -5.15E-17
$$$       f AX    #######  #  -7.239E-6 $$$       f BX    #######  #   2.699692 $$$       f NX   3.18434   1   3.184353 $$$       f AY    #######  #  1.3976E-5 $$$       f BY    #######  #   4.699941 $$$       f NY   1.11034   1   1.110340
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -3.86E-13 $$$       f BX    #######  #   2.700014 $$$       f NX    #######  #   1.490462 $$$       f AY    #######  #  2.221E-14 $$$       f BY    #######  #   4.699943 $$$       f NY    #######  #    .549856
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.29E-7  -1.6E-25  2.86E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.4945E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              7.959E-10   .000000 6.986E-10
$$$       f AX    #######  #  -1.291E-6 -3.90E-13 -1.415E-6 $$$       f BX    #######  #   2.838121  2.700014  2.568619 $$$       f NX   1.49046   2   1.490477  1.490462  1.490476 $$$       f AY    #######  #  -2.138E-6 2.693E-14 -2.212E-6
$$$       f BY    #######  #   4.716979  4.699943  4.682740 $$$       f NY   .54986    2    .549859   .549856   .549859 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.28798919724423 )
        S4MHA   =(L =.1   K2 =16.866199695924855 )
        S3MHA   =(L =.1   K2 =-12.28798919724423 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.240E-15 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.693876 $$$       f AY    #######  #  -6.96E-14 $$$       f BY    #######  #   4.699953 $$$       f NY    #######  #    .560483
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.13E-7  -6.5E-25  1.10E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.2151E-04  (NEWTON)    1.000          2
       3        0   5.1101E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
***qtwiss---> Overflow (fb)        1     120   0.000000    
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 *****qcod---> Overflow & closed orbit not found            3
 *****qcod---> Closed orbit not found            3
***qtwiss---> Overflow (fb)        1     120   0.000000    
 Residual = 5.0826E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.5611E-6   .000000 2.5216E-6
$$$       f AX    #######  #  -1.614E-8 -2.22E-15 -6.140E-9 $$$       f BX    #######  #   2.439581  2.700000  3.016916 $$$       f NX   1.69388   2   1.694444  1.693876  1.694415 $$$       f AY    #######  #  -1.339E-7 -7.34E-14 -5.181E-8
$$$       f BY    #######  #   5.094047  4.699953  4.277248 $$$       f NY   .56048    2    .561158   .560483   .561173 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.67662738461491 )
        S4LHA   =(L =.1   K2 =25.92526388299606 )
        S3LHA   =(L =.1   K2 =-18.67662738461491 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -2.43E-14 $$$       f BX    #######  #   2.699642 $$$       f NX    #######  #   1.559790 $$$       f AY    #######  #  3.393E-14 $$$       f BY    #######  #   4.700165 $$$       f NY    #######  #    .545357
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.10E-8  -9.4E-28  6.07E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 6.8912E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.821E-11   .000000 5.070E-11
$$$       f AX    #######  #  3.799E-13 -2.29E-14 3.469E-13 $$$       f BX    #######  #   2.683788  2.699642  2.715535 $$$       f NX   1.55979   2   1.559791  1.559790  1.559790 $$$       f AY    #######  #  -7.30E-13 1.822E-14 -7.28E-13
$$$       f BY    #######  #   4.702470  4.700165  4.697432 $$$       f NY   .54536    2    .545359   .545357   .545361 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.119258432813318 )
        S4MH    =(L =.1   K2 =28.74519198435543 )
        S3MH    =(L =.1   K2 =-18.119258432813318 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  2.625E-14 $$$       f BX    #######  #   2.699712 $$$       f NX    #######  #   1.624562 $$$       f AY    #######  #  -3.45E-14 $$$       f BY    #######  #   4.699789 $$$       f NY    #######  #    .564983
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.25E-7  2.92E-25  3.15E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.1741E-05  (NEWTON)    1.000          2
       3        0   6.8145E-06  (NEWTON)    1.000          2
 Residual = 6.8145E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.5483E-6   .000000 3.2662E-6
$$$       f AX    #######  #  -7.23E-10 3.376E-14 -4.47E-11 $$$       f BX    #######  #   2.523784  2.699712  2.908001 $$$       f NX   1.62456   2   1.625058  1.624562  1.624985 $$$       f AY    #######  #  -5.399E-9 -3.14E-14 -8.86E-10
$$$       f BY    #######  #   4.875651  4.699789  4.474077 $$$       f NY   .56498    2    .565895   .564983   .565885 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.672384526476613 )
        S4LH    =(L =.1   K2 =35.74083797740339 )
        S3LH    =(L =.1   K2 =-22.672384526476613 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.7650597373   16.6550903903 |   47.7651213333   16.6550956484 |     .8330568667  3.249645519E-5 |     .0250654731     .0806476262 |  -7.05234071E-5  4.952737302E-4  3.895579676E-4  -9.60012625E-4 |    1.0000000000
       2        0   5.0427E-04  (NEWTON)    1.000         15
       3        0   6.4886E-07  (NEWTON)    1.000         15
       4        0   2.2818E-07  (NEWTON)    1.000         15
 Matched. ( 1.2512E-13) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -2.718E-9 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -1.495E-8 MKMCA.1     BY   4.7       1   4.699998 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  5.148E-12
B2MA.1      BYM  15        1  10.028050 MKS4MA.1    BX   6.05091   1   5.808162 MKS4MA.1    BY   6.68527   1   5.872999 B1MA.1      BYM  15        1  14.883175 MKMSA.1     AX   0         1  -3.89E-15 MKMSA.1     BX   2.83638   1   5.760783
MKMSA.1     AY   0         1  -8.79E-17 MKMSA.1     BY   3.73509   1   2.801187 MKMSA.1     EX   0         1  -1.76E-11 MKMSA.1     EPX  0         1  -1.63E-17 MKLCA.1     AX   0         1  2.7179E-9 MKLCA.1     AY   0         1  1.4947E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -5.15E-12 B2LA.1      BYM  15        1  10.704158 MKS4LA.1    BX   4.73772   1   5.118440 MKS4LA.1    BY   10.076    1   5.819532 B1LA.1      BYM  15        1  14.942882
MKLSA.1     AX   0         1  4.322E-15 MKLSA.1     BX   3.61131   1   5.529912 MKLSA.1     AY   0         1  3.102E-15 MKLSA.1     BY   15.5488   1   5.048802 MKLSA.1     EX   0         1  1.575E-11 MKLSA.1     EPX  0         1  -1.45E-18
$$$       f AX    #######  #  -2.718E-9 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  -1.495E-8 $$$       f BY    #######  #   4.699998 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
 Matched. ( 1.2512E-13) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -2.718E-9 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -1.495E-8 MKMCA.1     BY   4.7       1   4.699998 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  5.148E-12
B2MA.1      BYM  15        1  10.028050 MKS4MA.1    BX   6.05091   1   5.808162 MKS4MA.1    BY   6.68527   1   5.872999 B1MA.1      BYM  15        1  14.883175 MKMSA.1     AX   0         1  -3.89E-15 MKMSA.1     BX   2.83638   1   5.760783
MKMSA.1     AY   0         1  -8.79E-17 MKMSA.1     BY   3.73509   1   2.801187 MKMSA.1     EX   0         1  -1.76E-11 MKMSA.1     EPX  0         1  -1.63E-17 MKLCA.1     AX   0         1  2.7179E-9 MKLCA.1     AY   0         1  1.4947E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -5.15E-12 B2LA.1      BYM  15        1  10.704158 MKS4LA.1    BX   4.73772   1   5.118440 MKS4LA.1    BY   10.076    1   5.819532 B1LA.1      BYM  15        1  14.942882
MKLSA.1     AX   0         1  4.322E-15 MKLSA.1     BX   3.61131   1   5.529912 MKLSA.1     AY   0         1  3.102E-15 MKLSA.1     BY   15.5488   1   5.048802 MKLSA.1     EX   0         1  1.575E-11 MKLSA.1     EPX  0         1  -1.45E-18
$$$       f AX    #######  #  -2.718E-9 $$$       f BX    #######  #   2.700000 $$$       f NX   3.18434   1   3.184337 $$$       f AY    #######  #  -1.495E-8 $$$       f BY    #######  #   4.699998 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
       2        0   0.3433      (NEWTON)    1.000         15
       3        0   6.7099E-02  (NEWTON)    1.000         15
       4        0   3.6185E-02  (NEWTON)    1.000         15
       5        0   1.8721E-02  (NEWTON)    1.000         15
       6        0   9.5089E-03  (NEWTON)    1.000         15
       7        0   4.7706E-03  (NEWTON)    1.000         15
       8        0   2.3759E-03  (NEWTON)    1.000         15
       9        0   1.1808E-03  (NEWTON)    1.000         15
      10        0   5.8987E-04  (NEWTON)    1.000         15
      11        0   2.9949E-04  (NEWTON)    1.000         15
      12        0   1.5732E-04  (NEWTON)    1.000         15
      13        0   8.7760E-05  (NEWTON)    1.000         15
      14        0   5.3636E-05  (NEWTON)    1.000         15
      15        0   3.6782E-05  (NEWTON)    1.000         15
      16        0   2.8356E-05  (NEWTON)    1.000         15
      17        0   2.4063E-05  (NEWTON)    1.000         15
      18        0   2.1814E-05  (NEWTON)    1.000         15
      19        0   2.0588E-05  (NEWTON)    1.000         15
      20        0   1.9883E-05  (NEWTON)    1.000         15
      21        0   1.9450E-05  (NEWTON)    1.000         15
      23        0   1.8955E-05  (NEWTON)    1.000         15
      26        0   1.8543E-05  (NEWTON)    1.000         15
      30        0   1.8149E-05  (NEWTON)    1.000         15
      35        0   1.7712E-05  (NEWTON)    1.000         15
 Residual = 1.7542E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -2.726E-5 MKMC.1      BX   2.7       1   2.699086 MKMC.1      AY   0         1  -6.199E-5 MKMC.1      BY   4.7       1   4.692842 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.132E-13
B2M.1       BYM  15        1  10.265638 MKS4M.1     BX   6.8732    1   6.134729 MKS4M.1     BY   6.96931   1   5.148947 B1M.1       BYM  15        1  15.040466 MKMS.1      AX   0         1  2.219E-15 MKMS.1      BX   15.5919   1  21.720151
MKMS.1      AY   0         1  7.490E-15 MKMS.1      BY   6.09844   1   3.169424 MKMS.1      EX   0         1  -2.83E-12 MKMS.1      EPX  0         1  8.054E-17 MKLC.1      AX   0         1  2.7260E-5 MKLC.1      AY   0         1  6.1986E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.13E-13 B2L.1       BYM  15        1  10.552782 MKS4L.1     BX   5.44917   1   5.207341 MKS4L.1     BY   9.22563   1   5.175744 B1L.1       BYM  15        1  15.041346
MKLS.1      AX   0         1  9.706E-15 MKLS.1      BX   11.7081   1  20.946803 MKLS.1      AY   0         1  2.941E-14 MKLS.1      BY   11.2495   1   5.187754 MKLS.1      EX   0         1  -1.55E-12 MKLS.1      EPX  0         1  -6.88E-17
$$$       f AX    #######  #  -2.726E-5 $$$       f BX    #######  #   2.699086 $$$       f NX   3.18434   1   3.184351 $$$       f AY    #######  #  -6.199E-5 $$$       f BY    #######  #   4.692842 $$$       f NY   1.11701   1   1.116926
$$$       f LENG  #######  #  49.965581
       6        0   1.7127E-05  (NEWTON)    1.000         15
      11        0   1.6722E-05  (NEWTON)    1.000         15
      16        0   1.6327E-05  (NEWTON)    1.000         15
      21        0   1.5941E-05  (NEWTON)    1.000         15
      26        0   1.5565E-05  (NEWTON)    1.000         15
      31        0   1.5197E-05  (NEWTON)    1.000         15
      36        0   1.4838E-05  (NEWTON)    1.000         15
 Residual = 1.4767E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -2.393E-5 MKMC.1      BX   2.7       1   2.699212 MKMC.1      AY   0         1  -5.700E-5 MKMC.1      BY   4.7       1   4.693423 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  4.973E-15
B2M.1       BYM  15        1  10.266574 MKS4M.1     BX   6.8732    1   6.134431 MKS4M.1     BY   6.96931   1   5.148365 B1M.1       BYM  15        1  15.037163 MKMS.1      AX   0         1  -1.21E-15 MKMS.1      BX   15.5919   1  21.721125
MKMS.1      AY   0         1  1.059E-14 MKMS.1      BY   6.09844   1   3.169986 MKMS.1      EX   0         1  -7.26E-13 MKMS.1      EPX  0         1  -3.32E-17 MKLC.1      AX   0         1  2.3925E-5 MKLC.1      AY   0         1  5.6997E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -4.96E-15 B2L.1       BYM  15        1  10.553557 MKS4L.1     BX   5.44917   1   5.207016 MKS4L.1     BY   9.22563   1   5.175130 B1L.1       BYM  15        1  15.037913
MKLS.1      AX   0         1  1.640E-14 MKLS.1      BX   11.7081   1  20.945801 MKLS.1      AY   0         1  -3.37E-15 MKLS.1      BY   11.2495   1   5.186773 MKLS.1      EX   0         1  -7.28E-13 MKLS.1      EPX  0         1  5.254E-17
$$$       f AX    #######  #  -2.393E-5 $$$       f BX    #######  #   2.699212 $$$       f NX   3.18434   1   3.184347 $$$       f AY    #######  #  -5.700E-5 $$$       f BY    #######  #   4.693423 $$$       f NY   1.11701   1   1.116932
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.62E-13 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.489421 $$$       f AY    #######  #  1.942E-14 $$$       f BY    #######  #   4.699998 $$$       f NY    #######  #    .556075
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.29E-7  -1.6E-25  2.95E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.2211E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              6.468E-10   .000000 5.743E-10
$$$       f AX    #######  #  -1.242E-6 -1.66E-13 -1.357E-6 $$$       f BX    #######  #   2.822431  2.700000  2.582875 $$$       f NX   1.48942   2   1.489435  1.489421  1.489434 $$$       f AY    #######  #  -1.972E-6 3.064E-14 -2.037E-6
$$$       f BY    #######  #   4.715473  4.699998  4.684356 $$$       f NY   .55607    2    .556077   .556075   .556077 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.332095137836703 )
        S4MHA   =(L =.1   K2 =16.905254698534844 )
        S3MHA   =(L =.1   K2 =-12.332095137836703 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  2.443E-15 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.694916 $$$       f AY    #######  #  -3.55E-14 $$$       f BY    #######  #   4.699999 $$$       f NY    #######  #    .560931
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.14E-7  -6.4E-25  1.11E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.0404E-04  (NEWTON)    1.000          2
       3        0   5.1769E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 Residual = 5.1531E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.5974E-6   .000000 2.5557E-6
$$$       f AX    #######  #  -1.638E-8 -3.28E-15 -6.266E-9 $$$       f BX    #######  #   2.439469  2.700000  3.017071 $$$       f NX   1.69492   2   1.695487  1.694916  1.695458 $$$       f AY    #######  #  -1.362E-7 -3.93E-14 -5.274E-8
$$$       f BY    #######  #   5.090746  4.699999  4.279923 $$$       f NY   .56093    2    .561612   .560931   .561626 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.69030144359656 )
        S4LHA   =(L =.1   K2 =25.942071951327005 )
        S3LHA   =(L =.1   K2 =-18.69030144359656 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -5.35E-14 $$$       f BX    #######  #   2.699048 $$$       f NX    #######  #   1.559753 $$$       f AY    #######  #  3.927E-14 $$$       f BY    #######  #   4.692565 $$$       f NY    #######  #    .548091
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.09E-8  -9.4E-28  6.15E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 6.8357E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.929E-11   .000000 4.906E-11
$$$       f AX    #######  #  4.093E-13 -4.65E-14 3.756E-13 $$$       f BX    #######  #   2.683220  2.699048  2.714913 $$$       f NX   1.55975   2   1.559754  1.559753  1.559753 $$$       f AY    #######  #  -7.82E-13 3.475E-14 -7.58E-13
$$$       f BY    #######  #   4.694954  4.692565  4.689767 $$$       f NY   .54809    2    .548093   .548091   .548095 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.143555973874065 )
        S4MH    =(L =.1   K2 =28.770284767379422 )
        S3MH    =(L =.1   K2 =-18.143555973874065 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.35E-14 $$$       f BX    #######  #   2.699277 $$$       f NX    #######  #   1.624594 $$$       f AY    #######  #  -2.34E-14 $$$       f BY    #######  #   4.694002 $$$       f NY    #######  #    .568841
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.25E-7  2.03E-25  3.20E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.0970E-05  (NEWTON)    1.000          2
       3        0   6.9245E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 6.9245E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.6086E-6   .000000 3.3160E-6
$$$       f AX    #######  #  -7.21E-10 -8.79E-15 -4.42E-11 $$$       f BX    #######  #   2.523489  2.699277  2.907485 $$$       f NX   1.62459   2   1.625092  1.624594  1.625019 $$$       f AY    #######  #  -5.187E-9 -4.77E-15 -8.49E-10
$$$       f BY    #######  #   4.859059  4.694002  4.478561 $$$       f NY   .56884    2    .569763   .568841   .569751 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.716362539477753 )
        S4LH    =(L =.1   K2 =35.78157218204796 )
        S3LH    =(L =.1   K2 =-22.716362539477753 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.7650597373   16.7550903903 |   47.7650980853   16.7547957445 |     .8334618626  3.250724240E-5 |     .0256178833     .0792149932 |  -1.21935781E-4  5.557994416E-4  4.069856543E-4    -.0011009322 |    1.0000000000
       2        0   9.4947E-07  (NEWTON)    1.000         15
 Matched. ( 4.5483E-14) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.20E-10 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -6.393E-8 MKMCA.1     BY   4.7       1   4.700000 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  8.810E-12
B2MA.1      BYM  15        1  10.036979 MKS4MA.1    BX   6.05091   1   5.820254 MKS4MA.1    BY   6.68527   1   5.836031 B1MA.1      BYM  15        1  14.705846 MKMSA.1     AX   0         1  9.718E-15 MKMSA.1     BX   2.83638   1   5.704074
MKMSA.1     AY   0         1  -3.23E-15 MKMSA.1     BY   3.73509   1   2.976777 MKMSA.1     EX   0         1  -3.54E-11 MKMSA.1     EPX  0         1  -1.62E-16 MKLCA.1     AX   0         1  3.196E-10 MKLCA.1     AY   0         1  6.3930E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -8.81E-12 B2LA.1      BYM  15        1  10.704507 MKS4LA.1    BX   4.73772   1   5.119245 MKS4LA.1    BY   10.076    1   5.813338 B1LA.1      BYM  15        1  14.917958
MKLSA.1     AX   0         1    .000000 MKLSA.1     BX   3.61131   1   5.372264 MKLSA.1     AY   0         1  -4.69E-15 MKLSA.1     BY   15.5488   1   5.210511 MKLSA.1     EX   0         1  4.660E-11 MKLSA.1     EPX  0         1  1.974E-16
$$$       f AX    #######  #  -3.20E-10 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  -6.393E-8 $$$       f BY    #######  #   4.700000 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
 Matched. ( 4.5483E-14) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.20E-10 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -6.393E-8 MKMCA.1     BY   4.7       1   4.700000 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  8.810E-12
B2MA.1      BYM  15        1  10.036979 MKS4MA.1    BX   6.05091   1   5.820254 MKS4MA.1    BY   6.68527   1   5.836031 B1MA.1      BYM  15        1  14.705846 MKMSA.1     AX   0         1  9.718E-15 MKMSA.1     BX   2.83638   1   5.704074
MKMSA.1     AY   0         1  -3.23E-15 MKMSA.1     BY   3.73509   1   2.976777 MKMSA.1     EX   0         1  -3.54E-11 MKMSA.1     EPX  0         1  -1.62E-16 MKLCA.1     AX   0         1  3.196E-10 MKLCA.1     AY   0         1  6.3930E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -8.81E-12 B2LA.1      BYM  15        1  10.704507 MKS4LA.1    BX   4.73772   1   5.119245 MKS4LA.1    BY   10.076    1   5.813338 B1LA.1      BYM  15        1  14.917958
MKLSA.1     AX   0         1    .000000 MKLSA.1     BX   3.61131   1   5.372264 MKLSA.1     AY   0         1  -4.69E-15 MKLSA.1     BY   15.5488   1   5.210511 MKLSA.1     EX   0         1  4.660E-11 MKLSA.1     EPX  0         1  1.974E-16
$$$       f AX    #######  #  -3.20E-10 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  -6.393E-8 $$$       f BY    #######  #   4.700000 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
       2        0   1.4291E-04  (NEWTON)    1.000         15
       3        0   4.0336E-06  (NEWTON)    1.000         15
       4        0   1.7455E-06  (NEWTON)    1.000         15
       5        0   9.3951E-07  (NEWTON)    1.000         15
       6        0   5.2651E-07  (NEWTON)    1.000         15
       7        0   3.0644E-07  (NEWTON)    1.000         15
       8        0   1.8431E-07  (NEWTON)    1.000         15
       9        0   1.1383E-07  (NEWTON)    1.000         15
      10        0   7.1750E-08  (NEWTON)    1.000         15
      11        0   4.5906E-08  (NEWTON)    1.000         15
 Matched. ( 2.9683E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -9.113E-6 MKMC.1      BX   2.7       1   2.699654 MKMC.1      AY   0         1  6.4959E-7 MKMC.1      BY   4.7       1   4.700036 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.854E-12
B2M.1       BYM  15        1  10.297200 MKS4M.1     BX   6.8732    1   6.163889 MKS4M.1     BY   6.96931   1   5.150940 B1M.1       BYM  15        1  14.954412 MKMS.1      AX   0         1  1.080E-14 MKMS.1      BX   15.5919   1  21.663327
MKMS.1      AY   0         1  6.142E-15 MKMS.1      BY   6.09844   1   3.289927 MKMS.1      EX   0         1  -2.54E-11 MKMS.1      EPX  0         1  -4.52E-17 MKLC.1      AX   0         1  9.1133E-6 MKLC.1      AY   0         1  -6.496E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.85E-12 B2L.1       BYM  15        1  10.596393 MKS4L.1     BX   5.44917   1   5.240496 MKS4L.1     BY   9.22563   1   5.174287 B1L.1       BYM  15        1  14.929880
MKLS.1      AX   0         1  9.125E-15 MKLS.1      BX   11.7081   1  20.893795 MKLS.1      AY   0         1  -6.36E-15 MKLS.1      BY   11.2495   1   5.425963 MKLS.1      EX   0         1  -1.55E-12 MKLS.1      EPX  0         1  8.136E-17
$$$       f AX    #######  #  -9.113E-6 $$$       f BX    #######  #   2.699654 $$$       f NX   3.191     1   3.191021 $$$       f AY    #######  #  6.4959E-7 $$$       f BY    #######  #   4.700036 $$$       f NY   1.10367   1   1.103674
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.9684E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -9.113E-6 MKMC.1      BX   2.7       1   2.699654 MKMC.1      AY   0         1  6.4959E-7 MKMC.1      BY   4.7       1   4.700036 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.854E-12
B2M.1       BYM  15        1  10.297200 MKS4M.1     BX   6.8732    1   6.163889 MKS4M.1     BY   6.96931   1   5.150940 B1M.1       BYM  15        1  14.954412 MKMS.1      AX   0         1  1.080E-14 MKMS.1      BX   15.5919   1  21.663327
MKMS.1      AY   0         1  6.142E-15 MKMS.1      BY   6.09844   1   3.289927 MKMS.1      EX   0         1  -2.54E-11 MKMS.1      EPX  0         1  -4.52E-17 MKLC.1      AX   0         1  9.1133E-6 MKLC.1      AY   0         1  -6.496E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.85E-12 B2L.1       BYM  15        1  10.596393 MKS4L.1     BX   5.44917   1   5.240496 MKS4L.1     BY   9.22563   1   5.174287 B1L.1       BYM  15        1  14.929880
MKLS.1      AX   0         1  9.125E-15 MKLS.1      BX   11.7081   1  20.893795 MKLS.1      AY   0         1  -6.36E-15 MKLS.1      BY   11.2495   1   5.425963 MKLS.1      EX   0         1  -1.55E-12 MKLS.1      EPX  0         1  8.136E-17
$$$       f AX    #######  #  -9.113E-6 $$$       f BX    #######  #   2.699654 $$$       f NX   3.191     1   3.191021 $$$       f AY    #######  #  6.4959E-7 $$$       f BY    #######  #   4.700036 $$$       f NY   1.10367   1   1.103674
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  3.222E-13 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.491631 $$$       f AY    #######  #  2.357E-15 $$$       f BY    #######  #   4.699999 $$$       f NY    #######  #    .547558
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.30E-7  -1.7E-25  2.84E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.9171E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.0287E-9   .000000 8.883E-10
$$$       f AX    #######  #  -1.398E-6 2.743E-13 -1.538E-6 $$$       f BX    #######  #   2.859974  2.700000  2.548963 $$$       f NX   1.49163   2   1.491648  1.491631  1.491647 $$$       f AY    #######  #  -2.183E-6 2.629E-15 -2.262E-6
$$$       f BY    #######  #   4.717695  4.699999  4.682135 $$$       f NY   .54756    2    .547560   .547558   .547560 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.277151334828774 )
        S4MHA   =(L =.1   K2 =16.85440966514612 )
        S3MHA   =(L =.1   K2 =-12.277151334828774 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  6.161E-15 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.699373 $$$       f AY    #######  #  -1.81E-14 $$$       f BY    #######  #   4.700001 $$$       f NY    #######  #    .556115
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.19E-7  -6.4E-25  1.11E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   6.3359E-04  (NEWTON)    1.000          2
       3        0   5.1987E-06  (NEWTON)    1.000          2
       4        0   5.0360E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 5.0360E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.5351E-6   .000000 2.5009E-6
$$$       f AX    #######  #  -1.721E-8 5.906E-15 -6.729E-9 $$$       f BX    #######  #   2.438879  2.700000  3.017644 $$$       f NX   1.69937   2   1.699947  1.699373  1.699918 $$$       f AY    #######  #  -1.573E-7 -3.01E-14 -6.129E-8
$$$       f BY    #######  #   5.129659  4.700001  4.246195 $$$       f NY   .55611    2    .556779   .556115   .556795 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.679674133925364 )
        S4LHA   =(L =.1   K2 =25.960837191210175 )
        S3LHA   =(L =.1   K2 =-18.679674133925364 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -2.06E-14 $$$       f BX    #######  #   2.699595 $$$       f NX    #######  #   1.562667 $$$       f AY    #######  #  4.018E-14 $$$       f BY    #######  #   4.700047 $$$       f NY    #######  #    .542070
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.17E-8  -9.6E-28  6.01E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.2815E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.834E-11   .000000 5.447E-11
$$$       f AX    #######  #  3.623E-13 -2.05E-14 3.945E-13 $$$       f BX    #######  #   2.684109  2.699595  2.715127 $$$       f NX   1.56267   2   1.562668  1.562667  1.562667 $$$       f AY    #######  #  -8.78E-13 4.438E-14 -7.84E-13
$$$       f BY    #######  #   4.701989  4.700047  4.697646 $$$       f NY   .54207    2    .542072   .542070   .542074 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.127924656436708 )
        S4MH    =(L =.1   K2 =28.738568364034588 )
        S3MH    =(L =.1   K2 =-18.127924656436708 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -6.34E-15 $$$       f BX    #######  #   2.699678 $$$       f NX    #######  #   1.628354 $$$       f AY    #######  #  2.951E-14 $$$       f BY    #######  #   4.700028 $$$       f NY    #######  #    .561603
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.26E-7  3.62E-25  3.13E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.2817E-05  (NEWTON)    1.000          2
       3        0   7.0935E-06  (NEWTON)    1.000          2
 Residual = 7.0935E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.7004E-6   .000000 3.3931E-6
$$$       f AX    #######  #  -9.20E-10 -1.09E-14 -6.71E-11 $$$       f BX    #######  #   2.526638  2.699678  2.905315 $$$       f NX   1.62835   2   1.628874  1.628354  1.628798 $$$       f AY    #######  #  -6.902E-9 3.397E-14 -1.220E-9
$$$       f BY    #######  #   4.884643  4.700028  4.464602 $$$       f NY   .5616     2    .562528   .561603   .562517 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.68732755765785 )
        S4LH    =(L =.1   K2 =35.709621800164015 )
        S3LH    =(L =.1   K2 =-22.68732755765785 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.8650597373   16.5550903903 |   47.8651284775   16.5550941702 |     .8317033177  3.237019243E-5 |     .0225581021     .0818322643 |  8.874177271E-5  4.821337164E-4  4.186892543E-4  -8.94681103E-4 |    1.0000000000
 Matched. ( 1.0373E-17) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -6.77E-11 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  9.737E-10 MKMCA.1     BY   4.7       1   4.700000 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -1.56E-12
B2MA.1      BYM  15        1  10.036257 MKS4MA.1    BX   6.05091   1   5.818500 MKS4MA.1    BY   6.68527   1   5.847898 B1MA.1      BYM  15        1  14.756208 MKMSA.1     AX   0         1  -1.35E-14 MKMSA.1     BX   2.83638   1   5.712996
MKMSA.1     AY   0         1  -2.27E-15 MKMSA.1     BY   3.73509   1   2.923147 MKMSA.1     EX   0         1  2.794E-12 MKMSA.1     EPX  0         1  -4.10E-16 MKLCA.1     AX   0         1  6.776E-11 MKLCA.1     AY   0         1  -9.74E-10
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  1.564E-12 B2LA.1      BYM  15        1  10.704643 MKS4LA.1    BX   4.73772   1   5.118082 MKS4LA.1    BY   10.076    1   5.829985 B1LA.1      BYM  15        1  14.986504
MKLSA.1     AX   0         1  2.219E-14 MKLSA.1     BX   3.61131   1   5.365814 MKLSA.1     AY   0         1  1.569E-14 MKLSA.1     BY   15.5488   1   5.061811 MKLSA.1     EX   0         1  -1.35E-11 MKLSA.1     EPX  0         1  4.124E-16
$$$       f AX    #######  #  -6.78E-11 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  9.737E-10 $$$       f BY    #######  #   4.700000 $$$       f NY   1.11034   1   1.110339
$$$       f LENG  #######  #  49.965324
 Matched. ( 1.0373E-17) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -6.77E-11 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  9.737E-10 MKMCA.1     BY   4.7       1   4.700000 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -1.56E-12
B2MA.1      BYM  15        1  10.036257 MKS4MA.1    BX   6.05091   1   5.818500 MKS4MA.1    BY   6.68527   1   5.847898 B1MA.1      BYM  15        1  14.756208 MKMSA.1     AX   0         1  -1.35E-14 MKMSA.1     BX   2.83638   1   5.712996
MKMSA.1     AY   0         1  -2.27E-15 MKMSA.1     BY   3.73509   1   2.923147 MKMSA.1     EX   0         1  2.794E-12 MKMSA.1     EPX  0         1  -4.10E-16 MKLCA.1     AX   0         1  6.776E-11 MKLCA.1     AY   0         1  -9.74E-10
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  1.564E-12 B2LA.1      BYM  15        1  10.704643 MKS4LA.1    BX   4.73772   1   5.118082 MKS4LA.1    BY   10.076    1   5.829985 B1LA.1      BYM  15        1  14.986504
MKLSA.1     AX   0         1  2.219E-14 MKLSA.1     BX   3.61131   1   5.365814 MKLSA.1     AY   0         1  1.569E-14 MKLSA.1     BY   15.5488   1   5.061811 MKLSA.1     EX   0         1  -1.35E-11 MKLSA.1     EPX  0         1  4.124E-16
$$$       f AX    #######  #  -6.78E-11 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  9.737E-10 $$$       f BY    #######  #   4.700000 $$$       f NY   1.11034   1   1.110339
$$$       f LENG  #######  #  49.965324
 Matched. ( 2.4402E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.2437E-7 MKMC.1      BX   2.7       1   2.700031 MKMC.1      AY   0         1  -6.604E-8 MKMC.1      BY   4.7       1   4.699996 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -1.45E-13
B2M.1       BYM  15        1  10.297152 MKS4M.1     BX   6.8732    1   6.163293 MKS4M.1     BY   6.96931   1   5.158031 B1M.1       BYM  15        1  14.986769 MKMS.1      AX   0         1  3.235E-16 MKMS.1      BX   15.5919   1  21.672422
MKMS.1      AY   0         1  7.279E-15 MKMS.1      BY   6.09844   1   3.240716 MKMS.1      EX   0         1  -7.26E-13 MKMS.1      EPX  0         1  8.170E-17 MKLC.1      AX   0         1  -8.244E-7 MKLC.1      AY   0         1  6.6036E-8
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  1.453E-13 B2L.1       BYM  15        1  10.595711 MKS4L.1     BX   5.44917   1   5.238904 MKS4L.1     BY   9.22563   1   5.187377 B1L.1       BYM  15        1  14.992885
MKLS.1      AX   0         1  -6.99E-15 MKLS.1      BX   11.7081   1  20.906112 MKLS.1      AY   0         1  8.941E-15 MKLS.1      BY   11.2495   1   5.260456 MKLS.1      EX   0         1  -3.41E-12 MKLS.1      EPX  0         1  -5.92E-17
$$$       f AX    #######  #  8.2437E-7 $$$       f BX    #######  #   2.700031 $$$       f NX   3.191     1   3.191002 $$$       f AY    #######  #  -6.604E-8 $$$       f BY    #######  #   4.699996 $$$       f NY   1.11034   1   1.110339
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.4402E-10) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.2437E-7 MKMC.1      BX   2.7       1   2.700031 MKMC.1      AY   0         1  -6.604E-8 MKMC.1      BY   4.7       1   4.699996 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -1.45E-13
B2M.1       BYM  15        1  10.297152 MKS4M.1     BX   6.8732    1   6.163293 MKS4M.1     BY   6.96931   1   5.158031 B1M.1       BYM  15        1  14.986769 MKMS.1      AX   0         1  3.235E-16 MKMS.1      BX   15.5919   1  21.672422
MKMS.1      AY   0         1  7.279E-15 MKMS.1      BY   6.09844   1   3.240716 MKMS.1      EX   0         1  -7.26E-13 MKMS.1      EPX  0         1  8.170E-17 MKLC.1      AX   0         1  -8.244E-7 MKLC.1      AY   0         1  6.6036E-8
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  1.453E-13 B2L.1       BYM  15        1  10.595711 MKS4L.1     BX   5.44917   1   5.238904 MKS4L.1     BY   9.22563   1   5.187377 B1L.1       BYM  15        1  14.992885
MKLS.1      AX   0         1  -6.99E-15 MKLS.1      BX   11.7081   1  20.906112 MKLS.1      AY   0         1  8.941E-15 MKLS.1      BY   11.2495   1   5.260456 MKLS.1      EX   0         1  -3.41E-12 MKLS.1      EPX  0         1  -5.92E-17
$$$       f AX    #######  #  8.2437E-7 $$$       f BX    #######  #   2.700031 $$$       f NX   3.191     1   3.191002 $$$       f AY    #######  #  -6.604E-8 $$$       f BY    #######  #   4.699996 $$$       f NY   1.11034   1   1.110339
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  5.331E-13 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.491320 $$$       f AY    #######  #  -9.22E-15 $$$       f BY    #######  #   4.700000 $$$       f NY    #######  #    .550092
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.30E-7  -1.6E-25  2.87E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.7827E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              9.545E-10   .000000 8.282E-10
$$$       f AX    #######  #  -1.380E-6 5.055E-13 -1.515E-6 $$$       f BX    #######  #   2.853361  2.700000  2.554871 $$$       f NX   1.49132   2   1.491336  1.491320  1.491335 $$$       f AY    #######  #  -2.100E-6 -1.26E-14 -2.175E-6
$$$       f BY    #######  #   4.716952  4.700000  4.682879 $$$       f NY   .55009    2    .550095   .550092   .550095 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.294954996885735 )
        S4MHA   =(L =.1   K2 =16.8696971011105 )
        S3MHA   =(L =.1   K2 =-12.294954996885735 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.32E-14 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.699684 $$$       f AY    #######  #  -2.55E-14 $$$       f BY    #######  #   4.700000 $$$       f NY    #######  #    .560247
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.20E-7  -6.4E-25  1.14E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.3544E-04  (NEWTON)    1.000          2
       3        0   5.3381E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            3
 *****qcod---> Overflow & closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 Residual = 5.3074E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.6763E-6   .000000 2.6311E-6
$$$       f AX    #######  #  -1.737E-8 -1.14E-14 -6.801E-9 $$$       f BX    #######  #   2.438819  2.700000  3.017851 $$$       f NX   1.69968   2   1.700263  1.699684  1.700233 $$$       f AY    #######  #  -1.510E-7 4.986E-16 -5.877E-8
$$$       f BY    #######  #   5.095786  4.700000  4.274703 $$$       f NY   .56025    2    .560938   .560247   .560953 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.7222789576885 )
        S4LHA   =(L =.1   K2 =25.99600343548341 )
        S3LHA   =(L =.1   K2 =-18.7222789576885 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.291E-14 $$$       f BX    #######  #   2.700037 $$$       f NX    #######  #   1.562680 $$$       f AY    #######  #  -1.34E-14 $$$       f BY    #######  #   4.699995 $$$       f NY    #######  #    .544238
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.17E-8  -9.6E-28  6.08E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.2373E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.932E-11   .000000 5.305E-11
$$$       f AX    #######  #  4.596E-13 6.307E-15 3.060E-13 $$$       f BX    #######  #   2.684567  2.700037  2.715552 $$$       f NX   1.56268   2   1.562681  1.562680  1.562680 $$$       f AY    #######  #  -8.23E-13 -9.88E-15 -7.61E-13
$$$       f BY    #######  #   4.702029  4.699995  4.697518 $$$       f NY   .54424    2    .544241   .544238   .544242 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.145975848884014 )
        S4MH    =(L =.1   K2 =28.755962939283247 )
        S3MH    =(L =.1   K2 =-18.145975848884014 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.965E-14 $$$       f BX    #######  #   2.700029 $$$       f NX    #######  #   1.628322 $$$       f AY    #######  #  -9.07E-17 $$$       f BY    #######  #   4.699997 $$$       f NY    #######  #    .566101
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.26E-7  2.60E-25  3.19E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.1758E-05  (NEWTON)    1.000          2
       3        0   7.2177E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 7.2177E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.7685E-6   .000000 3.4492E-6
$$$       f AX    #######  #  -9.12E-10 1.666E-14 -6.57E-11 $$$       f BX    #######  #   2.527025  2.700029  2.905684 $$$       f NX   1.62832   2   1.628844  1.628322  1.628768 $$$       f AY    #######  #  -6.543E-9 5.122E-15 -1.152E-9
$$$       f BY    #######  #   4.870665  4.699997  4.477599 $$$       f NY   .5661     2    .567035   .566101   .567022 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.7298746727824 )
        S4LH    =(L =.1   K2 =35.74937027894233 )
        S3LH    =(L =.1   K2 =-22.7298746727824 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.8650597373   16.6550903903 |   47.8650534841   16.6550899959 |     .8317665365  3.237050660E-5 |     .0216197920     .0805422731 |  7.574615842E-5  5.052257701E-4  4.339025812E-4  -8.95257010E-4 |    1.0000000000
       2        0   6.9049E-04  (NEWTON)    1.000         15
       3        0   1.1467E-06  (NEWTON)    1.000         15
       4        0   3.6388E-07  (NEWTON)    1.000         15
 Matched. ( 3.3358E-13) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -6.550E-9 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -2.790E-8 MKMCA.1     BY   4.7       1   4.699997 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -1.11E-12
B2MA.1      BYM  15        1  10.033043 MKS4MA.1    BX   6.05091   1   5.812267 MKS4MA.1    BY   6.68527   1   5.881317 B1MA.1      BYM  15        1  14.901998 MKMSA.1     AX   0         1  -7.08E-15 MKMSA.1     BX   2.83638   1   5.741108
MKMSA.1     AY   0         1  -3.34E-15 MKMSA.1     BY   3.73509   1   2.790815 MKMSA.1     EX   0         1  9.618E-12 MKMSA.1     EPX  0         1  -3.97E-16 MKLCA.1     AX   0         1  6.5498E-9 MKLCA.1     AY   0         1  2.7897E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  1.105E-12 B2LA.1      BYM  15        1  10.703872 MKS4LA.1    BX   4.73772   1   5.117237 MKS4LA.1    BY   10.076    1   5.832725 B1LA.1      BYM  15        1  14.999279
MKLSA.1     AX   0         1  2.450E-14 MKLSA.1     BX   3.61131   1   5.330578 MKLSA.1     AY   0         1  -3.72E-15 MKLSA.1     BY   15.5488   1   5.048803 MKLSA.1     EX   0         1  -7.77E-12 MKLSA.1     EPX  0         1  3.948E-16
$$$       f AX    #######  #  -6.550E-9 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  -2.790E-8 $$$       f BY    #######  #   4.699997 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
 Matched. ( 3.3358E-13) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -6.550E-9 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -2.790E-8 MKMCA.1     BY   4.7       1   4.699997 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -1.11E-12
B2MA.1      BYM  15        1  10.033043 MKS4MA.1    BX   6.05091   1   5.812267 MKS4MA.1    BY   6.68527   1   5.881317 B1MA.1      BYM  15        1  14.901998 MKMSA.1     AX   0         1  -7.08E-15 MKMSA.1     BX   2.83638   1   5.741108
MKMSA.1     AY   0         1  -3.34E-15 MKMSA.1     BY   3.73509   1   2.790815 MKMSA.1     EX   0         1  9.618E-12 MKMSA.1     EPX  0         1  -3.97E-16 MKLCA.1     AX   0         1  6.5498E-9 MKLCA.1     AY   0         1  2.7897E-8
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  1.105E-12 B2LA.1      BYM  15        1  10.703872 MKS4LA.1    BX   4.73772   1   5.117237 MKS4LA.1    BY   10.076    1   5.832725 B1LA.1      BYM  15        1  14.999279
MKLSA.1     AX   0         1  2.450E-14 MKLSA.1     BX   3.61131   1   5.330578 MKLSA.1     AY   0         1  -3.72E-15 MKLSA.1     BY   15.5488   1   5.048803 MKLSA.1     EX   0         1  -7.77E-12 MKLSA.1     EPX  0         1  3.948E-16
$$$       f AX    #######  #  -6.550E-9 $$$       f BX    #######  #   2.700000 $$$       f NX   3.191     1   3.191004 $$$       f AY    #######  #  -2.790E-8 $$$       f BY    #######  #   4.699997 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
       2        0   1.7525E-04  (NEWTON)    1.000         15
       3        0   3.8744E-05  (NEWTON)    1.000         15
       4        0   1.8908E-05  (NEWTON)    1.000         15
       5        0   1.6971E-05  (NEWTON)    1.000         15
       6        0   1.6051E-05  (NEWTON)    1.000         15
       7        0   1.5555E-05  (NEWTON)    1.000         15
       9        0   1.5054E-05  (NEWTON)    1.000         15
      12        0   1.4675E-05  (NEWTON)    1.000         15
      16        0   1.4321E-05  (NEWTON)    1.000         15
      20        0   1.4005E-05  (NEWTON)    1.000         15
      24        0   1.3702E-05  (NEWTON)    1.000         15
      28        0   1.3406E-05  (NEWTON)    1.000         15
      32        0   1.3116E-05  (NEWTON)    1.000         15
      36        0   1.2833E-05  (NEWTON)    1.000         15
 Residual = 1.2763E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -2.633E-5 MKMC.1      BX   2.7       1   2.699258 MKMC.1      AY   0         1  -4.811E-5 MKMC.1      BY   4.7       1   4.693812 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -1.04E-14
B2M.1       BYM  15        1  10.286360 MKS4M.1     BX   6.8732    1   6.163386 MKS4M.1     BY   6.96931   1   5.165824 B1M.1       BYM  15        1  15.035188 MKMS.1      AX   0         1  7.614E-15 MKMS.1      BX   15.5919   1  21.699379
MKMS.1      AY   0         1  7.489E-15 MKMS.1      BY   6.09844   1   3.170495 MKMS.1      EX   0         1  -6.77E-13 MKMS.1      EPX  0         1  -1.47E-16 MKLC.1      AX   0         1  2.6328E-5 MKLC.1      AY   0         1  4.8106E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  1.038E-14 B2L.1       BYM  15        1  10.586003 MKS4L.1     BX   5.44917   1   5.239750 MKS4L.1     BY   9.22563   1   5.194244 B1L.1       BYM  15        1  15.034445
MKLS.1      AX   0         1  2.517E-14 MKLS.1      BX   11.7081   1  20.923181 MKLS.1      AY   0         1  -4.25E-15 MKLS.1      BY   11.2495   1   5.151056 MKLS.1      EX   0         1  -8.87E-13 MKLS.1      EPX  0         1  1.514E-16
$$$       f AX    #######  #  -2.633E-5 $$$       f BX    #######  #   2.699258 $$$       f NX   3.191     1   3.191012 $$$       f AY    #######  #  -4.811E-5 $$$       f BY    #######  #   4.693812 $$$       f NY   1.11701   1   1.116936
$$$       f LENG  #######  #  49.965581
       5        0   1.2488E-05  (NEWTON)    1.000         15
       9        0   1.2218E-05  (NEWTON)    1.000         15
      13        0   1.1954E-05  (NEWTON)    1.000         15
      17        0   1.1696E-05  (NEWTON)    1.000         15
      21        0   1.1443E-05  (NEWTON)    1.000         15
      25        0   1.1196E-05  (NEWTON)    1.000         15
      29        0   1.0954E-05  (NEWTON)    1.000         15
      33        0   1.0718E-05  (NEWTON)    1.000         15
 Residual = 1.0486E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  -2.406E-5 MKMC.1      BX   2.7       1   2.699325 MKMC.1      AY   0         1  -4.334E-5 MKMC.1      BY   4.7       1   4.694390 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -7.41E-15
B2M.1       BYM  15        1  10.287318 MKS4M.1     BX   6.8732    1   6.163192 MKS4M.1     BY   6.96931   1   5.165268 B1M.1       BYM  15        1  15.031924 MKMS.1      AX   0         1  6.462E-16 MKMS.1      BX   15.5919   1  21.700800
MKMS.1      AY   0         1  -7.92E-15 MKMS.1      BY   6.09844   1   3.171020 MKMS.1      EX   0         1  -6.05E-13 MKMS.1      EPX  0         1  -1.44E-16 MKLC.1      AX   0         1  2.4057E-5 MKLC.1      AY   0         1  4.3345E-5
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  7.387E-15 B2L.1       BYM  15        1  10.586811 MKS4L.1     BX   5.44917   1   5.239516 MKS4L.1     BY   9.22563   1   5.193684 B1L.1       BYM  15        1  15.031183
MKLS.1      AX   0         1  1.076E-14 MKLS.1      BX   11.7081   1  20.922656 MKLS.1      AY   0         1  -1.97E-14 MKLS.1      BY   11.2495   1   5.150066 MKLS.1      EX   0         1  -7.69E-13 MKLS.1      EPX  0         1  1.389E-16
$$$       f AX    #######  #  -2.406E-5 $$$       f BX    #######  #   2.699325 $$$       f NX   3.191     1   3.191012 $$$       f AY    #######  #  -4.334E-5 $$$       f BY    #######  #   4.694390 $$$       f NY   1.11701   1   1.116943
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  4.681E-13 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.490298 $$$       f AY    #######  #  4.533E-15 $$$       f BY    #######  #   4.699997 $$$       f NY    #######  #    .556428
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.29E-7  -1.6E-25  2.96E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 1.4331E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              7.625E-10   .000000 6.706E-10
$$$       f AX    #######  #  -1.318E-6 4.477E-13 -1.443E-6 $$$       f BX    #######  #   2.834861  2.700000  2.571546 $$$       f NX   1.4903    2   1.490313  1.490298  1.490312 $$$       f AY    #######  #  -1.936E-6 5.870E-15 -2.001E-6
$$$       f BY    #######  #   4.715377  4.699997  4.684449 $$$       f NY   .55643    2    .556430   .556428   .556430 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.340411540372298 )
        S4MHA   =(L =.1   K2 =16.90995535133092 )
        S3MHA   =(L =.1   K2 =-12.340411540372298 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.71E-14 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.700706 $$$       f AY    #######  #  1.917E-14 $$$       f BY    #######  #   4.699998 $$$       f NY    #######  #    .560578
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.21E-7  -6.4E-25  1.14E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.2077E-04  (NEWTON)    1.000          2
       3        0   5.3965E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 Residual = 5.3692E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.7082E-6   .000000 2.6610E-6
$$$       f AX    #######  #  -1.757E-8 -1.56E-14 -6.913E-9 $$$       f BX    #######  #   2.438624  2.700000  3.018111 $$$       f NX   1.70071   2   1.701287  1.700706  1.701256 $$$       f AY    #######  #  -1.535E-7 2.330E-14 -5.976E-8
$$$       f BY    #######  #   5.093573  4.699998  4.276383 $$$       f NY   .56058    2    .561275   .560578   .561290 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.737229805840514 )
        S4LHA   =(L =.1   K2 =26.01564347752182 )
        S3LHA   =(L =.1   K2 =-18.737229805840514 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -9.96E-14 $$$       f BX    #######  #   2.699169 $$$       f NX    #######  #   1.562605 $$$       f AY    #######  #  2.843E-14 $$$       f BY    #######  #   4.693730 $$$       f NY    #######  #    .547567
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.17E-8  -9.7E-28  6.18E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.1694E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              2.068E-11   .000000 5.101E-11
$$$       f AX    #######  #  3.875E-13 -1.02E-13 3.988E-13 $$$       f BX    #######  #   2.683727  2.699169  2.714655 $$$       f NX   1.5626    2   1.562606  1.562605  1.562605 $$$       f AY    #######  #  -7.77E-13 2.691E-14 -6.97E-13
$$$       f BY    #######  #   4.695895  4.693730  4.691145 $$$       f NY   .54757    2    .547569   .547567   .547571 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.175222420405063 )
        S4MH    =(L =.1   K2 =28.786377614864037 )
        S3MH    =(L =.1   K2 =-18.175222420405063 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.86E-14 $$$       f BX    #######  #   2.699387 $$$       f NX    #######  #   1.628407 $$$       f AY    #######  #  2.974E-14 $$$       f BY    #######  #   4.694827 $$$       f NY    #######  #    .569376
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.26E-7  1.86E-25  3.24E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.1173E-05  (NEWTON)    1.000          2
       3        0   7.3226E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 7.3226E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.8259E-6   .000000 3.4967E-6
$$$       f AX    #######  #  -9.14E-10 -2.10E-14 -6.56E-11 $$$       f BX    #######  #   2.526564  2.699387  2.904923 $$$       f NX   1.62841   2   1.628932  1.628407  1.628855 $$$       f AY    #######  #  -6.352E-9 2.289E-14 -1.118E-9
$$$       f BY    #######  #   4.856721  4.694827  4.480790 $$$       f NY   .56938    2    .570318   .569376   .570304 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.770578329817006 )
        S4LH    =(L =.1   K2 =35.78670334628818 )
        S3LH    =(L =.1   K2 =-22.770578329817006 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.8650597373   16.7550903903 |   47.8650907998   16.7548379504 |     .8322150672  3.238354013E-5 |     .0228009337     .0793077731 |  2.565375972E-5  5.543174096E-4  4.532838134E-4    -.0010343466 |    1.0000000000
       2        0   1.1443E-06  (NEWTON)    1.000         15
 Matched. ( 1.1689E-09) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -9.363E-7 MKMCA.1     BX   2.7       1   2.700001 MKMCA.1     AY   0         1  2.6848E-6 MKMCA.1     BY   4.7       1   4.699854 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.1476E-8
B2MA.1      BYM  15        1  10.042279 MKS4MA.1    BX   6.05091   1   5.825477 MKS4MA.1    BY   6.68527   1   5.838748 B1MA.1      BYM  15        1  14.700395 MKMSA.1     AX   0         1  9.681E-15 MKMSA.1     BX   2.83638   1   5.679404
MKMSA.1     AY   0         1  -1.10E-14 MKMSA.1     BY   3.73509   1   2.990249 MKMSA.1     EX   0         1  -4.484E-8 MKMSA.1     EPX  0         1  6.234E-17 MKLCA.1     AX   0         1  9.3631E-7 MKLCA.1     AY   0         1  -2.685E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.148E-8 B2LA.1      BYM  15        1  10.700846 MKS4LA.1    BX   4.73772   1   5.115484 MKS4LA.1    BY   10.076    1   5.830307 B1LA.1      BYM  15        1  14.998535
MKLSA.1     AX   0         1  -8.77E-15 MKLSA.1     BX   3.61131   1   5.171803 MKLSA.1     AY   0         1  -3.63E-15 MKLSA.1     BY   15.5488   1   5.170226 MKLSA.1     EX   0         1  4.2924E-8 MKLSA.1     EPX  0         1  -3.00E-17
$$$       f AX    #######  #  -9.363E-7 $$$       f BX    #######  #   2.700001 $$$       f NX   3.19767   1   3.197671 $$$       f AY    #######  #  2.6848E-6 $$$       f BY    #######  #   4.699854 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
 Matched. ( 1.1707E-09) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -9.363E-7 MKMCA.1     BX   2.7       1   2.700001 MKMCA.1     AY   0         1  2.6848E-6 MKMCA.1     BY   4.7       1   4.699854 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.1476E-8
B2MA.1      BYM  15        1  10.042279 MKS4MA.1    BX   6.05091   1   5.825477 MKS4MA.1    BY   6.68527   1   5.838748 B1MA.1      BYM  15        1  14.700395 MKMSA.1     AX   0         1  9.681E-15 MKMSA.1     BX   2.83638   1   5.679404
MKMSA.1     AY   0         1  -1.10E-14 MKMSA.1     BY   3.73509   1   2.990249 MKMSA.1     EX   0         1  -4.484E-8 MKMSA.1     EPX  0         1  6.234E-17 MKLCA.1     AX   0         1  9.3631E-7 MKLCA.1     AY   0         1  -2.685E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.148E-8 B2LA.1      BYM  15        1  10.700846 MKS4LA.1    BX   4.73772   1   5.115484 MKS4LA.1    BY   10.076    1   5.830307 B1LA.1      BYM  15        1  14.998535
MKLSA.1     AX   0         1  -8.77E-15 MKLSA.1     BX   3.61131   1   5.171803 MKLSA.1     AY   0         1  -3.63E-15 MKLSA.1     BY   15.5488   1   5.170226 MKLSA.1     EX   0         1  4.2924E-8 MKLSA.1     EPX  0         1  -3.00E-17
$$$       f AX    #######  #  -9.363E-7 $$$       f BX    #######  #   2.700001 $$$       f NX   3.19767   1   3.197671 $$$       f AY    #######  #  2.6848E-6 $$$       f BY    #######  #   4.699854 $$$       f NY   1.10367   1   1.103673
$$$       f LENG  #######  #  49.965324
       2        0   0.3230      (NEWTON)    1.000         15
       3        0   0.2212      (NEWTON)    1.000         15
       4        0   8.0903E-02  (NEWTON)    1.000         15
       5        0   2.9836E-02  (NEWTON)    1.000         15
       6        0   1.1312E-02  (NEWTON)    1.000         15
       7        0   4.3838E-03  (NEWTON)    1.000         15
       8        0   1.7295E-03  (NEWTON)    1.000         15
       9        0   6.9296E-04  (NEWTON)    1.000         15
      10        0   2.8173E-04  (NEWTON)    1.000         15
      11        0   1.1627E-04  (NEWTON)    1.000         15
      12        0   4.8817E-05  (NEWTON)    1.000         15
      13        0   2.0929E-05  (NEWTON)    1.000         15
      14        0   9.2145E-06  (NEWTON)    1.000         15
      15        0   4.1953E-06  (NEWTON)    1.000         15
      16        0   1.9900E-06  (NEWTON)    1.000         15
      17        0   9.8925E-07  (NEWTON)    1.000         15
      18        0   5.1680E-07  (NEWTON)    1.000         15
      19        0   2.8325E-07  (NEWTON)    1.000         15
      20        0   1.6198E-07  (NEWTON)    1.000         15
      21        0   9.5894E-08  (NEWTON)    1.000         15
      22        0   5.8292E-08  (NEWTON)    1.000         15
      23        0   3.6121E-08  (NEWTON)    1.000         15
 Matched. ( 2.2685E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.2960E-6 MKMC.1      BX   2.7       1   2.700305 MKMC.1      AY   0         1  -7.078E-7 MKMC.1      BY   4.7       1   4.699969 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.609E-12
B2M.1       BYM  15        1  10.316463 MKS4M.1     BX   6.8732    1   6.193240 MKS4M.1     BY   6.96931   1   5.165389 B1M.1       BYM  15        1  14.937656 MKMS.1      AX   0         1  -6.97E-15 MKMS.1      BX   15.5919   1  21.636976
MKMS.1      AY   0         1  -6.64E-15 MKMS.1      BY   6.09844   1   3.310958 MKMS.1      EX   0         1  -2.28E-11 MKMS.1      EPX  0         1  7.717E-17 MKLC.1      AX   0         1  -8.296E-6 MKLC.1      AY   0         1  7.0779E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.61E-12 B2L.1       BYM  15        1  10.626973 MKS4L.1     BX   5.44917   1   5.272593 MKS4L.1     BY   9.22563   1   5.194118 B1L.1       BYM  15        1  14.931814
MKLS.1      AX   0         1  -1.62E-14 MKLS.1      BX   11.7081   1  20.875547 MKLS.1      AY   0         1  1.070E-14 MKLS.1      BY   11.2495   1   5.359063 MKLS.1      EX   0         1  -2.23E-12 MKLS.1      EPX  0         1  -7.29E-17
$$$       f AX    #######  #  8.2960E-6 $$$       f BX    #######  #   2.700305 $$$       f NX   3.19767   1   3.197656 $$$       f AY    #######  #  -7.078E-7 $$$       f BY    #######  #   4.699969 $$$       f NY   1.10367   1   1.103672
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.2685E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.2960E-6 MKMC.1      BX   2.7       1   2.700305 MKMC.1      AY   0         1  -7.078E-7 MKMC.1      BY   4.7       1   4.699969 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.609E-12
B2M.1       BYM  15        1  10.316463 MKS4M.1     BX   6.8732    1   6.193240 MKS4M.1     BY   6.96931   1   5.165389 B1M.1       BYM  15        1  14.937656 MKMS.1      AX   0         1  -6.97E-15 MKMS.1      BX   15.5919   1  21.636976
MKMS.1      AY   0         1  -6.64E-15 MKMS.1      BY   6.09844   1   3.310958 MKMS.1      EX   0         1  -2.28E-11 MKMS.1      EPX  0         1  7.717E-17 MKLC.1      AX   0         1  -8.296E-6 MKLC.1      AY   0         1  7.0779E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.61E-12 B2L.1       BYM  15        1  10.626973 MKS4L.1     BX   5.44917   1   5.272593 MKS4L.1     BY   9.22563   1   5.194118 B1L.1       BYM  15        1  14.931814
MKLS.1      AX   0         1  -1.62E-14 MKLS.1      BX   11.7081   1  20.875547 MKLS.1      AY   0         1  1.070E-14 MKLS.1      BY   11.2495   1   5.359063 MKLS.1      EX   0         1  -2.23E-12 MKLS.1      EPX  0         1  -7.29E-17
$$$       f AX    #######  #  8.2960E-6 $$$       f BX    #######  #   2.700305 $$$       f NX   3.19767   1   3.197656 $$$       f AY    #######  #  -7.078E-7 $$$       f BY    #######  #   4.699969 $$$       f NY   1.10367   1   1.103672
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -3.08E-13 $$$       f BX    #######  #   2.700056 $$$       f NX    #######  #   1.492701 $$$       f AY    #######  #  -1.40E-14 $$$       f BY    #######  #   4.699896 $$$       f NY    #######  #    .546776
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.30E-7  -1.7E-25  2.84E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 2.4869E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.3463E-9   .000000 1.1406E-9
$$$       f AX    #######  #  -1.538E-6 -2.98E-13 -1.697E-6 $$$       f BX    #######  #   2.886274  2.700056  2.525844 $$$       f NX   1.4927    2   1.492721  1.492701  1.492719 $$$       f AY    #######  #  -2.173E-6 -1.63E-14 -2.256E-6
$$$       f BY    #######  #   4.717815  4.699896  4.681806 $$$       f NY   .54678    2    .546778   .546776   .546778 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.27740657494347 )
        S4MHA   =(L =.1   K2 =16.851754580174386 )
        S3MHA   =(L =.1   K2 =-12.27740657494347 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -3.28E-16 $$$       f BX    #######  #   2.700002 $$$       f NX    #######  #   1.704970 $$$       f AY    #######  #  1.097E-14 $$$       f BY    #######  #   4.699820 $$$       f NY    #######  #    .556898
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.26E-7  -6.3E-25  1.15E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   5.6219E-04  (NEWTON)    1.000          2
       3        0   5.4101E-06  (NEWTON)    1.000          2
       4        0   5.2919E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 5.2919E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.6662E-6   .000000 2.6257E-6
$$$       f AX    #######  #  -1.812E-8 4.375E-15 -7.286E-9 $$$       f BX    #######  #   2.437573  2.700002  3.019267 $$$       f NX   1.70497   2   1.705552  1.704970  1.705522 $$$       f AY    #######  #  -1.733E-7 -2.61E-15 -6.756E-8
$$$       f BY    #######  #   5.122879  4.699820  4.250556 $$$       f NY   .5569     2    .557584   .556898   .557600 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.734200251145555 )
        S4LHA   =(L =.1   K2 =26.04708823122744 )
        S3LHA   =(L =.1   K2 =-18.734200251145555 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -4.67E-15 $$$       f BX    #######  #   2.700357 $$$       f NX    #######  #   1.565577 $$$       f AY    #######  #  -7.64E-14 $$$       f BY    #######  #   4.699956 $$$       f NY    #######  #    .540694
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.24E-8  -9.9E-28  6.02E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.6835E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.935E-11   .000000 5.749E-11
$$$       f AX    #######  #  3.797E-13 1.823E-15 3.646E-13 $$$       f BX    #######  #   2.685221  2.700357  2.715545 $$$       f NX   1.56558   2   1.565578  1.565577  1.565577 $$$       f AY    #######  #  -9.25E-13 -8.59E-14 -7.99E-13
$$$       f BY    #######  #   4.701574  4.699956  4.697859 $$$       f NY   .54069    2    .540696   .540694   .540698 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.153917888754258 )
        S4MH    =(L =.1   K2 =28.74941476371375 )
        S3MH    =(L =.1   K2 =-18.153917888754258 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  2.337E-14 $$$       f BX    #######  #   2.700285 $$$       f NX    #######  #   1.632079 $$$       f AY    #######  #  3.352E-14 $$$       f BY    #######  #   4.699977 $$$       f NY    #######  #    .562978
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.27E-7  3.23E-25  3.17E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.2673E-05  (NEWTON)    1.000          2
       3        0   7.5167E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 7.5167E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              3.9320E-6   .000000 3.5846E-6
$$$       f AX    #######  #  -1.150E-9 2.340E-14 -9.53E-11 $$$       f BX    #######  #   2.529976  2.700285  2.903520 $$$       f NX   1.63208   2   1.632626  1.632079  1.632547 $$$       f AY    #######  #  -8.270E-9 2.749E-14 -1.561E-9
$$$       f BY    #######  #   4.878164  4.699977  4.468996 $$$       f NY   .56298    2    .563924   .562978   .563911 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.747959078356935 )
        S4LH    =(L =.1   K2 =35.72271832257621 )
        S3LH    =(L =.1   K2 =-22.747959078356935 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.9650597373   16.5550903903 |   47.9650007768   16.5550938730 |     .8308315907  3.225794086E-5 |     .0177806367     .0816030167 |  2.462476253E-4  4.990321622E-4  4.391577564E-4  -8.12436079E-4 |    1.0000000000
       2        0   1.6646E-05  (NEWTON)    1.000         15
 Matched. ( 1.5927E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -1.111E-5 MKMCA.1     BX   2.7       1   2.699931 MKMCA.1     AY   0         1  9.0359E-6 MKMCA.1     BY   4.7       1   4.699834 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -8.609E-9
B2MA.1      BYM  15        1  10.045419 MKS4MA.1    BX   6.05091   1   5.827075 MKS4MA.1    BY   6.68527   1   5.857563 B1MA.1      BYM  15        1  14.767132 MKMSA.1     AX   0         1  -1.57E-15 MKMSA.1     BX   2.83638   1   5.673599
MKMSA.1     AY   0         1  -3.67E-15 MKMSA.1     BY   3.73509   1   2.923501 MKMSA.1     EX   0         1  -5.291E-8 MKMSA.1     EPX  0         1  1.378E-16 MKLCA.1     AX   0         1  1.1111E-5 MKLCA.1     AY   0         1  -9.036E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  8.6088E-9 B2LA.1      BYM  15        1  10.706020 MKS4LA.1    BX   4.73772   1   5.117039 MKS4LA.1    BY   10.076    1   5.832963 B1LA.1      BYM  15        1  15.000107
MKLSA.1     AX   0         1  -9.74E-16 MKLSA.1     BX   3.61131   1   5.204296 MKLSA.1     AY   0         1  -2.66E-15 MKLSA.1     BY   15.5488   1   5.048557 MKLSA.1     EX   0         1  -1.392E-7 MKLSA.1     EPX  0         1  -7.81E-17
$$$       f AX    #######  #  -1.111E-5 $$$       f BX    #######  #   2.699931 $$$       f NX   3.19767   1   3.197672 $$$       f AY    #######  #  9.0359E-6 $$$       f BY    #######  #   4.699834 $$$       f NY   1.11034   1   1.110354
$$$       f LENG  #######  #  49.965324
 Matched. ( 1.5941E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -1.111E-5 MKMCA.1     BX   2.7       1   2.699931 MKMCA.1     AY   0         1  9.0359E-6 MKMCA.1     BY   4.7       1   4.699834 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  -8.609E-9
B2MA.1      BYM  15        1  10.045419 MKS4MA.1    BX   6.05091   1   5.827075 MKS4MA.1    BY   6.68527   1   5.857563 B1MA.1      BYM  15        1  14.767132 MKMSA.1     AX   0         1  -1.57E-15 MKMSA.1     BX   2.83638   1   5.673599
MKMSA.1     AY   0         1  -3.67E-15 MKMSA.1     BY   3.73509   1   2.923501 MKMSA.1     EX   0         1  -5.291E-8 MKMSA.1     EPX  0         1  1.378E-16 MKLCA.1     AX   0         1  1.1111E-5 MKLCA.1     AY   0         1  -9.036E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  8.6088E-9 B2LA.1      BYM  15        1  10.706020 MKS4LA.1    BX   4.73772   1   5.117039 MKS4LA.1    BY   10.076    1   5.832963 B1LA.1      BYM  15        1  15.000107
MKLSA.1     AX   0         1  -9.74E-16 MKLSA.1     BX   3.61131   1   5.204296 MKLSA.1     AY   0         1  -2.66E-15 MKLSA.1     BY   15.5488   1   5.048557 MKLSA.1     EX   0         1  -1.392E-7 MKLSA.1     EPX  0         1  -7.81E-17
$$$       f AX    #######  #  -1.111E-5 $$$       f BX    #######  #   2.699931 $$$       f NX   3.19767   1   3.197672 $$$       f AY    #######  #  9.0359E-6 $$$       f BY    #######  #   4.699834 $$$       f NY   1.11034   1   1.110354
$$$       f LENG  #######  #  49.965324
       2        0   0.3365      (NEWTON)    1.000         15
       3        0   0.2917      (NEWTON)    1.000         15
       4        0   0.1048      (NEWTON)    1.000         15
       5        0   3.8436E-02  (NEWTON)    1.000         15
       6        0   1.4519E-02  (NEWTON)    1.000         15
       7        0   5.6122E-03  (NEWTON)    1.000         15
       8        0   2.2101E-03  (NEWTON)    1.000         15
       9        0   8.8424E-04  (NEWTON)    1.000         15
      10        0   3.5898E-04  (NEWTON)    1.000         15
      11        0   1.4789E-04  (NEWTON)    1.000         15
      12        0   6.1932E-05  (NEWTON)    1.000         15
      13        0   2.6449E-05  (NEWTON)    1.000         15
      14        0   1.1579E-05  (NEWTON)    1.000         15
      15        0   5.2304E-06  (NEWTON)    1.000         15
      16        0   2.4562E-06  (NEWTON)    1.000         15
      17        0   1.2068E-06  (NEWTON)    1.000         15
      18        0   6.2277E-07  (NEWTON)    1.000         15
      19        0   3.3740E-07  (NEWTON)    1.000         15
      20        0   1.9103E-07  (NEWTON)    1.000         15
      21        0   1.1222E-07  (NEWTON)    1.000         15
      22        0   6.7834E-08  (NEWTON)    1.000         15
      23        0   4.1877E-08  (NEWTON)    1.000         15
 Matched. ( 2.6241E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.8559E-6 MKMC.1      BX   2.7       1   2.700327 MKMC.1      AY   0         1  -8.227E-7 MKMC.1      BY   4.7       1   4.699964 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.846E-12
B2M.1       BYM  15        1  10.316552 MKS4M.1     BX   6.8732    1   6.193213 MKS4M.1     BY   6.96931   1   5.172786 B1M.1       BYM  15        1  14.970837 MKMS.1      AX   0         1  -2.83E-15 MKMS.1      BX   15.5919   1  21.649854
MKMS.1      AY   0         1  -5.13E-15 MKMS.1      BY   6.09844   1   3.258021 MKMS.1      EX   0         1  -2.61E-11 MKMS.1      EPX  0         1  3.685E-17 MKLC.1      AX   0         1  -8.856E-6 MKLC.1      AY   0         1  8.2272E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.85E-12 B2L.1       BYM  15        1  10.626534 MKS4L.1     BX   5.44917   1   5.271489 MKS4L.1     BY   9.22563   1   5.207929 B1L.1       BYM  15        1  14.997500
MKLS.1      AX   0         1  -8.32E-15 MKLS.1      BX   11.7081   1  20.889880 MKLS.1      AY   0         1  -2.57E-15 MKLS.1      BY   11.2495   1   5.199849 MKLS.1      EX   0         1  -2.53E-12 MKLS.1      EPX  0         1  1.110E-17
$$$       f AX    #######  #  8.8559E-6 $$$       f BX    #######  #   2.700327 $$$       f NX   3.19767   1   3.197655 $$$       f AY    #######  #  -8.227E-7 $$$       f BY    #######  #   4.699964 $$$       f NY   1.11034   1   1.110338
$$$       f LENG  #######  #  49.965581
 Matched. ( 2.6241E-08) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  8.8559E-6 MKMC.1      BX   2.7       1   2.700327 MKMC.1      AY   0         1  -8.227E-7 MKMC.1      BY   4.7       1   4.699964 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  1.846E-12
B2M.1       BYM  15        1  10.316552 MKS4M.1     BX   6.8732    1   6.193213 MKS4M.1     BY   6.96931   1   5.172786 B1M.1       BYM  15        1  14.970837 MKMS.1      AX   0         1  -2.83E-15 MKMS.1      BX   15.5919   1  21.649854
MKMS.1      AY   0         1  -5.13E-15 MKMS.1      BY   6.09844   1   3.258021 MKMS.1      EX   0         1  -2.61E-11 MKMS.1      EPX  0         1  3.685E-17 MKLC.1      AX   0         1  -8.856E-6 MKLC.1      AY   0         1  8.2272E-7
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  -1.85E-12 B2L.1       BYM  15        1  10.626534 MKS4L.1     BX   5.44917   1   5.271489 MKS4L.1     BY   9.22563   1   5.207929 B1L.1       BYM  15        1  14.997500
MKLS.1      AX   0         1  -8.32E-15 MKLS.1      BX   11.7081   1  20.889880 MKLS.1      AY   0         1  -2.57E-15 MKLS.1      BY   11.2495   1   5.199849 MKLS.1      EX   0         1  -2.53E-12 MKLS.1      EPX  0         1  1.110E-17
$$$       f AX    #######  #  8.8559E-6 $$$       f BX    #######  #   2.700327 $$$       f NX   3.19767   1   3.197655 $$$       f AY    #######  #  -8.227E-7 $$$       f BY    #######  #   4.699964 $$$       f NY   1.11034   1   1.110338
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -1.86E-13 $$$       f BX    #######  #   2.700619 $$$       f NX    #######  #   1.493069 $$$       f AY    #######  #  7.162E-15 $$$       f BY    #######  #   4.699966 $$$       f NY    #######  #    .549814
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.31E-7  -1.7E-25  2.88E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 2.7310E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.4838E-9   .000000 1.2472E-9
$$$       f AX    #######  #  -1.624E-6 -1.89E-13 -1.791E-6 $$$       f BX    #######  #   2.897438  2.700619  2.517162 $$$       f NX   1.49307   2   1.493090  1.493069  1.493088 $$$       f AY    #######  #  -2.048E-6 1.679E-14 -2.126E-6
$$$       f BY    #######  #   4.716961  4.699966  4.682799 $$$       f NY   .54981    2    .549816   .549814   .549816 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.303272129122211 )
        S4MHA   =(L =.1   K2 =16.872166553463032 )
        S3MHA   =(L =.1   K2 =-12.303272129122211 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  5.432E-15 $$$       f BX    #######  #   2.699940 $$$       f NX    #######  #   1.704603 $$$       f AY    #######  #  2.561E-15 $$$       f BY    #######  #   4.699728 $$$       f NY    #######  #    .560540
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.25E-7  -6.4E-25  1.17E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.1492E-04  (NEWTON)    1.000          2
       3        0   5.5580E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 Residual = 5.5316E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.7913E-6   .000000 2.7404E-6
$$$       f AX    #######  #  -1.823E-8 4.995E-15 -7.326E-9 $$$       f BX    #######  #   2.438050  2.699940  3.018758 $$$       f NX   1.7046    2   1.705193  1.704603  1.705161 $$$       f AY    #######  #  -1.651E-7 9.497E-15 -6.446E-8
$$$       f BY    #######  #   5.096175  4.699728  4.272919 $$$       f NY   .56054    2    .561248   .560540   .561262 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.792870678033662 )
        S4LHA   =(L =.1   K2 =26.08741230105427 )
        S3LHA   =(L =.1   K2 =-18.792870678033662 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.137E-14 $$$       f BX    #######  #   2.700382 $$$       f NX    #######  #   1.565591 $$$       f AY    #######  #  -2.22E-14 $$$       f BY    #######  #   4.699950 $$$       f NY    #######  #    .543021
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.24E-8  -9.9E-28  6.08E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.6288E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              2.050E-11   .000000 5.579E-11
$$$       f AX    #######  #  3.760E-13 2.297E-15 4.035E-13 $$$       f BX    #######  #   2.685266  2.700382  2.715550 $$$       f NX   1.56559   2   1.565592  1.565591  1.565591 $$$       f AY    #######  #  -8.64E-13 -1.11E-14 -7.48E-13
$$$       f BY    #######  #   4.701688  4.699950  4.697751 $$$       f NY   .54302    2    .543023   .543021   .543025 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.173343223284178 )
        S4MH    =(L =.1   K2 =28.76812430419013 )
        S3MH    =(L =.1   K2 =-18.173343223284178 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  1.199E-14 $$$       f BX    #######  #   2.700305 $$$       f NX    #######  #   1.632064 $$$       f AY    #######  #  1.979E-14 $$$       f BY    #######  #   4.699973 $$$       f NY    #######  #    .567318
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.27E-7  2.27E-25  3.23E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.1818E-05  (NEWTON)    1.000          2
       3        0   7.6449E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 7.6449E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              4.0022E-6   .000000 3.6427E-6
$$$       f AX    #######  #  -1.142E-9 7.765E-15 -9.37E-11 $$$       f BX    #######  #   2.530073  2.700305  2.903514 $$$       f NX   1.63206   2   1.632613  1.632064  1.632533 $$$       f AY    #######  #  -7.879E-9 3.318E-14 -1.482E-9
$$$       f BY    #######  #   4.865304  4.699973  4.481020 $$$       f NY   .56732    2    .568274   .567318   .568259 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.79043830212434 )
        S4LH    =(L =.1   K2 =35.76234228241189 )
        S3LH    =(L =.1   K2 =-22.79043830212434 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.9650597373   16.6550903903 |   47.9650069262   16.6552420575 |     .8303801809  3.223815231E-5 |     .0171034379     .0804741092 |  2.569728279E-4  5.374984293E-4  4.652648372E-4  -8.05309113E-4 |    1.0000000000
       2        0   9.5584E-04  (NEWTON)    1.000         15
       3        0   2.0431E-06  (NEWTON)    1.000         15
 Matched. ( 8.2340E-11) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.132E-8 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -3.554E-6 MKMCA.1     BY   4.7       1   4.699965 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.474E-10
B2MA.1      BYM  15        1  10.042919 MKS4MA.1    BX   6.05091   1   5.820757 MKS4MA.1    BY   6.68527   1   5.895613 B1MA.1      BYM  15        1  14.930194 MKMSA.1     AX   0         1  9.656E-15 MKMSA.1     BX   2.83638   1   5.701227
MKMSA.1     AY   0         1  8.975E-15 MKMSA.1     BY   3.73509   1   2.777817 MKMSA.1     EX   0         1  -6.81E-10 MKMSA.1     EPX  0         1  3.092E-16 MKLCA.1     AX   0         1  3.1316E-8 MKLCA.1     AY   0         1  3.5540E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.47E-10 B2LA.1      BYM  15        1  10.705533 MKS4LA.1    BX   4.73772   1   5.116213 MKS4LA.1    BY   10.076    1   5.832445 B1LA.1      BYM  15        1  14.999969
MKLSA.1     AX   0         1  -1.32E-14 MKLSA.1     BX   3.61131   1   5.168831 MKLSA.1     AY   0         1  1.835E-14 MKLSA.1     BY   15.5488   1   5.058400 MKLSA.1     EX   0         1  1.696E-10 MKLSA.1     EPX  0         1  -2.90E-16
$$$       f AX    #######  #  -3.132E-8 $$$       f BX    #######  #   2.700000 $$$       f NX   3.19767   1   3.197671 $$$       f AY    #######  #  -3.554E-6 $$$       f BY    #######  #   4.699965 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
 Matched. ( 8.2340E-11) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMCA.1     AX   0         1  -3.132E-8 MKMCA.1     BX   2.7       1   2.700000 MKMCA.1     AY   0         1  -3.554E-6 MKMCA.1     BY   4.7       1   4.699965 MKMCA.1     EX   .03       1    .030000 MKMCA.1     EPX  0         1  1.474E-10
B2MA.1      BYM  15        1  10.042919 MKS4MA.1    BX   6.05091   1   5.820757 MKS4MA.1    BY   6.68527   1   5.895613 B1MA.1      BYM  15        1  14.930194 MKMSA.1     AX   0         1  9.656E-15 MKMSA.1     BX   2.83638   1   5.701227
MKMSA.1     AY   0         1  8.975E-15 MKMSA.1     BY   3.73509   1   2.777817 MKMSA.1     EX   0         1  -6.81E-10 MKMSA.1     EPX  0         1  3.092E-16 MKLCA.1     AX   0         1  3.1316E-8 MKLCA.1     AY   0         1  3.5540E-6
MKLCA.1     EX   .03       1    .030000 MKLCA.1     EPX  0         1  -1.47E-10 B2LA.1      BYM  15        1  10.705533 MKS4LA.1    BX   4.73772   1   5.116213 MKS4LA.1    BY   10.076    1   5.832445 B1LA.1      BYM  15        1  14.999969
MKLSA.1     AX   0         1  -1.32E-14 MKLSA.1     BX   3.61131   1   5.168831 MKLSA.1     AY   0         1  1.835E-14 MKLSA.1     BY   15.5488   1   5.058400 MKLSA.1     EX   0         1  1.696E-10 MKLSA.1     EPX  0         1  -2.90E-16
$$$       f AX    #######  #  -3.132E-8 $$$       f BX    #######  #   2.700000 $$$       f NX   3.19767   1   3.197671 $$$       f AY    #######  #  -3.554E-6 $$$       f BY    #######  #   4.699965 $$$       f NY   1.11701   1   1.117006
$$$       f LENG  #######  #  49.965324
       2        0   0.3798      (NEWTON)    1.000         15
       4        0   0.2151      (NEWTON)   0.4838         15
       6        0   0.1261      (NEWTON)   0.4644         15
       8        0   7.5921E-02  (NEWTON)   0.4447         15
      10        0   4.6849E-02  (NEWTON)   0.4247         15
      12        0   2.9591E-02  (NEWTON)   0.4045         15
      14        0   1.9117E-02  (NEWTON)   0.3841         15
      16        0   1.2624E-02  (NEWTON)   0.3638         15
      18        0   8.5144E-03  (NEWTON)   0.3438         15
      20        0   5.8622E-03  (NEWTON)   0.3241         15
      22        0   4.1175E-03  (NEWTON)   0.3051         15
      24        0   2.9486E-03  (NEWTON)   0.2867         15
      26        0   2.1515E-03  (NEWTON)   0.2690         15
      28        0   1.5986E-03  (NEWTON)   0.2522         15
      30        0   1.2087E-03  (NEWTON)   0.2362         15
      32        0   7.7697E-04  (NEWTON)   0.4165         15
      34        0   6.1712E-04  (NEWTON)   0.1928         15
      35        0   1.3930E-04  (NEWTON)   0.7711         15
      37        0   1.3106E-04  (NEWTON)   6.2500E-02     15
      38        0   9.7354E-05  (NEWTON)   0.2500         15
      40        0   9.3167E-05  (NEWTON)   6.2500E-02     15
      41        0   7.5556E-05  (NEWTON)   0.2500         15
      43        0   7.3274E-05  (NEWTON)   6.2500E-02     15
      44        0   6.3894E-05  (NEWTON)   0.2500         15
      46        0   6.2487E-05  (NEWTON)   6.2500E-02     15
      47        0   5.7366E-05  (NEWTON)   0.2500         15
      50        0   5.3467E-05  (NEWTON)   0.2500         15
      53        0   5.0930E-05  (NEWTON)   0.2500         15
      66        0   4.8650E-05  (NEWTON)   6.2500E-02     15
      69        0   4.7083E-05  (NEWTON)   6.2500E-02     15
      83        0   4.5409E-05  (NEWTON)   0.2500         15
 Residual = 4.5293E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  2.9689E-4 MKMC.1      BX   2.7       1   2.711452 MKMC.1      AY   0         1  -1.278E-4 MKMC.1      BY   4.7       1   4.692363 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -2.98E-11
B2M.1       BYM  15        1  10.299282 MKS4M.1     BX   6.8732    1   6.172890 MKS4M.1     BY   6.96931   1   5.179008 B1M.1       BYM  15        1  15.033215 MKMS.1      AX   0         1  3.228E-15 MKMS.1      BX   15.5919   1  21.585241
MKMS.1      AY   0         1  -7.40E-15 MKMS.1      BY   6.09844   1   3.174035 MKMS.1      EX   0         1  8.733E-11 MKMS.1      EPX  0         1  3.490E-17 MKLC.1      AX   0         1  -2.969E-4 MKLC.1      AY   0         1  1.2784E-4
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  2.978E-11 B2L.1       BYM  15        1  10.607416 MKS4L.1     BX   5.44917   1   5.254743 MKS4L.1     BY   9.22563   1   5.209223 B1L.1       BYM  15        1  15.035574
MKLS.1      AX   0         1  4.237E-15 MKLS.1      BX   11.7081   1  20.805718 MKLS.1      AY   0         1  -1.21E-14 MKLS.1      BY   11.2495   1   5.123036 MKLS.1      EX   0         1  -3.11E-10 MKLS.1      EPX  0         1  -5.46E-17
$$$       f AX    #######  #  2.9689E-4 $$$       f BX    #######  #   2.711452 $$$       f NX   3.19767   1   3.197090 $$$       f AY    #######  #  -1.278E-4 $$$       f BY    #######  #   4.692363 $$$       f NY   1.11701   1   1.116896
$$$       f LENG  #######  #  49.965581
       4        0   4.4347E-05  (NEWTON)   0.2500         15
       7        0   4.3468E-05  (NEWTON)   0.2500         15
      12        0   4.1901E-05  (NEWTON)   6.2500E-02     15
      16        0   4.1030E-05  (NEWTON)   0.2500         15
      21        0   3.9593E-05  (NEWTON)   6.2500E-02     15
      25        0   3.8786E-05  (NEWTON)   0.2500         15
      30        0   3.7451E-05  (NEWTON)   6.2500E-02     15
      34        0   3.6704E-05  (NEWTON)   0.2500         15
      52        0   3.5431E-05  (NEWTON)   6.2500E-02     15
      86        0   3.4168E-05  (NEWTON)   6.2500E-02     15
 Residual = 3.2934E-05  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
MKMC.1      AX   0         1  2.3438E-4 MKMC.1      BX   2.7       1   2.709090 MKMC.1      AY   0         1  -1.103E-4 MKMC.1      BY   4.7       1   4.692755 MKMC.1      EX   .03       1    .030000 MKMC.1      EPX  0         1  -5.77E-13
B2M.1       BYM  15        1  10.300676 MKS4M.1     BX   6.8732    1   6.176816 MKS4M.1     BY   6.96931   1   5.179870 B1M.1       BYM  15        1  15.033026 MKMS.1      AX   0         1  1.219E-14 MKMS.1      BX   15.5919   1  21.603953
MKMS.1      AY   0         1  2.152E-15 MKMS.1      BY   6.09844   1   3.173444 MKMS.1      EX   0         1  5.248E-11 MKMS.1      EPX  0         1  1.787E-17 MKLC.1      AX   0         1  -2.344E-4 MKLC.1      AY   0         1  1.1031E-4
MKLC.1      EX   .03       1    .030000 MKLC.1      EPX  0         1  5.769E-13 B2L.1       BYM  15        1  10.609549 MKS4L.1     BX   5.44917   1   5.258341 MKS4L.1     BY   9.22563   1   5.210055 B1L.1       BYM  15        1  15.034528
MKLS.1      AX   0         1  1.246E-14 MKLS.1      BX   11.7081   1  20.825239 MKLS.1      AY   0         1  -1.59E-14 MKLS.1      BY   11.2495   1   5.121563 MKLS.1      EX   0         1  5.597E-11 MKLS.1      EPX  0         1  -2.87E-17
$$$       f AX    #######  #  2.3438E-4 $$$       f BX    #######  #   2.709090 $$$       f NX   3.19767   1   3.197204 $$$       f AY    #######  #  -1.103E-4 $$$       f BY    #######  #   4.692755 $$$       f NY   1.11701   1   1.116905
$$$       f LENG  #######  #  49.965581
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -6.66E-13 $$$       f BX    #######  #   2.700002 $$$       f NX    #######  #   1.492074 $$$       f AY    #######  #  -1.87E-14 $$$       f BY    #######  #   4.699920 $$$       f NY    #######  #    .556770
$$$       f LENG  #######  #  22.132662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -4.30E-7  -2.30E-7  -1.6E-25  2.98E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545250. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 2.0916E-09) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              1.1261E-9   .000000 9.655E-10
$$$       f AX    #######  #  -1.523E-6 -6.65E-13 -1.674E-6 $$$       f BX    #######  #   2.868825  2.700002  2.541098 $$$       f NX   1.49207   2   1.492093  1.492074  1.492091 $$$       f AY    #######  #  -1.872E-6 -8.86E-15 -1.939E-6
$$$       f BY    #######  #   4.715193  4.699920  4.684476 $$$       f NY   .55677    2    .556772   .556770   .556772 $$$       f LENG  #######  #  22.132662
 ;
 SEXT   S5MHA   =(L =.1   K2 =-12.353991651519323 )
        S4MHA   =(L =.1   K2 =16.91652380918232 )
        S3MHA   =(L =.1   K2 =-12.353991651519323 )
        S2MHA   =(L =.1   K2 =-8.7984769 )
        S1MHA   =(L =.1   K2 =8.7214956 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  8.677E-15 $$$       f BX    #######  #   2.700000 $$$       f NX    #######  #   1.705596 $$$       f AY    #######  #  -3.32E-14 $$$       f BY    #######  #   4.700007 $$$       f NY    #######  #    .560236
$$$       f LENG  #######  #  27.832662
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -3.54E-7  -3.26E-7  -6.4E-25  1.17E-22  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771246. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   3.2693E-04  (NEWTON)    1.000          2
       3        0   5.5795E-06  (NEWTON)    1.000          2
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Overflow & closed orbit not found            1
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Overflow & closed orbit not found            2
 *****qcod---> Closed orbit not found            3
 *****qcod---> Overflow & closed orbit not found            3
 *****qcod---> Closed orbit not found            3
 Residual = 5.5504E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              2.8006E-6   .000000 2.7498E-6
$$$       f AX    #######  #  -1.836E-8 1.363E-14 -7.413E-9 $$$       f BX    #######  #   2.437863  2.700000  3.019120 $$$       f NX   1.7056    2   1.706187  1.705596  1.706155 $$$       f AY    #######  #  -1.686E-7 -2.28E-14 -6.584E-8
$$$       f BY    #######  #   5.099287  4.700007  4.270607 $$$       f NY   .56024    2    .560945   .560236   .560960 $$$       f LENG  #######  #  27.832662
 ;
 SEXT   S5LHA   =(L =.1   K2 =-18.802453484188078 )
        S4LHA   =(L =.1   K2 =26.103802601415964 )
        S3LHA   =(L =.1   K2 =-18.802453484188078 )
        S2LHA   =(L =.1   K2 =-3.5062268 )
        S1LHA   =(L =.1   K2 =2.0882064 )
 ;
 Matched. (  0.000    ) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  3.100E-14 $$$       f BX    #######  #   2.710552 $$$       f NX    #######  #   1.565251 $$$       f AY    #######  #  6.614E-14 $$$       f BY    #######  #   4.691058 $$$       f NY    #######  #    .547107
$$$       f LENG  #######  #  22.132757
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -9.23E-8  -9.9E-28  6.19E-24  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 13545192. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

 Matched. ( 7.4884E-11) DP = 0.00100  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.001000   .000000   .001000
            Res.              2.203E-11   .000000 5.286E-11
$$$       f AX    #######  #  3.911E-13 2.835E-14 3.979E-13 $$$       f BX    #######  #   2.695335  2.710552  2.725820 $$$       f NX   1.56525   2   1.565252  1.565251  1.565251 $$$       f AY    #######  #  -7.29E-13 6.771E-14 -7.11E-13
$$$       f BY    #######  #   4.693022  4.691058  4.688663 $$$       f NY   .54711    2    .547110   .547107   .547111 $$$       f LENG  #######  #  22.132757
 ;
 SEXT   S5MH    =(L =.1   K2 =-18.197995667489042 )
        S4MH    =(L =.1   K2 =28.791898391629555 )
        S3MH    =(L =.1   K2 =-18.197995667489042 )
        S2MH    =(L =.1   K2 =-5.3856367 )
        S1MH    =(L =.1   K2 =4.1831437 )
 ;
 Matched. (  0.000    ) DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
$$$       f AX    #######  #  -2.17E-14 $$$       f BX    #######  #   2.708509 $$$       f NX    #######  #   1.631953 $$$       f AY    #######  #  2.732E-14 $$$       f BY    #######  #   4.693859 $$$       f NY    #######  #    .569798
$$$       f LENG  #######  #  27.832823
 ???-Emittance[]-closed orbit not found.

    Closed orbit:
                  x     px/p0         y     py/p0         z     dp/p0 
  Entrance :  -2.39E-7  -1.27E-7  1.74E-25  3.27E-23  1.00E100   .000000
      Exit :  100000.0  1.000E-5  100000.0  1.000E-5  -1.0E100  -.999990

    Extended Twiss Parameters
AX:  .000000 BX: 1.000000                            ZX:  .000000  EX:  .000000
           PSIX:  .000000                           ZPX:  .000000 EPX:  .000000
R1:  .000000 R2:  .000000 AY:  .000000 BY: 1.000000  ZY:  .000000  EY:  .000000
R3:  .000000 R4:  .000000            PSIY:  .000000 ZPY:  .000000 EPY:  .000000
                                                     AZ:  .000000  BZ: 1.000000
                                                                 PSIZ:  .000000
    Units: B(X,Y,Z), E(X,Y), R2: m | PSI(X,Y,Z): radian | ZP(X,Y), R3: 1/m

Design momentum      P0 = 5.0000000 GeV Revolution freq.     f0 = 10771183. Hz 
Energy loss per turn U0 =       NaN MV  Effective voltage    Vc =  .0000000 MV 
Equilibrium position dz =       NaN mm  Momentum compact. alpha =       NaN
Orbit dilation       dl =  .0000000 mm  Effective harmonic #  h =  .0000000
Bucket height     dV/P0 =  .0000000     Synchrotron frequency   =       NaN Hz 

  Imag.tune:       NaN                 NaN                 NaN
  Real tune:       NaN                 NaN                 NaN

    Damping per one revolution:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping time (sec):
          X :           NaN   Y :           NaN   Z :           NaN
    Tune shift due to radiation:
          X :           NaN   Y :           NaN   Z :           NaN
    Damping partition number:
          X :    0.0000       Y :    0.0000       Z :       NaN

Emittance X            =        NaN m   Emittance Y            =        NaN m
Emittance Z            =        NaN m   Energy spread          =        NaN
Bunch Length           =        NaN mm  Beam tilt              =  .00000000 rad
Beam size xi           =        NaN mm  Beam size eta          =        NaN mm
Nominal spin tune      = 11.3469136     Polarization time      =   .0000000 min

       2        0   1.1385E-05  (NEWTON)    1.000          2
       3        0   7.6819E-06  (NEWTON)    1.000          2
 *****qcod---> Closed orbit not found            1
 *****qcod---> Closed orbit not found            1
 Residual = 7.6819E-06  DP = 0.01000  DP0 = 0.00000  ExponentOfResidual = 2.0  OffMomentumWeight =   1.000  CALEXP  
            DP                 -.010000   .000000   .010000
            Res.              4.0228E-6   .000000 3.6591E-6
$$$       f AX    #######  #  -1.122E-9 -2.67E-14 -9.12E-11 $$$       f BX    #######  #   2.537372  2.708509  2.912767 $$$       f NX   1.63195   2   1.632502  1.631953  1.632422 $$$       f AY    #######  #  -7.587E-9 3.157E-14 -1.420E-9
$$$       f BY    #######  #   4.852972  4.693859  4.481164 $$$       f NY   .5698     2    .570758   .569798   .570742 $$$       f LENG  #######  #  27.832823
 ;
 SEXT   S5LH    =(L =.1   K2 =-22.80739547460691 )
        S4LH    =(L =.1   K2 =35.77635656245163 )
        S3LH    =(L =.1   K2 =-22.80739547460691 )
        S2LH    =(L =.1   K2 =-1.8547 )
        S1LH    =(L =.1   K2 =2.2786354 )
 ;
  47.9650597373   16.7550903903 |   47.9631974185   16.7546880804 |     .8315254057  3.227151234E-5 |     .0013358474     .0788802998 |  2.087338848E-4  5.873212895E-4  5.015921319E-4  -9.47221541E-4 |    1.0000000000
 stop;
 FFS                  end:  CPU time =     3.327 sec
stop;
  *** dostop *** Good Bye! ercode =            0
