raise Error('The casa commands log is not executable!')

# This file contains CASA commands run by the pipeline. Although all commands
# required to calibrate the data are included here, this file cannot be
# executed, nor does it contain heuristic and flagging calculations performed
# by pipeline code. This file is useful to understand which CASA commands are
# being run by each pipeline task. If one wishes to re-run the pipeline, one
# should use the pipeline script linked on the front page or By Task page of
# the weblog. Some stages may not have any commands listed here, e.g.
# hifa_importdata if conversion from ASDM to MS is not required.

# hifv_importdata(vis=['TSKY0001.sb32513487.eb32527959.57611.25701277777.ms'], session=['session_1'], nocopy=True)
#
# If required, ASDMs are converted to MeasurementSets.
#

# hif_editimlist(parameter_file='parameter.list')
#
# No comment registered for hif_editimlist
#

# hif_transformimagedata(modify_weights=False, datacolumn='corrected', clear_pointing=True)
#
# No comment registered for hif_transformimagedata
#
mstransform(vis='TSKY0001.sb32513487.eb32527959.57611.25701277777.ms',
            outputvis='TSKY0001.sb32513487.eb32527959.57611.25701277777_split.ms',
            field='9674,9675,9676,9677,9670,9671,9672,9673,9678,9679,8866,8867,8864,8865,8862,8863,8860,8861,9285,9284,9286,9281,9280,8868,8869,8608,8609,8602,8603,8600,8601,8606,8607,8604,8605,10628,9258,9259,9256,9257,10629,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,10635,10634,10633,10632,10631,10630,8462,8463,8460,8461,8466,8467,8464,8465,8468,9282,8192,8193,8190,8191,8196,8197,8194,8195,8198,8199,10240,10241,9021,9020,9023,9022,10093,10092,10091,10090,10097,10096,10095,10094,10098,10621,10622,10623,10068,10069,10624,9832,9833,9830,9831,9834,9835,9689,9688,9681,9680,9683,9682,9685,9684,9687,9686,10625,9667,9666,9665,9664,9663,9662,9669,9668,8871,8870,8873,8872,8875,8874,8877,8876,8879,8878,10627,9014,10232,10231,9017,9010,9011,9012,9013,10239,10238,9018,9019,8208,8209,8206,8207,8204,8205,8202,8203,8200,8201,8615,8614,8617,9403,9402,9401,9400,9407,8610,9405,8599,8596,8611,8594,8595,8592,8593,8590,8591,8598,8612,10620,8597,8475,8474,8471,8470,8473,8472,9408,8189,8188,8185,8184,8187,8186,8183,8182,10626,10499,10498,10497,10496,10495,10494,10493,10492,10491,10490,10475,10474,10477,10476,10479,10478,10088,10089,10084,10085,10086,10087,10080,10081,10082,10083,9270,9271,9272,9273,9274,9275,9276,9277,9278,9279,9825,9824,9827,9826,9821,9820,9823,9822,9829,9828,10617,10619,10618,8444,8445,8446,8447,8448,8449,8880,9007,9006,9005,9004,10228,9002,9001,9000,10224,10225,10226,10227,10220,10221,9009,9008,9399,9003,10229,8211,8210,8213,8212,10222,10223,10646,10647,10644,10645,10642,10643,10640,10641,9406,8589,8588,8587,9404,9818,9819,9814,9815,9816,9817,9810,9811,9812,9813,10488,10489,10480,10481,10482,10483,10484,10485,10486,10487,10639,10638,10637,10636,10501,10500,10503,10502,10504,9409,8859,8858,8853,8852,8851,8850,8857,8856,8855,8854,10215,10214,10217,10216,10211,10213,10212,10219,10218,9263,9262,9261,9260,9267,9266,9265,9264,9269,9268,8469,9283,8457,8456,8455,8454,8453,8452,8451,8450,8459,8458,8616,10233,9015,9016,10230,8993,10237,10236,10235,10234,9429,9428,8613,9421,9420,9423,9422,9425,9424,9427,9426,10071,10070,10073,10072,10075,10074,10077,10076,10079,10078,8998,8999,9809,9808,9807,9806,9805,8996,8997,8994,8995,9692,9690,9691',
            spw='10,11,12,13,14,15,16,17,2,3,4,5,6,7,8,9',
            datacolumn='corrected', chanbin=1, timebin='0s', reindex=False)

# hif_makeimages(hm_masking='none', hm_cleaning='manual')
#
# A list of target sources is cleaned.
#
rmtree(path='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1*.iter*',
       ignore_errors=True)
tclean(vis=['TSKY0001.sb32513487.eb32527959.57611.25701277777_split.ms'],
       field='8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8993,8994,8995,8996,8997,8998,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,9022,9023,9256,9257,9258,9259,9260,9261,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,9286,9399,9400,9401,9402,9403,9404,9405,9406,9407,9408,9409,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,9422,9423,9424,9425,9426,9427,9428,9429,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,9673,9674,9675,9676,9677,9678,9679,9680,9681,9682,9683,9684,9685,9686,9687,9688,9689,9690,9691,9692,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,10235,10236,10237,10238,10239,10240,10241,10474,10475,10476,10477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,10628,10629,10630,10631,10632,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647',
       spw=['2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17'],
       antenna=['0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25'],
       scan=['136,139,142,145,148,151,155,158,161,164,167,170,174'],
       intent='OBSERVE_TARGET#UNSPECIFIED', datacolumn='data',
       imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0',
       imsize=[7290, 7290], cell='1.0arcsec', phasecenter='J2000 01:35:47.538
       +11.42.36.0000', stokes='I', specmode='mfs', reffreq='3.0GHz', nchan=-1,
       outframe='LSRK', gridder='mosaic', chanchunks=-1, usepointing=False,
       mosweight=False, conjbeams=False, pblimit=0.2, deconvolver='mtmfs',
       scales=[0], nterms=2, restoration=False, restoringbeam='common',
       pbcor=False, weighting='briggs', robust=1.0, niter=0, threshold='0.0mJy',
       cycleniter=500, cyclefactor=2.0, interactive=0, savemodel='none',
       parallel=False)
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.model.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.model.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.model.tt1',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.model.tt1')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.pb.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.psf.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.psf.tt1',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt1')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.psf.tt2',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt2')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.residual.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.residual.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.residual.tt1',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.residual.tt1')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.sumwt.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.sumwt.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.sumwt.tt1',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.sumwt.tt1')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.sumwt.tt2',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.sumwt.tt2')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.weight.tt0',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.weight.tt0')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.weight.tt1',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.weight.tt1')
copytree(src='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter0.weight.tt2',
         dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.weight.tt2')
tclean(vis=['TSKY0001.sb32513487.eb32527959.57611.25701277777_split.ms'],
       field='8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8993,8994,8995,8996,8997,8998,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,9022,9023,9256,9257,9258,9259,9260,9261,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,9286,9399,9400,9401,9402,9403,9404,9405,9406,9407,9408,9409,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,9422,9423,9424,9425,9426,9427,9428,9429,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,9673,9674,9675,9676,9677,9678,9679,9680,9681,9682,9683,9684,9685,9686,9687,9688,9689,9690,9691,9692,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,10235,10236,10237,10238,10239,10240,10241,10474,10475,10476,10477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,10628,10629,10630,10631,10632,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647',
       spw=['2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17'],
       antenna=['0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25'],
       scan=['136,139,142,145,148,151,155,158,161,164,167,170,174'],
       intent='OBSERVE_TARGET#UNSPECIFIED', datacolumn='data',
       imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1',
       imsize=[7290, 7290], cell='1.0arcsec', phasecenter='J2000 01:35:47.538
       +11.42.36.0000', stokes='I', specmode='mfs', reffreq='3.0GHz', nchan=-1,
       outframe='LSRK', gridder='mosaic', chanchunks=-1, usepointing=False,
       mosweight=False, conjbeams=False, pblimit=0.2, deconvolver='mtmfs',
       scales=[0], nterms=2, restoration=True, restoringbeam='common',
       pbcor=False, weighting='briggs', robust=1.0, niter=20000,
       threshold=0.00054287428568241007, cycleniter=500, cyclefactor=2.0,
       interactive=0, restart=True, savemodel='none', calcres=False,
       calcpsf=False, parallel=False)
move(src='summaryplot_1.png',
     dst='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.summaryplot.png')

# hifv_pbcor(pipelinemode="automatic")
#
# No comment registered for hifv_pbcor
#
impbcor(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.tt0',
        pbimage='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0',
        outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0',
        mode='divide', cutoff=-1.0, stretch=False)
impbcor(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.residual.tt0',
        pbimage='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0',
        outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.residual.pbcor.tt0',
        mode='divide', cutoff=-1.0, stretch=False)

# hif_makermsimages(pipelinemode="automatic")
#
# No comment registered for hif_makermsimages
#
imdev(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0',
      outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0.rms',
      overwrite=True, stretch=False, grid=[10, 10], anchor='ref',
      xlength='60arcsec', ylength='60arcsec', interp='cubic', stattype='xmadm',
      statalg='chauvenet', zscore=-1, maxiter=-1)

# hif_makecutoutimages(pipelinemode="automatic")
#
# No comment registered for hif_makecutoutimages
#
imhead(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0')
imsubimage(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0',
           outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0.subim',
           box='1785.0,1785.0,5506.0,5506.0')
imhead(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0.rms')
imsubimage(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0.rms',
           outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.pbcor.tt0.rms.subim',
           box='1785.0,1785.0,5506.0,5506.0')
imhead(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt0')
imsubimage(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt0',
           outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.psf.tt0.subim',
           box='1785.0,1785.0,5506.0,5506.0')
imhead(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.residual.pbcor.tt0')
imsubimage(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.residual.pbcor.tt0',
           outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.image.residual.pbcor.tt0.subim',
           box='1785.0,1785.0,5506.0,5506.0')
imhead(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0')
imsubimage(imagename='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0',
           outfile='Pilot.ql.SGC3C_1.J013547+114236.10.2048.v1.I.iter1.pb.tt0.subim',
           box='1785.0,1785.0,5506.0,5506.0')

# hifv_exportvlassdata(pipelinemode="automatic")
#
# No comment registered for hifv_exportvlassdata
#